public class XMLTest
extends junit.framework.TestCase
Constructor and Description |
---|
XMLTest(String name)
Construct the test case for the XML class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testAddObject()
Test the
XML.add(Node,String,Object) method. |
void |
testAddString()
Test the
XML.add(Node,String,String) method. |
void |
testDocumentCreation()
Test the
XML.createDocument() method. |
void |
testDOM()
Test the
XML.createDOMParser() and XML.serialize(org.w3c.dom.Document, boolean) methods. |
void |
testDump()
Test the
XML.dump(PrintWriter,Node) method. |
void |
testEscape()
Test the
XML.escape(java.lang.String) method. |
void |
testGetDOMImplementation()
Test the
XML.getDOMImplementation() method. |
void |
testSAXParser()
Test the
XML.createSAXParser() method. |
void |
testUnwrappedText()
Test the
XML.unwrappedText(org.w3c.dom.Node) method. |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public XMLTest(String name)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testDocumentCreation()
XML.createDocument()
method.public void testDOM() throws Exception
XML.createDOMParser()
and XML.serialize(org.w3c.dom.Document, boolean)
methods.Exception
public void testSAXParser() throws Exception
XML.createSAXParser()
method.Exception
public void testDump() throws Exception
XML.dump(PrintWriter,Node)
method.Exception
public void testUnwrappedText() throws Exception
XML.unwrappedText(org.w3c.dom.Node)
method.Exception
public void testAddString() throws Exception
XML.add(Node,String,String)
method.Exception
public void testAddObject() throws Exception
XML.add(Node,String,Object)
method.Exception
public void testEscape()
XML.escape(java.lang.String)
method.public void testGetDOMImplementation()
XML.getDOMImplementation()
method.Copyright © 1999–2017 Apache OODT. All rights reserved.