|
||||||||||
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.jdom.test.cases.TestComment
public final class TestComment
Constructor Summary | |
---|---|
TestComment(java.lang.String name)
Construct a new instance. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main method runs all the tests in the text ui |
void |
setUp()
This method is called before a test is executed. |
static junit.framework.Test |
suite()
The suite method runs all the tests |
void |
tearDown()
This method is called after a test is executed. |
void |
test_TCC___String()
Test the comment constructor with a valid and an invalid string. |
void |
test_TCM__boolean_equals_Object()
Verify a simple object == object test |
void |
test_TCM__int_hashCode()
Test that a real hashcode is returned and that a different one is returned for a different comment. |
void |
test_TCM__OrgJdomComment_setText_String()
Test setting and resetting the text value of this Comment. |
void |
test_TCM__String_getSerializedForm()
Match the XML fragment this comment produces. |
void |
test_TCM__String_getText()
verify that the text of the Comment matches expected value. |
void |
test_TCM__String_toString()
check for the expected toString text value of Comment. |
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 |
Constructor Detail |
---|
public TestComment(java.lang.String name)
Method Detail |
---|
public static void main(java.lang.String[] args)
public void setUp()
setUp
in class junit.framework.TestCase
public static junit.framework.Test suite()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void test_TCC___String()
public void test_TCM__boolean_equals_Object()
public void test_TCM__int_hashCode()
public void test_TCM__OrgJdomComment_setText_String()
public void test_TCM__String_getSerializedForm()
public void test_TCM__String_getText()
public void test_TCM__String_toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |