|
||||||||||
| 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.TestDocType
public final class TestDocType
| Constructor Summary | |
|---|---|
TestDocType(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_String_String()
test with element name, public and systemIDs. |
void |
test_TCC___String_String()
test both the setting of the element name and systemID. |
void |
test_TCC___String()
Test a simple DocType with a name. |
void |
test_TCM__boolean_equals_Object()
Do an object comparison with itself to confirm boolean equals works. |
void |
test_TCM__int_hashCode()
look for a integer hashCode |
void |
test_TCM__Object_clone()
use toString to test the clone. |
void |
test_TCM__OrgJdomDocType_setPublicID_String()
Test the setter for publicID. |
void |
test_TCM__OrgJdomDocType_setSystemID_String()
Test the setter for SystemID |
void |
test_TCM__String_getElementName()
Test getElementName. |
void |
test_TCM__String_getPublicID()
Test that getPublicID matches the value from the constructor. |
void |
test_TCM__String_getSerializedForm()
Test that getSerializedForm works as expected. |
void |
test_TCM__String_getSystemID()
Test that getSystemID returns the same value as set in the constructor. |
void |
test_TCM__String_toString()
Test toString returns the expected string. |
| 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 TestDocType(java.lang.String name)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void setUp()
setUp in class junit.framework.TestCasepublic static junit.framework.Test suite()
public void tearDown()
tearDown in class junit.framework.TestCasepublic void test_TCC___String()
public void test_TCC___String_String()
public void test_TCC___String_String_String()
public void test_TCM__boolean_equals_Object()
public void test_TCM__int_hashCode()
public void test_TCM__Object_clone()
public void test_TCM__OrgJdomDocType_setPublicID_String()
public void test_TCM__OrgJdomDocType_setSystemID_String()
public void test_TCM__String_getElementName()
public void test_TCM__String_getPublicID()
public void test_TCM__String_getSerializedForm()
public void test_TCM__String_getSystemID()
public void test_TCM__String_toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||