Skip to content

Commit

Permalink
Bug 63480 - XPathAssertion and XPathAssertion2: Cover input coming fr…
Browse files Browse the repository at this point in the history
…om variable

Fix javadocs
Bugzilla Id: 63480

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1860791 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: d05b280cb471c812f4829a0127c3641df693d988
  • Loading branch information
pmouawad committed Jun 7, 2019
1 parent dca0e41 commit 9ff3f97
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/core/org/apache/jmeter/util/XPathUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ private static PrefixResolver getPrefixResolverForXPath2(Document document,Strin
* Validate xpathString is a valid XPath expression
* @param document XML Document
* @param xpathString XPATH String
* @param namespaces Space separated set of prefix=namespace
* @throws TransformerException if expression fails to evaluate
*/
public static void validateXPath2(Document document, String xpathString,String namespaces) throws TransformerException {
Expand Down Expand Up @@ -673,10 +674,11 @@ public static void computeAssertionResult(AssertionResult result,

/***
*
* @param result The result of xpath2 assertion
* @param xmlFile
* @param xPathQuery
* @param namespaces
* @param result The result of xpath2 assertion
* @param xmlFile XML data
* @param xPathQuery XPath Query
* @param namespaces Space separated set of prefix=namespace
* @param isNegated invert result
* @throws SaxonApiException
* @throws FactoryConfigurationError
*/
Expand Down

0 comments on commit 9ff3f97

Please sign in to comment.