Class DefaultModelServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.internal.model.impl.DefaultModelServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidshouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay()voidvoidvoidvoidPLA-7495voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultModelServiceIntegrationTest
public DefaultModelServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testSaveAllInTx
@Transactional public void testSaveAllInTx() throws JaloInvalidParameterException, JaloSecurityException -
testSaveAll
-
testPLA7495InTx
-
testPLA7495
public void testPLA7495()PLA-7495 -
testPLA7495NoSearchableUIDInTx
-
testPLA7495NoSearchableUID
public void testPLA7495NoSearchableUID() -
testUniqueKeyInterceptor
public void testUniqueKeyInterceptor() -
testCurrencyCreateParamsInTx
@Transactional public void testCurrencyCreateParamsInTx() throws JaloGenericCreationException, JaloAbstractTypeException -
testCurrencyCreateParams
public void testCurrencyCreateParams() throws JaloGenericCreationException, JaloAbstractTypeException -
testSetAttributeValuesTestInTx
-
testSetAttributeValuesTest
public void testSetAttributeValuesTest() -
testSetAttributeLocalizedWithSessionLangInTx
-
testSetAttributeLocalizedWithSessionLang
public void testSetAttributeLocalizedWithSessionLang() -
testSetAttributeLocalizedWithoutSessionLangInTx
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldReturnLocalizedValueForAttributeInGenericWay
- Throws:
Exception
-
shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception- Throws:
Exception
-
shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay
public void shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay() throws Exception- Throws:
Exception
-
mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable
public void mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable() throws Exception- Throws:
Exception
-
shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained
public void shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception- Throws:
Exception
-
shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception- Throws:
Exception
-
shouldSetLocalizedValueForAttributeInGenericWay
- Throws:
Exception
-
testSetAttributeLocalizedWithoutSessionLang
public void testSetAttributeLocalizedWithoutSessionLang() -
testSetAttributeNonWritableInTx
-
testSetAttributeNonWritable
public void testSetAttributeNonWritable() -
testLockPK
public void testLockPK()
-