Class DefaultRuleServiceTest
- 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.ruleengineservices.rule.services.impl.DefaultRuleServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultRuleServiceTest extends ServicelayerTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException-
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 DefaultRuleServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestCloneRule()voidtestCreateRuleFromTemplate()voidtestCreateRuleFromTemplateIsNull()voidtestCreateRuleFromTemplateIsNullWithCustomCode()voidtestCreateRuleFromTemplateWithCodeIsNull()voidtestCreateRuleFromTemplateWithCustomCode()voidtestCreateRuleFromTemplateWithCustomCodeIsNull()-
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
-
testCreateRuleFromTemplate
public void testCreateRuleFromTemplate()
-
testCreateRuleFromTemplateIsNull
public void testCreateRuleFromTemplateIsNull()
-
testCreateRuleFromTemplateWithCodeIsNull
public void testCreateRuleFromTemplateWithCodeIsNull()
-
testCreateRuleFromTemplateWithCustomCode
public void testCreateRuleFromTemplateWithCustomCode()
-
testCreateRuleFromTemplateWithCustomCodeIsNull
public void testCreateRuleFromTemplateWithCustomCodeIsNull()
-
testCreateRuleFromTemplateIsNullWithCustomCode
public void testCreateRuleFromTemplateIsNullWithCustomCode()
-
testCloneRule
public void testCloneRule()
-
-