org.kuali.rice.krad.datadictionary
Class MessageBeanProcessorTest
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.datadictionary.MessageBeanProcessorTest
- All Implemented Interfaces:
- MethodAware
@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
Test cases for org.kuali.rice.krad.datadictionary.MessageBeanProcessor
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
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
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 |
MessageBeanProcessorTest
public MessageBeanProcessorTest()
testMatchBeanIdSimpleKey
public void testMatchBeanIdSimpleKey()
throws Exception
- 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
- Throws:
Exception
testMatchExplicitKey
public void testMatchExplicitKey()
throws Exception
- Throws:
Exception
testMatchExplicitListKey
public void testMatchExplicitListKey()
throws Exception
- Throws:
Exception
testMatchExplicitMapKey
public void testMatchExplicitMapKey()
throws Exception
- Throws:
Exception
testMessageExpressionMerge
public void testMessageExpressionMerge()
throws Exception
- Throws:
Exception
testMessagesForListBean
public void testMessagesForListBean()
throws Exception
- Throws:
Exception
testModuleResourcesMessages
public void testModuleResourcesMessages()
throws Exception
- Throws:
Exception
testApplicationResourcesMessages
public void testApplicationResourcesMessages()
throws Exception
- Throws:
Exception
testExpressionMessages
public void testExpressionMessages()
throws Exception
- Verifies a message keys within an expression get replaced with the text
- Throws:
Exception
getMessageService
public MessageService getMessageService()
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.