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.String
ATTRIBUTE_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 void
setUp()
void
tearDown()
void
testLanguageStillNotFixed()
Language type is NOT INITIAL aware.void
testUnitStillNotFixed()
Unit type is NOT INITIAL aware.void
testUserFixed()
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, JaloDuplicateCodeException
User type is INITIAL aware.
-
testUnitStillNotFixed
public void testUnitStillNotFixed() throws JaloDuplicateQualifierException, JaloInvalidParameterException, JaloGenericCreationException, JaloAbstractTypeException, JaloSecurityException, JaloDuplicateCodeException
Unit type is NOT INITIAL aware.
-
testLanguageStillNotFixed
public void testLanguageStillNotFixed() throws JaloDuplicateQualifierException, JaloInvalidParameterException, JaloGenericCreationException, JaloAbstractTypeException, JaloSecurityException, JaloDuplicateCodeException
Language 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.
-
-