org.kuali.rice.krad.messages
Class MessageServiceTest
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.messages.MessageServiceTest
- All Implemented Interfaces:
- MethodAware
@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";")))
public class MessageServiceTest
- extends KRADTestCase
Test cases for MessageService
- 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 |
MessageServiceTest
public MessageServiceTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class BaselineTestCase
- Throws:
Exception
testRetrieveMessage_ResourceByKey
public void testRetrieveMessage_ResourceByKey()
throws Exception
- Test retrieval of a message from resources by key only (default namespace)
- Throws:
Exception
testRetrieveMessage_ResourceByNamespaceKey
public void testRetrieveMessage_ResourceByNamespaceKey()
throws Exception
- Test retrieval of a message from resources by namespace and key
- Throws:
Exception
testRetrieveMessage_ResourceByNamespaceComponentKey
public void testRetrieveMessage_ResourceByNamespaceComponentKey()
throws Exception
- Test retrieval of a message from resources by namespace, component, and key
- Throws:
Exception
testRetrieveMessage_DatabaseByKey
public void testRetrieveMessage_DatabaseByKey()
throws Exception
- Test retrieval of a message from the database by key only (default namespace)
- Throws:
Exception
testRetrieveMessage_DatabaseByNamespaceKey
public void testRetrieveMessage_DatabaseByNamespaceKey()
throws Exception
- Test retrieval of a message from the database by namespace and key
- Throws:
Exception
testRetrieveMessage_DatabaseByNamespaceComponentKey
public void testRetrieveMessage_DatabaseByNamespaceComponentKey()
throws Exception
- Test retrieval of a message from the database by namespace, component, and key
- Throws:
Exception
testRetrieveMessage_Locale
public void testRetrieveMessage_Locale()
throws Exception
- Test retrieval of messages with different locales
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.