Package de.hybris.platform.impex.jalo
Class ImpExModifierTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.impex.jalo.AbstractImpExTest
de.hybris.platform.impex.jalo.ImpExModifierTest
- All Implemented Interfaces:
JaloSessionHolder
This test class is used for testing the different modifiers possible in header descriptors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEmpty extension ofDefaultImportProcessorfor testing the modifierprocessorat tests casetestModifierProcessor()(there is no other implementation of anImportProcessor). -
Field Summary
Fields inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
english, german, utf8, windows1252Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtearDown()voidvoidvoidTests the validation with and without modifierallowNull.voidTests the modifier batch mode.voidTests the modifier for caching unique keys and relatedCachingExistingItemResolver.voidTests import of collections using different collection delimiters with modifier collection-delimiter.voidTests the default modifier in simple cases.voidTests the default modifier behind another modifier.voidTests if the default value for an collection attribute can be composed from default values from item path.voidTests the default modifier in case of special translators.voidTests the default modifier in case of translators.voidTests the forceWrite modifier.voidTests the modifierlang.voidTests modifier path-delimiter.voidTests the modifierpos.voidTests theprocessormodifier.voidTests the modifier virtual.voidvoidvoidMethods inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
initJaloItems, setLegacyModeMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ImpExModifierTest
public ImpExModifierTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testModifierAllowNull
public void testModifierAllowNull()Tests the validation with and without modifierallowNull. -
testSwitchingToLegacyHandlerForJaloOnlyFeatures
public void testSwitchingToLegacyHandlerForJaloOnlyFeatures() -
testSwitchingToLegacyHandlerForImpexLegacyFlagInHeader
public void testSwitchingToLegacyHandlerForImpexLegacyFlagInHeader() -
testImportWithNonLegacyHandlerOnly
public void testImportWithNonLegacyHandlerOnly() -
testImportWithLegacyHandlerOnly
public void testImportWithLegacyHandlerOnly() -
testSwitchingToLegacyHandlerUsedByDefaultNotNeededForImpexLegacyFlagInHeader
public void testSwitchingToLegacyHandlerUsedByDefaultNotNeededForImpexLegacyFlagInHeader() -
testModifierDefault
public void testModifierDefault()Tests the default modifier in simple cases. -
testModifierDefaultBehind
public void testModifierDefaultBehind()Tests the default modifier behind another modifier. See CORE-3932. -
testModifierDefaultTranslator
public void testModifierDefaultTranslator()Tests the default modifier in case of translators. See CORE-3932. -
testModifierDefaultSpecialTranslator
public void testModifierDefaultSpecialTranslator()Tests the default modifier in case of special translators. See CORE-3932. -
testModifierBatchMode
public void testModifierBatchMode()Tests the modifier batch mode. -
testModifierCacheUniqueKeys
public void testModifierCacheUniqueKeys()Tests the modifier for caching unique keys and relatedCachingExistingItemResolver. -
testModifierCollectionDelimiter
Tests import of collections using different collection delimiters with modifier collection-delimiter.- Throws:
ImpExException
-
testModifierDefaultCollection
public void testModifierDefaultCollection()Tests if the default value for an collection attribute can be composed from default values from item path. See PLA-5. -
testModifierForceWrite
public void testModifierForceWrite()Tests the forceWrite modifier. Tests only insertion of non modifiable because there are no real case where there is used a non-initial not-writable attribute : Or you have full mutable attribute- which is not a case here; Or you have non writable but modified only for initial purposes attribute; -
testModifierPathDelimiter
Tests modifier path-delimiter.- Throws:
Exception
-
testModifierPosition
public void testModifierPosition()Tests the modifierpos. -
testModifierProcessor
public void testModifierProcessor()Tests theprocessormodifier. -
testModifierVirtual
public void testModifierVirtual()Tests the modifier virtual. -
testModifierLanguage
public void testModifierLanguage()Tests the modifierlang.
-