org.kuali.rice.krad.util
Class ValidationMessageRetrievalTest
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.test.KRADTestCase
org.kuali.rice.krad.util.ValidationMessageRetrievalTest
- All Implemented Interfaces:
- MethodAware
@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testValidationMessages.sql",delimiter=";")))
public class ValidationMessageRetrievalTest
- extends KRADTestCase
Test retrieval of validation messages that have been added to a MessageMap
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
setUp()
|
void |
testRetrieveMessage_componentKey()
Test that message text is correctly retrieved for a validation message specified by namespace,
component, and message key |
void |
testRetrieveMessage_keyOnly()
Test that message text is correctly retrieved for a validation message specified with only the
message key |
void |
testRetrieveMessage_namespaceKey()
Test that message text is correctly retrieved for a validation message specified by namespace and
message key |
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 |
ValidationMessageRetrievalTest
public ValidationMessageRetrievalTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class BaselineTestCase
- Throws:
Exception
testRetrieveMessage_keyOnly
public void testRetrieveMessage_keyOnly()
throws Exception
- Test that message text is correctly retrieved for a validation message specified with only the
message key
- Throws:
Exception
testRetrieveMessage_namespaceKey
public void testRetrieveMessage_namespaceKey()
throws Exception
- Test that message text is correctly retrieved for a validation message specified by namespace and
message key
- Throws:
Exception
testRetrieveMessage_componentKey
public void testRetrieveMessage_componentKey()
throws Exception
- Test that message text is correctly retrieved for a validation message specified by namespace,
component, and message key
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.