/** * Assert that the result of an XML comparison is or is not identical * @param msg Message to display if assertion fails * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public void assertXMLIdentical(String msg, Diff diff, boolean assertion) { XMLAssert.assertXMLIdentical(msg, diff, assertion); }
/** * Assert that the result of an XML comparison is or is not identical * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public static void assertXMLIdentical(Diff diff, boolean assertion) { assertXMLIdentical(null, diff, assertion); }
/** * Assert that the result of an XML comparison is or is not identical * @param msg Message to display if assertion fails * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public void assertXMLIdentical(String msg, Diff diff, boolean assertion) { XMLAssert.assertXMLIdentical(msg, diff, assertion); }
/** * Assert that the result of an XML comparison is or is not identical * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public static void assertXMLIdentical(Diff diff, boolean assertion) { assertXMLIdentical(null, diff, assertion); }
/** * Assert that the result of an XML comparison is or is not identical * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public void assertXMLIdentical(Diff diff, boolean assertion) { XMLAssert.assertXMLIdentical(diff.toString(), diff, assertion); }
/** * Assert that the result of an XML comparison is or is not identical * @param diff the result of an XML comparison * @param assertion true if asserting that result is identical */ public void assertXMLIdentical(Diff diff, boolean assertion) { XMLAssert.assertXMLIdentical(diff.toString(), diff, assertion); }
public static void assertXMLIdentical(InputSource control, InputSource test, boolean entityReferencesExpanded) throws Exception { XMLAssert.assertXMLIdentical(XMLUnit.compareXML( parse(control, entityReferencesExpanded), parse(test, false)), true); } }