|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.resources.MessagesTestCase
public class MessagesTestCase
Unit tests for
org.apache.commons.resources.Messages
.
Field Summary | |
---|---|
protected static String |
CONFIG
|
protected org.apache.commons.resources.ResourcesFactory |
factory
|
protected org.apache.commons.resources.Messages |
messages
|
protected static String |
NAME
|
protected org.apache.commons.resources.Resources |
resources
|
Constructor Summary | |
---|---|
MessagesTestCase(String name)
|
Method Summary | |
---|---|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
tearDown()
|
void |
testLocal()
Test the use of the shortcut getMessages() method. |
void |
testMessage()
Test the ability to retrieve messages with replacements. |
void |
testMessages()
Test the ability to retrieve messages with replacements. |
void |
testPristine()
Test the characteristics of a newly created instance. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String CONFIG
protected static final String NAME
protected org.apache.commons.resources.ResourcesFactory factory
protected org.apache.commons.resources.Resources resources
protected org.apache.commons.resources.Messages messages
Constructor Detail |
---|
public MessagesTestCase(String name)
Method Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public static junit.framework.Test suite()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testLocal()
public void testMessage()
public void testMessages()
public void testPristine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |