@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";"))) public class MessageServiceTest extends KRADTestCase
MessageServiceBaselineTestCase.BaselineMode, BaselineTestCase.ModedddirtyLOG, 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 | 
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternalgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, 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 MessageServiceTest()
public void setUp() throws Exception
setUp in class BaselineTestCaseExceptionpublic 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–2016 The Kuali Foundation. All rights reserved.