Patrik Helsing
bd5b682c7b
Make it possible to use isJson() and hasJsonPath() matchers directly on ReadContexts.
8 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
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
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
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
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
3fa51bdb96
strict and slack mode introduced.
14 years ago
kalle
e55e0a2aac
removed readOne from JsonPath
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
bd8f5e8ee8
improved java doc
14 years ago
kalle
bc605f738d
added some hamcrest matchers
14 years ago
kalle
91df636d12
use java scripting to eval path criteria
14 years ago