|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert org.kuali.rice.test.BaseRiceTestCase org.kuali.rice.test.RiceTestCase org.kuali.rice.test.RiceInternalSuiteDataTestCase org.kuali.test.KNSTestCase org.kuali.rice.kns.service.KualiRuleServiceTest
public class KualiRuleServiceTest
This class tests the KualiRuleService.
Testing applyRules( event ) has proven to be too strongly dependent on an actual document type, and business rule, and XML document which binds them together, to be really useful. Instead, we'll test each of the applyRules( rule, event ) methods which are called by applyRules( event ), since they do the actual work involved in applying a rule.
Field Summary | |
---|---|
private static boolean |
entriesAdded
|
private static KualiRuleService |
kualiRuleService
|
Fields inherited from class org.kuali.rice.test.RiceTestCase |
---|
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles |
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
log, method |
Constructor Summary | |
---|---|
KualiRuleServiceTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testApplyRules_approveDocument_nullDocument()
|
void |
testApplyRules_approveDocument_nullEvent()
|
Methods inherited from class org.kuali.test.KNSTestCase |
---|
getContextName, getLoadApplicationLifecycle, getModuleName, getPort, getRelativeWebappRoot, getSuiteLifecycles, loadSuiteTestData, setContextName, setRelativeWebappRoot, tearDown |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
---|
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static boolean entriesAdded
private static KualiRuleService kualiRuleService
Constructor Detail |
---|
public KualiRuleServiceTest()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class KNSTestCase
Exception
public void testApplyRules_approveDocument_nullEvent()
public void testApplyRules_approveDocument_nullDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |