Patrik Helsing
bd5b682c7b
Make it possible to use isJson() and hasJsonPath() matchers directly on ReadContexts.
8 years ago
Patrik Helsing
ba7189c688
Get rid of Java 7 dependencies
9 years ago
Patrik Helsing
3406213da1
Removing redundant boiler plate
9 years ago
Patrik Helsing
59a1c82b18
Make it possible to correctly assert on path to null value.
9 years ago
Patrik Helsing
6823a7de1d
hasJsonPath("path.to.empty.array") will match, e.g return true
9 years ago
Patrik Helsing
6f485c8df2
Empty json arrays and empty json objects are considered valid json.
9 years ago
Bharath
76e35efb1e
added implementation for assertEquals(String path, T expected, String message)
9 years ago
kallestenflo
c87d333d1e
Update README.md
9 years ago
Patrik Helsing
84211599bf
[ #119 ] Added methods hasNoJsonPath() and withoutJsonPath(). Updated README
9 years ago
Patrik Helsing
27137211a6
[ #119 ] Added README with usage examples
9 years ago
Patrik Helsing
3b273503ff
[ #119 ] Some minor refactoring to reduce amount of code, and collect the factory methods in JsonPathMatchers
9 years ago
Patrik Helsing
015723787c
[ #119 ] First implementation of hamcrest-matchers
9 years ago
Kalle Stenflo
05dff6ac0b
Undeprecated Assert classes.
9 years ago
Kalle Stenflo
f6999a3c80
Deprecated JsonAssert.
9 years ago
Alexey Makeyev
4642a09ae6
corrected way to specify cause of AssertionError
9 years ago
Alexey Makeyev
22bd223f58
java 6 support
...
also, to run tests you have to downgrade org.assertj:assertj-core to 1.7.0
9 years ago
Elias Ross
fb9c621e5c
unescape strings in comparison, to deal with tabs, etc.
9 years ago
Elias Ross
c759a20188
Allow JSON values to be directly used in criteria matching
...
This is useful for matching against arrays of primitives, for example.
9 years ago
Matt Greenwood
528b97c2ec
reverting lotto.json formatting
10 years ago
Matt Greenwood
d38ec66af2
reverting lotto.json formatting
10 years ago
Matt Greenwood
6c083d3a51
reverted change to lotto.json, added test case for functions in predicates
10 years ago
Matt Greenwood
89e71a9353
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
Kalle Stenflo
75b428c6fc
Fixed imports.
10 years ago
Kalle Stenflo
3cb6d6b1de
Added EvaluationListener support.
10 years ago
Kalle Stenflo
0635cfaa97
Gradle build cleanup.
10 years ago
Kalle Stenflo
bca1e6a046
Gradle build migration.
10 years ago
Kalle Stenflo
8a2969e6fc
[maven-release-plugin] prepare for next development iteration
10 years ago
Kalle Stenflo
905a9e49c5
[maven-release-plugin] prepare release json-path-parent-1.1.0
10 years ago
Kalle Stenflo
e3c1673f19
Invalid path detection improved..
10 years ago
Kalle Stenflo
3a36b87b40
[maven-release-plugin] prepare for next development iteration
10 years ago
Kalle Stenflo
3452952fdc
[maven-release-plugin] prepare release json-path-1.0.0
10 years ago
Kalle Stenflo
81ed41c70a
Added Apache License header to files.
10 years ago
Jochen Berger
0289ac00c4
replace usage of JsonProviderFactory in other modules
10 years ago
Kalle Stenflo
3386f1ab28
Clean up tests.
10 years ago
Kalle Stenflo
39a8f8e41e
Wrong assert made in test.
10 years ago
Kalle Stenflo
4194ac3e7e
Clean up.
10 years ago
Epimenidis Voutsakis
71c92474de
- Fix non-existent import
...
- Add tests for assertEquals() methods with integer arguments, both success and failing cases.
- Altered JsonAsserterImpl.java so that assertEquals() still returns AssertionError when invalid field or other reading exception.
11 years ago
Kalle Stenflo
c88638c4ef
Fixed issues
11 years ago
Kalle Stenflo
20511b5cfc
Optimized imports and removed file headers.
11 years ago
Kalle Stenflo
c2193d8663
Updated com.fasterxml.jackson.core to 2.4.0
11 years ago
Kalle Stenflo
608c1a77be
Rewrite intenals.
11 years ago
Kalle Stenflo
4461e4c74f
[maven-release-plugin] prepare for next development iteration
11 years ago
Kalle Stenflo
49e667f6fd
[maven-release-plugin] prepare release json-path-0.9.1
11 years ago
Johan Haleby
d09a9a6275
[maven-release-plugin] prepare for next development iteration
11 years ago
Johan Haleby
c0a1649927
[maven-release-plugin] prepare release json-path-0.9.0
11 years ago
Kalle Stenflo
b3dd129088
found issues.
12 years ago
Kalle Stenflo
77e18924f9
Added internal logging support.
12 years ago
Kalle Stenflo
ba29e7e0a1
Improved list filter. Updated POM files.
12 years ago
Jochen Berger
d37f53e7e2
the equals operator is '==', not '='
12 years ago
Sarath Chandra
f466a0b6c5
Add "message" param and print path (that failed)
...
in asserts, the failure (default) messaging is inadequate. It doesnot
even print the path that failed. this path should help eloberate the
messaging
12 years ago