public final class XMLAssertEx extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertXMLIdentical(InputSource control,
InputSource test,
boolean entityReferencesExpanded) |
static void |
assertXMLIdentical(URL control,
InputStream test,
boolean entityReferencesExpanded)
Asserts that the two documents are identical.
|
public static void assertXMLIdentical(URL control, InputStream test, boolean entityReferencesExpanded) throws Exception
control - the control (expected) documenttest - the test (actual) document; this document is parsed any references to external
entities are resolved in the same way as for the control documententityReferencesExpanded - indicates whether in the test document, entity references have been expandedExceptionpublic static void assertXMLIdentical(InputSource control, InputSource test, boolean entityReferencesExpanded) throws Exception
ExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.