Class ODataPersistenceFacadeIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.odata2webservices.odata.ODataPersistenceFacadeIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ODataPersistenceFacadeIntegrationTest extends ServicelayerTransactionalTest
Tests for entity persistence feature scenarios.
-
-
Field Summary
Fields Modifier and Type Field Description InboundMonitoringRuleinboundMonitoring-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ODataPersistenceFacadeIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidsetUp()voidtestCyclicReferencePersistence()voidtestInsertPrimitiveTypeNotPossible()voidtestPersistEntity()voidtestPersistEntityWhenAcceptLanguageIsDifferentFromContentLanguage()voidtestPersistEntityWhithContentLanguageOnly()voidtestPersistEntityWithAcceptLanguageOnly()voidtestPersistEntityWithAllPossiblePrimitiveAttributeTypes()voidtestPersistEntityWithIntegrationKey()voidtestPersistEntityWithInvalidNavProperty()voidtestUnsupportedAcceptLanguageHeaderValuePreventsPersistence()voidtestUnsupportedContentLanguageHeaderValuePreventsPersistence()voidtestUpdateEntity()voidtestUpdateEntityWithIntegrationKey()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
inboundMonitoring
public InboundMonitoringRule inboundMonitoring
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
cleanup
public void cleanup()
-
testPersistEntityWithInvalidNavProperty
public void testPersistEntityWithInvalidNavProperty()
-
testPersistEntity
public void testPersistEntity()
-
testPersistEntityWithIntegrationKey
public void testPersistEntityWithIntegrationKey()
-
testUpdateEntity
public void testUpdateEntity() throws ImpExException- Throws:
ImpExException
-
testUpdateEntityWithIntegrationKey
public void testUpdateEntityWithIntegrationKey() throws ImpExException- Throws:
ImpExException
-
testInsertPrimitiveTypeNotPossible
public void testInsertPrimitiveTypeNotPossible() throws ImpExException- Throws:
ImpExException
-
testPersistEntityWhenAcceptLanguageIsDifferentFromContentLanguage
public void testPersistEntityWhenAcceptLanguageIsDifferentFromContentLanguage() throws ImpExException- Throws:
ImpExException
-
testPersistEntityWhithContentLanguageOnly
public void testPersistEntityWhithContentLanguageOnly() throws ImpExException- Throws:
ImpExException
-
testPersistEntityWithAcceptLanguageOnly
public void testPersistEntityWithAcceptLanguageOnly() throws ImpExException- Throws:
ImpExException
-
testUnsupportedContentLanguageHeaderValuePreventsPersistence
public void testUnsupportedContentLanguageHeaderValuePreventsPersistence()
-
testUnsupportedAcceptLanguageHeaderValuePreventsPersistence
public void testUnsupportedAcceptLanguageHeaderValuePreventsPersistence()
-
testCyclicReferencePersistence
public void testCyclicReferencePersistence() throws ImpExException- Throws:
ImpExException
-
testPersistEntityWithAllPossiblePrimitiveAttributeTypes
public void testPersistEntityWithAllPossiblePrimitiveAttributeTypes() throws ImpExException- Throws:
ImpExException
-
-