public class DocumentCreatorTest
extends java.lang.Object
Constructor and Description |
---|
DocumentCreatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
testEmptyDocument()
Tests that no start- or end-element events result in
an empty document.
|
void |
testLineNumbers()
Tests that the generated nodes in the tree have the right
line and column numbers.
|
void |
testSingleElementDocument()
Tests that a single element source document results in
a single-element tree.
|
public void init() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public void testEmptyDocument() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void testSingleElementDocument() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void testLineNumbers() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.