Class DefaultRuleDaoTest
- 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.daos.impl.DefaultRuleDaoTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultRuleDaoTest extends ServicelayerTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMULTI_VERSION_RULE_CODE-
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 DefaultRuleDaoTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldFindTheLatestRuleVersion()voidtestFindAll()voidtestFindAllActiveRules()voidtestFindAllActiveRulesByType()voidtestFindAllByType()voidtestFindAllRuleVersionsByCode()voidtestFindAllRuleVersionsByCodeAndStatus()voidtestFindAllRuleVersionsByCodeAndStatuses()voidtestFindAllRuleVersionsByCodeAndStatusesNoStatusesGiven()voidtestFindEngineRuleTypeForRuleType()voidtestFindEngineRuleTypeForRuleTypeNotFound()voidtestFindRuleByCode()voidtestFindRuleByCodeByType()-
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
-
MULTI_VERSION_RULE_CODE
public static final java.lang.String MULTI_VERSION_RULE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws ImpExException- Throws:
ImpExException
-
testFindAll
public void testFindAll()
-
testFindAllActiveRules
public void testFindAllActiveRules()
-
testFindRuleByCode
public void testFindRuleByCode()
-
testFindAllRuleVersionsByCode
public void testFindAllRuleVersionsByCode()
-
testFindAllRuleVersionsByCodeAndStatus
public void testFindAllRuleVersionsByCodeAndStatus()
-
testFindAllByType
public void testFindAllByType()
-
testFindAllActiveRulesByType
public void testFindAllActiveRulesByType()
-
testFindRuleByCodeByType
public void testFindRuleByCodeByType()
-
testFindEngineRuleTypeForRuleType
public void testFindEngineRuleTypeForRuleType()
-
testFindEngineRuleTypeForRuleTypeNotFound
public void testFindEngineRuleTypeForRuleTypeNotFound()
-
shouldFindTheLatestRuleVersion
public void shouldFindTheLatestRuleVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindAllRuleVersionsByCodeAndStatuses
public void testFindAllRuleVersionsByCodeAndStatuses()
-
testFindAllRuleVersionsByCodeAndStatusesNoStatusesGiven
public void testFindAllRuleVersionsByCodeAndStatusesNoStatusesGiven()
-
-