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
@IntegrationTest public class DefaultModelServiceIntegrationTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultModelServiceIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, 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
-
testSaveAllInTx
@Transactional public void testSaveAllInTx() throws JaloInvalidParameterException, JaloSecurityException
-
testSaveAll
public void testSaveAll() throws JaloInvalidParameterException, JaloSecurityException
-
testPLA7495InTx
@Transactional public void testPLA7495InTx()
-
testPLA7495
public void testPLA7495()
PLA-7495
-
testPLA7495NoSearchableUIDInTx
@Transactional public void 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
@Transactional public void testSetAttributeValuesTestInTx()
-
testSetAttributeValuesTest
public void testSetAttributeValuesTest()
-
testSetAttributeLocalizedWithSessionLangInTx
@Transactional public void testSetAttributeLocalizedWithSessionLangInTx()
-
testSetAttributeLocalizedWithSessionLang
public void testSetAttributeLocalizedWithSessionLang()
-
testSetAttributeLocalizedWithoutSessionLangInTx
@Transactional public void testSetAttributeLocalizedWithoutSessionLangInTx()
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnLocalizedValueForAttributeInGenericWay
public void shouldReturnLocalizedValueForAttributeInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay
public void shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay
public void shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable
public void mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained
public void shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay
public void shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldSetLocalizedValueForAttributeInGenericWay
public void shouldSetLocalizedValueForAttributeInGenericWay() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSetAttributeLocalizedWithoutSessionLang
public void testSetAttributeLocalizedWithoutSessionLang()
-
testSetAttributeNonWritableInTx
@Transactional public void testSetAttributeNonWritableInTx()
-
testSetAttributeNonWritable
public void testSetAttributeNonWritable()
-
testLockPK
public void testLockPK()
-
-