|
||||||||||
| 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.apache.commons.resources.impl.BasicMessageTestCase
public class BasicMessageTestCase
Unit tests for the org.apache.commons.resources.Message class.
Orginally based on org.apache.http.action.TestActionMessage, Revision 1.2.
| Field Summary | |
|---|---|
protected org.apache.commons.resources.impl.BasicMessage |
amWithMultipleValues
|
protected org.apache.commons.resources.impl.BasicMessage |
amWithNoValue
|
protected org.apache.commons.resources.impl.BasicMessage |
amWithOneValue
|
| Constructor Summary | |
|---|---|
BasicMessageTestCase(String theName)
Defines the testcase name for JUnit. |
|
| Method Summary | |
|---|---|
static void |
main(String[] theArgs)
Start the tests. |
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
tearDown()
|
void |
testBasicMessageWithAStringValue()
|
void |
testBasicMessageWithNoValue()
|
| 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 org.apache.commons.resources.impl.BasicMessage amWithNoValue
protected org.apache.commons.resources.impl.BasicMessage amWithOneValue
protected org.apache.commons.resources.impl.BasicMessage amWithMultipleValues
| Constructor Detail |
|---|
public BasicMessageTestCase(String theName)
theName - the testcase's name.| Method Detail |
|---|
public static void main(String[] theArgs)
theArgs - the arguments. Not usedpublic static junit.framework.Test suite()
TestSuite) that includes all methods
starting with "test"public void setUp()
setUp in class junit.framework.TestCasepublic void tearDown()
tearDown in class junit.framework.TestCasepublic void testBasicMessageWithNoValue()
public void testBasicMessageWithAStringValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||