public class DocumentCreatorTest extends 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 ParserConfigurationException, SAXException
public void testEmptyDocument() throws SAXException
SAXException
public void testSingleElementDocument() throws IOException, SAXException
IOException
SAXException
public void testLineNumbers() throws IOException, SAXException
IOException
SAXException
Copyright © 2010–2015 Planetary Data System. All rights reserved.