@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testValidationMessages.sql",delimiter=";"))) public class ValidationMessageRetrievalTest extends KRADTestCase
MessageMap
KRADTestCase.BootstrapTest, KRADTestCase.Legacy
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd, kradTestHarnessSpringResourceLoader
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
ValidationMessageRetrievalTest() |
Modifier and Type | Method and Description |
---|---|
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
|
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public ValidationMessageRetrievalTest()
public void setUp() throws Exception
setUp
in class KRADTestCase
Exception
public void testRetrieveMessage_keyOnly() throws Exception
Exception
public void testRetrieveMessage_namespaceKey() throws Exception
Exception
public void testRetrieveMessage_componentKey() throws Exception
Exception
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.