public class MessageServiceImplTest extends junit.framework.TestCase implements MessageDeployer
| Constructor and Description |
|---|
MessageServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
initMessages() |
protected void |
setUp() |
protected void |
tearDown() |
void |
test1SetAndGet()
Test the set and get methods
|
void |
test2GetMessagesLoadedFromRepo()
Test get message from repository
|
void |
test3GetMessagesWithParamsLoadedFromRepo()
Test getting a parameterised message from repository
|
void |
test4GetMessagesLoadedFromClasspath()
Test get message from classpath
|
void |
test5GetMessagesWithParamsLoadedFromClasspath()
Test getting a parameterised message from classpath
|
void |
test6RegisterBundleFromRepo()
Test register bundle (using a repository location) with uninitialised cache
|
void |
test7RegisterBundleFromClasspath()
Test register bundle (using a classpath location) with uninitialised cache
|
void |
test8Reset()
Test forced reset
|
void |
test9LocaleMatching() |
void |
testLocaleParsing() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void test1SetAndGet()
public void test2GetMessagesLoadedFromRepo()
throws java.lang.Exception
java.lang.Exceptionpublic void test3GetMessagesWithParamsLoadedFromRepo()
throws java.lang.Exception
java.lang.Exceptionpublic void test4GetMessagesLoadedFromClasspath()
throws java.lang.Exception
java.lang.Exceptionpublic void test5GetMessagesWithParamsLoadedFromClasspath()
throws java.lang.Exception
java.lang.Exceptionpublic void test6RegisterBundleFromRepo()
throws java.lang.Exception
java.lang.Exceptionpublic void test7RegisterBundleFromClasspath()
throws java.lang.Exception
java.lang.Exceptionpublic void test8Reset()
throws java.lang.Exception
java.lang.Exceptionpublic void initMessages()
initMessages in interface MessageDeployerpublic void test9LocaleMatching()
public void testLocaleParsing()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.