org.kuali.rice.kew.xml.export
Class RuleXmlExporterTest
java.lang.Object
   org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.BaseRiceTestCase
       org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceTestCase
           org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
               org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaseModuleTestCase
                   org.kuali.rice.test.BaselineTestCase
org.kuali.rice.test.BaselineTestCase
                       org.kuali.rice.kew.test.KEWTestCase
org.kuali.rice.kew.test.KEWTestCase
                           org.kuali.rice.kew.xml.export.XmlExporterTestCase
org.kuali.rice.kew.xml.export.XmlExporterTestCase
                               org.kuali.rice.kew.xml.export.RuleXmlExporterTest
org.kuali.rice.kew.xml.export.RuleXmlExporterTest
- All Implemented Interfaces: 
- MethodAware
- public class RuleXmlExporterTest 
- extends XmlExporterTestCase
Tests the RuleXmlExporter by importing XML, exporting it, and then re-importing the xml.
 NOTE: It's important to note that the success of this test depends on all of the Rules in any
 XML having unique descriptions as this is the only way for the test to identify
 the rules from the original imported XML and the XML imported from the export.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
 
 
 
 
 
| Method Summary | 
| protected  void | assertExport()Note that the assertion here will fail if you have multiple rules with the same description.
 | 
| protected  void | assertRuleBaseValuesStateIndependence()verifies that rule exports are the same regardless of whether the rule is ready for render, or
 for persistance.
 | 
|  void | testExport()
 | 
 
 
| Methods inherited from class org.kuali.rice.kew.test.KEWTestCase | 
| clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad | 
 
 
 
 
| Methods inherited from class org.kuali.rice.test.RiceTestCase | 
| configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RuleXmlExporterTest
public RuleXmlExporterTest()
testExport
public void testExport()
                throws Exception
- 
- Throws:
- Exception
 
assertExport
protected void assertExport()
                     throws Exception
- Note that the assertion here will fail if you have multiple rules with the same description.
 
- 
- Specified by:
- assertExportin class- XmlExporterTestCase
 
- 
- Throws:
- Exception
 
assertRuleBaseValuesStateIndependence
protected void assertRuleBaseValuesStateIndependence()
                                              throws Exception
- verifies that rule exports are the same regardless of whether the rule is ready for render, or
 for persistance.
 
- 
- Throws:
- Exception
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.