142143144145146147148149150151152
" Result :: " + result); if (!expected.equals(result)) { log(debug, " ## FAILED"); log(debug, " ## xpath: " + xpath + " = " + xpath.debug()); } assertEquals(xpathStr, expected, result); }
845846847848849850851852853854855
public void testDebug() throws JaxenException { BaseXPath xpath = new DOMXPath("/b/c"); assertEquals( "[(DefaultXPath): [(DefaultAbsoluteLocationPath): [(DefaultNameStep): b]/[(DefaultNameStep): c]]]", xpath.debug() ); } public void testGetRootExpr() throws JaxenException {
138139140141142143144145146147148
if (expectedSize != results.size()) { log(debug, " ## FAILED"); log(debug, " ## xpath: " + xpath + " = " + xpath.debug()); Iterator resultIter = results.iterator(); while (resultIter.hasNext()) { log(debug, " --> " + resultIter.next());
198199200201202203204205206207208
if (!expected.equals(result)) { log(debug, " ## FAILED"); log(debug, " ## xpath: " + xpath + " = " + xpath.debug()); } assertEquals(xpathStr, expected, result); }