Package de.hybris.platform.persistence
Class InitialAttributePersistenceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.persistence.InitialAttributePersistenceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class InitialAttributePersistenceTest extends HybrisJUnit4TransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_NAME-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description InitialAttributePersistenceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestLanguageStillNotFixed()Language type is NOT INITIAL aware.voidtestUnitStillNotFixed()Unit type is NOT INITIAL aware.voidtestUserFixed()User type is INITIAL aware.-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
ATTRIBUTE_NAME
public static final java.lang.String ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUserFixed
public void testUserFixed() throws JaloGenericCreationException, JaloAbstractTypeException, JaloDuplicateQualifierException, JaloInvalidParameterException, ConsistencyCheckException, JaloSecurityException, JaloDuplicateCodeExceptionUser type is INITIAL aware.
-
testUnitStillNotFixed
public void testUnitStillNotFixed() throws JaloDuplicateQualifierException, JaloInvalidParameterException, JaloGenericCreationException, JaloAbstractTypeException, JaloSecurityException, JaloDuplicateCodeExceptionUnit type is NOT INITIAL aware.
-
testLanguageStillNotFixed
public void testLanguageStillNotFixed() throws JaloDuplicateQualifierException, JaloInvalidParameterException, JaloGenericCreationException, JaloAbstractTypeException, JaloSecurityException, JaloDuplicateCodeExceptionLanguage type is NOT INITIAL aware.PLA-10479 solves the null value problem. Within GenericItem#getInitialProperties and GenericItem#getNonInitialAttributes the markInitialPropertyFetch() feature is used which ensures that within all core types the null problem not exists.
-
-