org.kuali.rice.kew.rule
Class RuleXmlParserTest

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.RuleXmlParserTest
All Implemented Interfaces:
MethodAware

public class RuleXmlParserTest
extends KEWTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
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
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
RuleXmlParserTest()
           
 
Method Summary
protected  void loadTestData()
           
 void removeTemplateFromNamedRule()
           
 void testAnonymousDuplicatesNamed()
          This test tests that an anonymous rule will still be checked against named rules for duplication.
 void testAnonymousWithExpressionDuplicatesNamed()
          This test tests that an anonymous rule will still be checked against named rules for duplication.
 void testDuplicateRule()
           
 void testDuplicateRuleWithExpression()
           
 void testInvalidTemplatelessNamedRule()
           
 void testNamedRule()
           
 void testNamedRuleWithExpression()
           
 void testNotDuplicateRule()
           
 void testNotDuplicateRuleWithExpression()
           
 void testParameterReplacement()
           
 void testRulesWithDifferentResponsibilityTypes()
           
 void testRuleXmlParserCacheUpdate()
           
 void testUpdatedRule()
           
 void testUpdatedRuleWithExpression()
           
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
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, getBaseDir, 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, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleXmlParserTest

public RuleXmlParserTest()
Method Detail

loadTestData

protected void loadTestData()
                     throws Exception
Overrides:
loadTestData in class KEWTestCase
Throws:
Exception

testRuleXmlParserCacheUpdate

public void testRuleXmlParserCacheUpdate()
                                  throws Exception
Throws:
Exception

testDuplicateRule

public void testDuplicateRule()
                       throws IOException,
                              XmlException
Throws:
IOException
XmlException

testDuplicateRuleWithExpression

public void testDuplicateRuleWithExpression()
                                     throws IOException,
                                            XmlException
Throws:
IOException
XmlException

testNotDuplicateRule

public void testNotDuplicateRule()
                          throws IOException,
                                 XmlException
Throws:
IOException
XmlException

testNotDuplicateRuleWithExpression

public void testNotDuplicateRuleWithExpression()
                                        throws IOException,
                                               XmlException
Throws:
IOException
XmlException

testNamedRule

public void testNamedRule()

testNamedRuleWithExpression

public void testNamedRuleWithExpression()

testUpdatedRule

public void testUpdatedRule()

testUpdatedRuleWithExpression

public void testUpdatedRuleWithExpression()

testAnonymousDuplicatesNamed

public void testAnonymousDuplicatesNamed()
This test tests that an anonymous rule will still be checked against named rules for duplication.


testAnonymousWithExpressionDuplicatesNamed

public void testAnonymousWithExpressionDuplicatesNamed()
This test tests that an anonymous rule will still be checked against named rules for duplication.


testParameterReplacement

public void testParameterReplacement()
                              throws IOException,
                                     XmlException
Throws:
IOException
XmlException

removeTemplateFromNamedRule

public void removeTemplateFromNamedRule()

testInvalidTemplatelessNamedRule

public void testInvalidTemplatelessNamedRule()

testRulesWithDifferentResponsibilityTypes

public void testRulesWithDifferentResponsibilityTypes()
                                               throws Exception
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.