nu.xom.tests
Class DOMConverterTest
java.lang.Object
TestCase
nu.xom.tests.XOMTestCase
nu.xom.tests.DOMConverterTest
public class DOMConverterTest
- extends XOMTestCase
Basic tests for conversion from DOM trees to XOM trees
and back again.
- Version:
- 1.1b2
- Author:
- Elliotte Rusty Harold
Methods inherited from class nu.xom.tests.XOMTestCase |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMConverterTest
public DOMConverterTest(java.lang.String name)
setUp
protected void setUp()
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
testToDOM
public void testToDOM()
testToXOM
public void testToXOM()
testDefaultNamespacedElement
public void testDefaultNamespacedElement()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testPrefixedElement
public void testPrefixedElement()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertAttr
public void testConvertAttr()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertElement
public void testConvertElement()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertComment
public void testConvertComment()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertText
public void testConvertText()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertCDATASection
public void testConvertCDATASection()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertProcessingInstruction
public void testConvertProcessingInstruction()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertDocType
public void testConvertDocType()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertInternalDTDSubset
public void testConvertInternalDTDSubset()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testConvertDocTypePublicAndSystemIdentifier
public void testConvertDocTypePublicAndSystemIdentifier()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testChildElementAddsNamespace
public void testChildElementAddsNamespace()
testChildElementUsesSameNamespace
public void testChildElementUsesSameNamespace()
testPrefixMappingChanges
public void testPrefixMappingChanges()
testConvertDocumentFragment
public void testConvertDocumentFragment()
testWolfgang
public void testWolfgang()
throws nu.xom.ParsingException,
java.io.IOException
- Throws:
nu.xom.ParsingException
java.io.IOException
testConvertNullXOMDocument
public void testConvertNullXOMDocument()
testConvertNullDOMElement
public void testConvertNullDOMElement()
testConvertNullDOMDocument
public void testConvertNullDOMDocument()
testFullHoschek
public void testFullHoschek()
throws nu.xom.ParsingException,
java.io.IOException
- Test a bug in a document provided by Wolfgang Hoschek.
- Throws:
nu.xom.ParsingException
java.io.IOException
testSimplifiedHoschekDOMToXOM
public void testSimplifiedHoschekDOMToXOM()
throws org.xml.sax.SAXException,
java.io.IOException
- Test a bug in identified by Wolfgang Hoschek.
- Throws:
org.xml.sax.SAXException
java.io.IOException
testChildNodesRemainChildNodes
public void testChildNodesRemainChildNodes()
throws nu.xom.ParsingException,
java.io.IOException
- Throws:
nu.xom.ParsingException
java.io.IOException
testLastChildNodeIsLeafNode
public void testLastChildNodeIsLeafNode()
throws nu.xom.ParsingException,
java.io.IOException
- Throws:
nu.xom.ParsingException
java.io.IOException
testNamespaceAttributes
public void testNamespaceAttributes()
testConvertSingleElementDocumentFromXOMToDOM
public void testConvertSingleElementDocumentFromXOMToDOM()
testConvertSingleElementDocumentFromDOMToXOM
public void testConvertSingleElementDocumentFromDOMToXOM()
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
testConvertXMLSpaceAttributeFromXOMToDOM
public void testConvertXMLSpaceAttributeFromXOMToDOM()
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
testConvertXMLPrefixedElementFromXOMToDOM
public void testConvertXMLPrefixedElementFromXOMToDOM()
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
testDeepConvert
public void testDeepConvert()
Copyright 2002-2005 Elliotte Rusty Harold
elharo@metalab.unc.edu