@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";"))) @TestDictionaryConfig(namespaceCode="TEST", dataDictionaryFiles="classpath:org/kuali/rice/krad/datadictionary/MessageProcessorTestBeans.xml") public class MessageBeanProcessorTest extends KRADTestCase
Note these test methods are simply verifying (not assembling and invoking) because the actual processing of external messages will be done by the creation of the data dictionary in the KRAD base test case
BaselineTestCase.BaselineMode, BaselineTestCase.ModedddirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
MessageBeanProcessorTest() |
| Modifier and Type | Method and Description |
|---|---|
MessageService |
getMessageService() |
void |
testApplicationResourcesMessages() |
void |
testExpressionMessages()
Verifies a message keys within an expression get replaced with the text
|
void |
testMatchBeanIdSimpleKey()
Verifies a message setup with component equal to a bean id and message key
a simple property path (non-nested) is picked up and inserted into the correct bean definition
and property
|
void |
testMatchExplicitKey() |
void |
testMatchExplicitListKey() |
void |
testMatchExplicitMapKey() |
void |
testMessageExpressionMerge() |
void |
testMessagesForListBean() |
void |
testModuleResourcesMessages() |
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternalgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethodpublic MessageBeanProcessorTest()
public void testMatchBeanIdSimpleKey() throws Exception
Exceptionpublic void testMatchExplicitKey() throws Exception
Exceptionpublic void testMatchExplicitListKey() throws Exception
Exceptionpublic void testMatchExplicitMapKey() throws Exception
Exceptionpublic void testMessageExpressionMerge() throws Exception
Exceptionpublic void testMessagesForListBean() throws Exception
Exceptionpublic void testModuleResourcesMessages() throws Exception
Exceptionpublic void testApplicationResourcesMessages() throws Exception
Exceptionpublic void testExpressionMessages() throws Exception
Exceptionpublic MessageService getMessageService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.