org.kuali.rice.kew.rule.xmlrouting
Class StandardGenericXMLRuleAttributeTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.kew.test.KEWTestCase
                          extended by org.kuali.rice.kew.rule.xmlrouting.StandardGenericXMLRuleAttributeTest
All Implemented Interfaces:
MethodAware

public class StandardGenericXMLRuleAttributeTest
extends KEWTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.BootstrapTest, KEWTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
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
StandardGenericXMLRuleAttributeTest()
           
 
Method Summary
 void setUp()
           
 void testGetDocContent()
           
 void testGetRoutingDataRows()
           
 void testGetRuleRows()
           
 void testIsMatch()
           
 void testNonMatchingExtensionKey()
          Tests SGXA attribute matching behavior with extension value keys that do not necessarily match a field defined in the attribute
 void testRoutingDataAttributeErrorTypesAreConformant()
           
 void testRuleDataAttributeErrorTypesAreConformant()
           
 void testValidateRoutingData()
           
 void testValidateRuleData()
           
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardGenericXMLRuleAttributeTest

public StandardGenericXMLRuleAttributeTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaselineTestCase
Throws:
Exception

testValidateRoutingData

public void testValidateRoutingData()

testValidateRuleData

public void testValidateRuleData()

testRuleDataAttributeErrorTypesAreConformant

public void testRuleDataAttributeErrorTypesAreConformant()

testRoutingDataAttributeErrorTypesAreConformant

public void testRoutingDataAttributeErrorTypesAreConformant()

testNonMatchingExtensionKey

public void testNonMatchingExtensionKey()
                                 throws WorkflowException
Tests SGXA attribute matching behavior with extension value keys that do not necessarily match a field defined in the attribute

Throws:
WorkflowException

testIsMatch

public void testIsMatch()

testGetRuleRows

public void testGetRuleRows()

testGetRoutingDataRows

public void testGetRoutingDataRows()

testGetDocContent

public void testGetDocContent()


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.