org.kuali.rice.kns.workflow
Class KualiXMLAttributeImplTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.krad.test.KRADTestCase
org.kuali.rice.kns.workflow.KualiXMLAttributeImplTest
- All Implemented Interfaces:
- MethodAware
public class KualiXMLAttributeImplTest
- extends KRADTestCase
KualiXMLAttributeImplTest tests the KualiXmlAttributeHelper
operations of getting data from the data dictionary for workflow
attributes
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
setUp()
|
void |
testConfirmLabels()
goes through all of the ruleAttributes in the inputSource and tries to get a label out of the data dictionary |
void |
testLabelSource()
confirms that the labels are coming from the data dictionary |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KualiXMLAttributeImplTest
public KualiXMLAttributeImplTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class BaselineTestCase
- Throws:
Exception
testConfirmLabels
public void testConfirmLabels()
- goes through all of the ruleAttributes in the inputSource and tries to get a label out of the data dictionary
testLabelSource
public void testLabelSource()
- confirms that the labels are coming from the data dictionary
This is done by modifying all the dictionary values
programatically to a nonsense value. It then rebuilds the Hash Table and runs confirmLabels() to make sure the labels have
changed.
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.