Package de.hybris.platform.variants.jalo
Class VariantsTest
- All Implemented Interfaces:
JaloSessionHolder
Test for extension Variants
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected VariantProductcreateShirt(Product base, String code, EnumerationValue size, String color) protected VariantProductcreateShoe(Product base, String code, String size, String color) voidsetUp()voidtearDown()voidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
VariantsTest
public VariantsTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
createShoe
protected VariantProduct createShoe(Product base, String code, String size, String color) throws JaloGenericCreationException, JaloAbstractTypeException -
createShirt
protected VariantProduct createShirt(Product base, String code, EnumerationValue size, String color) throws JaloGenericCreationException, JaloAbstractTypeException -
testVariants
- Throws:
Exception
-
testAttributeAccessorClash
public void testAttributeAccessorClash() throws JaloInvalidParameterException, JaloBusinessException
-