Package de.hybris.platform.variants.jalo
Class VariantsTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class VariantsTest extends ServicelayerTransactionalTest
Test for extension Variants
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description VariantsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VariantProductcreateShirt(Product base, java.lang.String code, EnumerationValue size, java.lang.String color)protected VariantProductcreateShoe(Product base, java.lang.String code, java.lang.String size, java.lang.String color)voidsetUp()voidtearDown()voidtestAttributeAccessorClash()voidtestVariants()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, 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
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
createShoe
protected VariantProduct createShoe(Product base, java.lang.String code, java.lang.String size, java.lang.String color) throws JaloGenericCreationException, JaloAbstractTypeException
-
createShirt
protected VariantProduct createShirt(Product base, java.lang.String code, EnumerationValue size, java.lang.String color) throws JaloGenericCreationException, JaloAbstractTypeException
-
testVariants
public void testVariants() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAttributeAccessorClash
public void testAttributeAccessorClash() throws JaloInvalidParameterException, JaloBusinessException
-
-