FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fixed Matcher.hasXpath against multiple element by night-gale · Pull Request #337 · hamcrest/JavaHamcrest · GitHub

fixed Matcher.hasXpath against multiple element - #337

Open
night-gale wants to merge 2 commits into
hamcrest:masterfrom
night-gale:master
Open

fixed Matcher.hasXpath against multiple element#337
night-gale wants to merge 2 commits into
hamcrest:masterfrom
night-gale:master

Conversation

night-gale commented Apr 25, 2021
edited
Loading

Copy link
Copy Markdown

Fixes #323
323 mentioned that Matcher.hasXpath could have unexpected behavior when given an XML document with multiple elements of the same path. The reason is that current logic only evaluates a single element out of an XML doc. It is now fixed by letting the matcher first get all possible elements. Then if any of them matches, the result will be a match, otherwise failed.

Copy link
Copy Markdown
Member

Going to try and kick start hamcrest, so if you want to get it merged, please rebase from the branch v2.3-candidates.
Still trying to understand how has permissions to perform a release.

nhojpatrick force-pushed the master branch 2 times, most recently from 9bc653b to e9f7fc8 Compare February 13, 2022 17:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Matchers.hasXPath should handle valueMatcher against multiple elements

3 participants


Back | FazBrowse Home | New Git URL