@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";"))) public class MessageServiceTest extends KRADTestCase
MessageServiceKRADTestCase.BootstrapTest, KRADTestCase.LegacyBaselineTestCase.BaselineMode, BaselineTestCase.Modedd, kradTestHarnessSpringResourceLoaderdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
MessageServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testRetrieveMessage_DatabaseByKey()
Test retrieval of a message from the database by key only (default namespace)
|
void |
testRetrieveMessage_DatabaseByNamespaceComponentKey()
Test retrieval of a message from the database by namespace, component, and key
|
void |
testRetrieveMessage_DatabaseByNamespaceKey()
Test retrieval of a message from the database by namespace and key
|
void |
testRetrieveMessage_Locale()
Test retrieval of messages with different locales
|
void |
testRetrieveMessage_ResourceByKey()
Test retrieval of a message from resources by key only (default namespace)
|
void |
testRetrieveMessage_ResourceByNamespaceComponentKey()
Test retrieval of a message from resources by namespace, component, and key
|
void |
testRetrieveMessage_ResourceByNamespaceKey()
Test retrieval of a message from resources by namespace and key
|
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic MessageServiceTest()
public void setUp() throws Exception
setUp in class KRADTestCaseExceptionpublic void testRetrieveMessage_ResourceByKey() throws Exception
Exceptionpublic void testRetrieveMessage_ResourceByNamespaceKey() throws Exception
Exceptionpublic void testRetrieveMessage_ResourceByNamespaceComponentKey() throws Exception
Exceptionpublic void testRetrieveMessage_DatabaseByKey() throws Exception
Exceptionpublic void testRetrieveMessage_DatabaseByNamespaceKey() throws Exception
Exceptionpublic void testRetrieveMessage_DatabaseByNamespaceComponentKey() throws Exception
Exceptionpublic void testRetrieveMessage_Locale() throws Exception
ExceptionCopyright © 2005–2014 The Kuali Foundation. All rights reserved.