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.Legacy
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd, kradTestHarnessSpringResourceLoader
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
KualiRuleServiceTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testApplyRules_approveDocument_nullDocument() |
void |
testApplyRules_approveDocument_nullEvent() |
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public KualiRuleServiceTest()
public void setUp() throws Exception
setUp
in class KRADTestCase
Exception
public void testApplyRules_approveDocument_nullEvent()
public void testApplyRules_approveDocument_nullDocument()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.