/** * Assert that the node lists of two Xpaths in two documents are equal * @param xpathOne * @param xpathTwo * @param controlDocument * @param testDocument * @see XpathEngine */ public static void assertXpathsEqual(String controlXpath, Document controlDocument, String testXpath, Document testDocument) throws XpathException { assertXpathEquality(controlXpath, controlDocument, testXpath, testDocument, true); }
/** * Assert that the node lists of two Xpaths in two documents are NOT equal * @param xpathOne * @param xpathTwo * @param document * @see XpathEngine */ public static void assertXpathsNotEqual(String controlXpath, Document controlDocument, String testXpath, Document testDocument) throws XpathException { assertXpathEquality(controlXpath, controlDocument, testXpath, testDocument, false); }
/** * Assert that the node lists of two Xpaths in two documents are equal * @param controlXpath * @param testXpath * @param controlDocument * @param testDocument * @see XpathEngine */ public static void assertXpathsEqual(String controlXpath, Document controlDocument, String testXpath, Document testDocument) throws XpathException { assertXpathEquality(controlXpath, controlDocument, testXpath, testDocument, true); }
/** * Assert that the node lists of two Xpaths in two documents are NOT equal * @param controlXpath * @param testXpath * @param controlDocument * @param testDocument * @see XpathEngine */ public static void assertXpathsNotEqual(String controlXpath, Document controlDocument, String testXpath, Document testDocument) throws XpathException { assertXpathEquality(controlXpath, controlDocument, testXpath, testDocument, false); }