public class KualiRuleServiceTest extends KRADTestCase
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.
KRADTestCase.BootstrapTest, KRADTestCase.LegacyBaselineTestCase.BaselineMode, BaselineTestCase.Modedd, kradTestHarnessSpringResourceLoaderdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
KualiRuleServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testApplyRules_approveDocument_nullDocument() |
void |
testApplyRules_approveDocument_nullEvent() |
getKRADTestHarnessContext, getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic KualiRuleServiceTest()
public void setUp() throws Exception
setUp in class KRADTestCaseExceptionpublic void testApplyRules_approveDocument_nullEvent()
public void testApplyRules_approveDocument_nullDocument()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.