Package de.hybris.platform.product
Class PDTRowPrepareInterceptorTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.product.PDTRowPrepareInterceptorTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PDTRowPrepareInterceptorTest extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description static doubleINITIAL_PRICE-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description PDTRowPrepareInterceptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateData()voidshouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithJDBCLink()voidshouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithoutJDBCLink()voidshouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithJDBCLink()voidshouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithoutJDBCLink()voidshouldChangeProductModifiedTimeIfNullChangedToOtherValue()voidshouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithJDBCLink()voidshouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithoutJDBCLink()voidshouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithJDBCLink()voidshouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithoutJDBCLink()protected voidswitchLinkJDBCMode(boolean value)protected voidswitchPersistenceLegacyMode(boolean value)voidtearDown()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
INITIAL_PRICE
public static final double INITIAL_PRICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
switchPersistenceLegacyMode
protected void switchPersistenceLegacyMode(boolean value)
-
switchLinkJDBCMode
protected void switchLinkJDBCMode(boolean value)
-
createData
public void createData() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithJDBCLink
public void shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithoutJDBCLink
public void shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowJaloWithoutJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithJDBCLink
public void shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithoutJDBCLink
public void shouldNotChangeProductModifiedTimeIfNoChangeInPriceRowSLDWithoutJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithJDBCLink
public void shouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithoutJDBCLink
public void shouldChangeProductModifiedTimeIfChangeInPriceRowJaloWithoutJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithJDBCLink
public void shouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithoutJDBCLink
public void shouldChangeProductModifiedTimeIfChangeInPriceRowSLDWithoutJDBCLink() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldChangeProductModifiedTimeIfNullChangedToOtherValue
public void shouldChangeProductModifiedTimeIfNullChangedToOtherValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
-