| |||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
nu.xom.tests
contains the JUnit
based test suite for XOM.
See:
Description
Class Summary | |
XOMTestCase | Provides utility methods to compare nodes for deep equality in an infoset sense. |
nu.xom.tests
contains the JUnit
based test suite for XOM. JUnit 3.7 or later is required.
(Earlier versions don't have the assertTrue
method
these tests depend on.)
The XOMTests
class runs all the tests, except those that
take an exceptionally long time to run (MegaTest
).
Some of the tests, especially the builder tests,
depend on the underlying parser, and are known to fail
if the parser is buggy. Xerces 2.6.1 is the only parser which is currently
known to be able to run all the tests. Earlier versions of Xerces 2.x
cannot successfully run all the tests.
The IBM JVM 1.4.1 bundles an earlier version of Xerces which overrides the one bundled with XOM.
For this reason, a few tests will fail when using that VM. All tests should pass when using the
Sun VMs.
There are numerous public classes and methods in this package because JUnit requires
all test cases to be public. However, the only published class is
XOMTestCase
which provides methods for asserting the equality
of documents, elements, processing instructions, and other node types.
This may be useful for your own tests. The remainder of this package
should be treated as unstable and your code should not depend on it.
| |||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |