@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";"))) public class MessageServiceTest extends KRADTestCase
MessageService
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 |
---|
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, 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 MessageServiceTest()
public void setUp() throws Exception
setUp
in class KRADTestCase
Exception
public void testRetrieveMessage_ResourceByKey() throws Exception
Exception
public void testRetrieveMessage_ResourceByNamespaceKey() throws Exception
Exception
public void testRetrieveMessage_ResourceByNamespaceComponentKey() throws Exception
Exception
public void testRetrieveMessage_DatabaseByKey() throws Exception
Exception
public void testRetrieveMessage_DatabaseByNamespaceKey() throws Exception
Exception
public void testRetrieveMessage_DatabaseByNamespaceComponentKey() throws Exception
Exception
public void testRetrieveMessage_Locale() throws Exception
Exception
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.