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 expandedException
public static void assertXMLIdentical(InputSource control, InputSource test, boolean entityReferencesExpanded) throws Exception
Exception
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.