Bharath
76e35efb1e
added implementation for assertEquals(String path, T expected, String message)
9 years ago
Patrik Helsing
84211599bf
[ #119 ] Added methods hasNoJsonPath() and withoutJsonPath(). Updated README
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
e3c1673f19
Invalid path detection improved..
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.
10 years ago
Kalle Stenflo
c88638c4ef
Fixed issues
10 years ago
Kalle Stenflo
20511b5cfc
Optimized imports and removed file headers.
11 years ago
Kalle Stenflo
608c1a77be
Rewrite intenals.
11 years ago
Kalle Stenflo
b3dd129088
found issues.
11 years ago
Jochen Berger
d37f53e7e2
the equals operator is '==', not '='
11 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
alfthomas
49e8640ea8
Underlying net.minidev.json.parser.JsonParser is not threadsafe
12 years ago
Kalle Stenflo
c0aec497a6
Release preparations.
13 years ago
Kalle Stenflo
5b56bcf8dc
Fixed InvalidPathException bug.
13 years ago
Kalle Stenflo
242b724baf
Refactored code structure.
...
Added licence heade
Continued SPI work
Added File, InputStream, URL readers
13 years ago
kalle
f7a506434b
Added Jackson provider
13 years ago
kalle
62cdd166c0
Major code clean up.
13 years ago
kalle
a5e0d27304
Refactored split path.
13 years ago
kalle
b3c2df0928
URL fixed in pom. Added tests
14 years ago
kalle
3fa51bdb96
strict and slack mode introduced.
14 years ago
kalle
e55e0a2aac
removed readOne from JsonPath
14 years ago
Johan Haleby
ebc3bedc44
Added some more tests
14 years ago
kalle
4e4e15f515
changed hamcrest dependency from hamcrest-all to hamcrest-library
14 years ago
kalle
8f695ae262
improved path parsing
14 years ago
kalle
c01457fad2
improved tests
14 years ago
kalle
bd8f5e8ee8
improved java doc
14 years ago
kalle
bc605f738d
added some hamcrest matchers
14 years ago
kalle
e1de6a7086
code cleanup
14 years ago
kalle
91df636d12
use java scripting to eval path criteria
14 years ago