Class PriceRowChannelTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.europe1.persistence.PriceRowChannelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PriceRowChannelTest extends ServicelayerTest
Tests if Europe1PriceFactory correctly handles PriceRow with channel attribute.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DETECTED_UI_EXPERIENCE_LEVEL
-
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 PriceRowChannelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testCreatePriceRowChannelUsingEurope1PriceFactory()
void
testCreatePriceRowChannelUsingModel()
void
testCreatePriceRowNullChannelUsingEurope1PriceFactory()
void
testDefaultProductBasePriceChannel()
Cases to Test:void
testProductPricesNoChannel()
Cases to Test:void
testProductPricesWithUIExperienceOnly()
Cases to Test:-
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
-
-
-
-
Field Detail
-
DETECTED_UI_EXPERIENCE_LEVEL
protected static final java.lang.String DETECTED_UI_EXPERIENCE_LEVEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreatePriceRowChannelUsingModel
public void testCreatePriceRowChannelUsingModel()
-
testCreatePriceRowChannelUsingEurope1PriceFactory
public void testCreatePriceRowChannelUsingEurope1PriceFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreatePriceRowNullChannelUsingEurope1PriceFactory
public void testCreatePriceRowNullChannelUsingEurope1PriceFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testProductPricesNoChannel
public void testProductPricesNoChannel() throws java.lang.Exception
Cases to Test:Context - No UI Experience Context, Price rows without channel data.
- Throws:
java.lang.Exception
-
testProductPricesWithUIExperienceOnly
public void testProductPricesWithUIExperienceOnly() throws java.lang.Exception
Cases to Test:Context - UI Experience Context set, Price rows without channel data.
- Throws:
java.lang.Exception
-
testDefaultProductBasePriceChannel
public void testDefaultProductBasePriceChannel() throws java.lang.Exception
Cases to Test:Context - UI Experience Context set, Price rows with channel data, changing "channel" ctx attribute to see if returned prices are different.
- Throws:
java.lang.Exception
-
-