@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
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 |
---|
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() |
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, 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 MessageBeanProcessorTest()
public void testMatchBeanIdSimpleKey() throws Exception
Exception
public void testMatchExplicitKey() throws Exception
Exception
public void testMatchExplicitListKey() throws Exception
Exception
public void testMatchExplicitMapKey() throws Exception
Exception
public void testMessageExpressionMerge() throws Exception
Exception
public void testMessagesForListBean() throws Exception
Exception
public void testModuleResourcesMessages() throws Exception
Exception
public void testApplicationResourcesMessages() throws Exception
Exception
public void testExpressionMessages() throws Exception
Exception
public MessageService getMessageService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.