Class ODataReadEntityIntegrationTest
- 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.ODataReadEntityIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ODataReadEntityIntegrationTest extends ServicelayerTransactionalTest
-
-
Field Summary
-
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 ODataReadEntityIntegrationTest()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
cleanup
public void cleanup()
-
testGetEntity_shouldReturnProduct_whenExists
public void testGetEntity_shouldReturnProduct_whenExists()
-
testGetEntity_withNavigationSegment_shouldReturnCatalogVersion_whenExists
public void testGetEntity_withNavigationSegment_shouldReturnCatalogVersion_whenExists()
-
testGetEntity_withNavigationSegment_shouldReturnError_whenPropertyDoesNotExist
public void testGetEntity_withNavigationSegment_shouldReturnError_whenPropertyDoesNotExist()
-
testGetEntity_shouldReturnCategory_whenExists
public void testGetEntity_shouldReturnCategory_whenExists()
-
testGetEntity_shouldReturnTrigger_whenExistsAndHasOnlyNavigationPropertyKey
public void testGetEntity_shouldReturnTrigger_whenExistsAndHasOnlyNavigationPropertyKey()
-
testGetEntity_shouldReturnProduct_WhenHasTwoNavigationPropertyKey
public void testGetEntity_shouldReturnProduct_WhenHasTwoNavigationPropertyKey()
-
testGetEntity_shouldReturnInvalidKey
public void testGetEntity_shouldReturnInvalidKey()
-
testGetEntity_shouldReturnInvalidKey_whenKeyMalformed
public void testGetEntity_shouldReturnInvalidKey_whenKeyMalformed()
-
testGetEntity_returnsContentWhenSearchingByParentType
public void testGetEntity_returnsContentWhenSearchingByParentType() throws ImpExException- Throws:
ImpExException
-
testGetEntity_shouldReturnInvalidKey_whenKeyEmpty
public void testGetEntity_shouldReturnInvalidKey_whenKeyEmpty()
-
testGetEntity_shouldReturnInvalidKey_whenMoreThenOneKey
public void testGetEntity_shouldReturnInvalidKey_whenMoreThenOneKey()
-
testGetEntity_shouldNotFound_whenIntegrationObjectNotExists
public void testGetEntity_shouldNotFound_whenIntegrationObjectNotExists()
-
testRoundTripForProduct
public void testRoundTripForProduct() throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
testRoundTripForItemWithEnumTypeAttribute
public void testRoundTripForItemWithEnumTypeAttribute() throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
testInvalidEnumTypeValueThrowsError
public void testInvalidEnumTypeValueThrowsError()
-
testGetEntityWithAllPossiblePrimitiveAttributeTypes
public void testGetEntityWithAllPossiblePrimitiveAttributeTypes() throws ImpExException, java.text.ParseException- Throws:
ImpExExceptionjava.text.ParseException
-
-