Class ResetMaxOrderQuantityJobTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.timedaccesspromotionengineservices.cronjob.ResetMaxOrderQuantityJobTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ResetMaxOrderQuantityJobTest extends ServicelayerTransactionalTest
* Test class for testing the functionality of the ResetMaxOrderQuantityJob.
-
-
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 ResetMaxOrderQuantityJobTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testPerform_No_PromotionRule()
Test that if there is no promotion rule, the job can be performed successfullyvoid
testPerform_PromotionRule_No_Product()
Test that if there is no product, the job can be performed successfullyvoid
testPerform_PromotionRule_Unpublished()
Test that if the promotion rule is unpublished, the job can be performed successfully-
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
-
testPerform_No_PromotionRule
public void testPerform_No_PromotionRule()
Test that if there is no promotion rule, the job can be performed successfully
-
testPerform_PromotionRule_Unpublished
public void testPerform_PromotionRule_Unpublished()
Test that if the promotion rule is unpublished, the job can be performed successfully
-
testPerform_PromotionRule_No_Product
public void testPerform_PromotionRule_No_Product()
Test that if there is no product, the job can be performed successfully
-
-