Class RuleEngineRuleValidateInterceptorUnitTest
- java.lang.Object
-
- de.hybris.platform.ruleengine.dao.interceptors.RuleEngineRuleValidateInterceptorUnitTest
-
@UnitTest public class RuleEngineRuleValidateInterceptorUnitTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleEngineRuleValidateInterceptorUnitTest.MockRuleModelChecksumCalculator
-
Constructor Summary
Constructors Constructor Description RuleEngineRuleValidateInterceptorUnitTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
testOnValidateNew
public void testOnValidateNew() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewActiveNotSet
public void testFailOnValidateNewActiveNotSet() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewMustBeActive
public void testFailOnValidateNewMustBeActive() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNewNonActiveRuleWithContent
public void testOnValidateNewNonActiveRuleWithContent() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewNonActiveRuleWithContent
public void testFailOnValidateNewNonActiveRuleWithContent() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNewNonActiveRuleWithContent2
public void testOnValidateNewNonActiveRuleWithContent2() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNewNonActiveRuleContentNotSet
public void testOnValidateNewNonActiveRuleContentNotSet() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewNonActiveRuleNoContent
public void testFailOnValidateNewNonActiveRuleNoContent() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewNonActiveRuleNoContent2
public void testFailOnValidateNewNonActiveRuleNoContent2() throws InterceptorException- Throws:
InterceptorException
-
testPassOnValidateModifiedNonActiveRuleVersionsEqual
public void testPassOnValidateModifiedNonActiveRuleVersionsEqual() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateModifiedNonActiveRuleVersionsNotEqual
public void testFailOnValidateModifiedNonActiveRuleVersionsNotEqual() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateModifiedActiveRuleNoContent
public void testFailOnValidateModifiedActiveRuleNoContent() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateModifiedActiveRuleWithContentWrongChecksum
public void testFailOnValidateModifiedActiveRuleWithContentWrongChecksum() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateModifiedActiveRule
public void testOnValidateModifiedActiveRule() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateRemovedActiveRule
public void testFailOnValidateRemovedActiveRule() throws InterceptorException- Throws:
InterceptorException
-
testValidateNoKieBase
public void testValidateNoKieBase() throws InterceptorException- Throws:
InterceptorException
-
testValidateNoKieModule
public void testValidateNoKieModule() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewManuallyCreatedRuleWithOldVersionVersion
public void testFailOnValidateNewManuallyCreatedRuleWithOldVersionVersion() throws InterceptorException- Throws:
InterceptorException
-
testFailOnValidateNewManuallyCreatedRuleWithContentWrongChecksum
public void testFailOnValidateNewManuallyCreatedRuleWithContentWrongChecksum() throws InterceptorException- Throws:
InterceptorException
-
-