@PerSuiteUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlFiles=@UnitTestFile(filename="classpath:testExternalMessages.sql",delimiter=";"))) public class MessageServiceTest extends KRADTestCase
MessageService
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd
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
|
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
public MessageServiceTest()
public void setUp() throws Exception
setUp
in class BaselineTestCase
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–2016 The Kuali Foundation. All rights reserved.