|
||||||||||
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.TestDocument
public final class TestDocument
Constructor Summary | |
---|---|
TestDocument(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___List_OrgJdomDocType()
Test constructor of a Document with a List of content and a DocType. |
void |
test_TCC___List()
Test constructor of Document with a List of content including the root element. |
void |
test_TCC___OrgJdomElement_OrgJdomDocType()
Test constructor of Document with and Element and Doctype |
void |
test_TCC___OrgJdomElement()
Test the constructor with only a root element. |
void |
test_TCM__boolean_equals_Object()
Test object equality. |
void |
test_TCM__boolean_removeContent_OrgJdomComment()
Test removeContent for a given Comment |
void |
test_TCM__boolean_removeContent_OrgJdomProcessingInstruction()
Test removeContent with the supplied ProcessingInstruction. |
void |
test_TCM__int_hashCode()
Test hashcode function. |
void |
test_TCM__List_getContent()
Test getContent |
void |
test_TCM__Object_clone()
Test code goes here. |
void |
test_TCM__OrgJdomDocType_getDocType()
Test getDocType. |
void |
test_TCM__OrgJdomDocument_addContent_OrgJdomComment()
Test the addition of comments to Documents. |
void |
test_TCM__OrgJdomDocument_addContent_OrgJdomProcessingInstruction()
Test the addition of ProcessingInstructions to Documents. |
void |
test_TCM__OrgJdomDocument_setContent_List()
Test that setContent works according to specs. |
void |
test_TCM__OrgJdomDocument_setDocType_OrgJdomDocType()
Test that setDocType works as expected. |
void |
test_TCM__OrgJdomDocument_setRootElement_OrgJdomElement()
Test that setRootElement works as expected. |
void |
test_TCM__OrgJdomElement_getRootElement()
Test that a Document can return a root element. |
void |
test_TCM__String_toString()
Test that the toString method returns the expected result. |
void |
test_TCU__testSerialization()
Test that an Element properly handles default namespaces |
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 TestDocument(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___List()
public void test_TCC___List_OrgJdomDocType()
public void test_TCC___OrgJdomElement()
public void test_TCC___OrgJdomElement_OrgJdomDocType()
public void test_TCM__boolean_equals_Object()
public void test_TCM__boolean_removeContent_OrgJdomComment()
public void test_TCM__boolean_removeContent_OrgJdomProcessingInstruction()
public void test_TCM__int_hashCode()
public void test_TCM__Object_clone()
public void test_TCM__OrgJdomDocType_getDocType()
public void test_TCM__OrgJdomDocument_addContent_OrgJdomComment()
public void test_TCM__OrgJdomDocument_addContent_OrgJdomProcessingInstruction()
public void test_TCM__OrgJdomDocument_setRootElement_OrgJdomElement()
public void test_TCM__OrgJdomDocument_setDocType_OrgJdomDocType()
public void test_TCM__OrgJdomElement_getRootElement()
public void test_TCM__String_toString()
public void test_TCU__testSerialization() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void test_TCM__List_getContent()
public void test_TCM__OrgJdomDocument_setContent_List()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |