|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.i18n.MessageServiceImplTest
public class MessageServiceImplTest
Message Service unit tests
Constructor Summary | |
---|---|
MessageServiceImplTest()
|
Method Summary | |
---|---|
void |
initMessages()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testGetMessagesLoadedFromClasspath()
Test get message from classpath |
void |
testGetMessagesLoadedFromRepo()
Test get message from repository |
void |
testGetMessagesWithParamsLoadedFromClasspath()
Test getting a parameterised message from classpath |
void |
testGetMessagesWithParamsLoadedFromRepo()
Test getting a parameterised message from repository |
void |
testLocaleMatching()
|
void |
testLocaleParsing()
|
void |
testRegisterBundleFromClasspath()
Test register bundle (using a classpath location) with uninitialised cache |
void |
testRegisterBundleFromRepo()
Test register bundle (using a repository location) with uninitialised cache |
void |
testReset()
Test forced reset |
void |
testSetAndGet()
Test the set and get methods |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, 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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageServiceImplTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testSetAndGet()
public void testGetMessagesLoadedFromRepo() throws java.lang.Exception
java.lang.Exception
public void testGetMessagesWithParamsLoadedFromRepo() throws java.lang.Exception
java.lang.Exception
public void testGetMessagesLoadedFromClasspath() throws java.lang.Exception
java.lang.Exception
public void testGetMessagesWithParamsLoadedFromClasspath() throws java.lang.Exception
java.lang.Exception
public void testRegisterBundleFromRepo() throws java.lang.Exception
java.lang.Exception
public void testRegisterBundleFromClasspath() throws java.lang.Exception
java.lang.Exception
public void testReset() throws java.lang.Exception
java.lang.Exception
public void initMessages()
initMessages
in interface MessageDeployer
public void testLocaleMatching()
public void testLocaleParsing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |