Zach
638273af7a
long circle test
2021-11-17 19:41:00 -06:00
Zach
1ffcf3915c
successful test
2021-11-17 19:35:53 -06:00
Zach
4565bddcbb
data class for recursive test
2021-11-17 17:23:40 -06:00
katldewitt
3ed9154f63
fix: refactor tests
...
context: the backslash unit tests cannot be in the complete document as uriFragmentNotationRoot() will fail due to backslash handling
2021-10-28 05:59:22 -07:00
katldewitt
669316d29e
chore: write unit tests for behavior
2021-10-28 05:45:23 -07:00
katldewitt
30a70c8886
chore: initial unit tests
2021-10-24 08:41:57 -07:00
sreekesh93
9000901a11
Fix test to support oreder mismatch
2021-10-11 19:55:31 +05:30
sreekesh93
f03eb56071
Fix test to support oreder mismatch
2021-10-11 19:46:27 +05:30
sreekesh93
b4bbc58644
Refactor JSONPointerTest
2021-10-11 10:42:31 +05:30
Liam Miller-Cushon
8ca8a80753
Fix some typos
2021-08-25 13:56:44 -07:00
stleary
8680b10716
merge from master to pick up #616 and add one more test
2021-07-26 18:07:38 -05:00
stleary
2559114dbb
Merge branch 'master' into fix-similar-check
2021-07-26 17:53:20 -05:00
John Aylward
579784d73e
correct error in converting doubles to big decimals
2021-07-22 23:46:31 -04:00
John Aylward
c03054b1a6
Add test to show bug
2021-07-22 22:57:15 -04:00
John Aylward
4e0faebe62
fix javadoc errors that prevent compilation in Eclipse
2021-07-22 22:54:46 -04:00
stleary
c6089e53f5
Fixes Issue #611 JsonArray.similar() returns after number entry check
2021-07-18 19:53:23 -05:00
stleary
cfbc306673
Fixes Issue #611 JsonObject.similar() returns after number entry check
2021-07-18 10:32:49 -05:00
Niels Frederiksen
f91d0c8a52
New JSONObject.optJSONObject method with defaultValue parameter
2021-06-23 15:15:00 +02:00
stleary
76ec2fe5a2
Revert accidentally changed file
2021-06-22 19:46:33 -05:00
stleary
8f3e5ade18
Add logo image
2021-06-22 19:34:22 -05:00
Ian Lovejoy
75894086e5
Fixed incorrect cast getting float from array
...
Added test for getting float from array
2021-04-27 19:03:35 -07:00
Shashank Sabniveesu
d6ccc64c79
Closes 563: As never defined in RFC 6901 Section 3, do not handle backslashes (\) and quotes(") as anything special
2021-02-28 16:03:14 -05:00
Stranck
efad1d73a7
Added UnitTests
...
(I hope they works :c)
2020-12-04 04:09:19 +01:00
John J. Aylward
e4b76d6588
Add test to demonstrate the issue. See #573
2020-11-19 18:18:27 -05:00
Rahul Kumar
56d4130a86
Added shallow copy for config map
2020-09-06 11:17:10 +05:30
Rahul Kumar
310f18fcdc
Addressed comment
2020-09-03 11:17:10 +05:30
Rahul Kumar
0a8091c954
Added documentation
2020-08-05 22:25:45 +05:30
Rahul Kumar
61c1a882d6
Added configuration support for type conversion using Map
2020-08-03 08:54:59 +05:30
Rahul Kumar
250f74ef4d
Added type conversion support
2020-08-03 08:18:20 +05:30
John J. Aylward
f37c2d67c5
Update for JSONArray.putAll methods
...
* Adds a copy constructor for JSONArray
* Updates the JSONArray.addAll(Object) method to be more lenient
* Adds support for JSONArray.putAll of generic Iterables
* Adds support for JSONArray.putAll of another JSONArray
2020-07-30 10:10:06 -04:00
Sean Leary
870fa03a19
Merge pull request #529 from ethauvin/master
...
Added putAll(Collection) and putAll(Array) methods.
2020-07-25 12:45:44 -05:00
stleary
98cd8ef8b2
fix CI build error
2020-07-24 03:24:41 -05:00
Sean Leary
78528102d0
Merge pull request #543 from johnjaylward/RefactorXmlConfiguration
...
Refactor XMLConfiguration to use Builder Pattern
2020-07-24 02:49:28 -05:00
Sean Leary
0e34d8d383
Merge pull request #539 from stleary/unit-tests-1.6
...
Bring Junit tests to Java 1.6 compatibility
2020-07-24 02:48:38 -05:00
Erik C. Thauvin
0d13e56064
Added tests for consecutive calls to putAll.
2020-07-21 23:09:28 -07:00
John J. Aylward
4f1c8b2d6f
formatting
2020-07-21 11:30:35 -04:00
John J. Aylward
5a31f9ef5f
Refs #541
...
Updates XML configuration to use a builder pattern instead of
constructors with many parameters
2020-07-21 11:08:40 -04:00
John J. Aylward
e0a6c2ef34
refs #537 Show error when unescaping all-caps entity directly
2020-07-20 18:36:52 -04:00
John J. Aylward
c98da43184
Refs #537 Add test cases to verify no issue
2020-07-20 18:25:51 -04:00
John J. Aylward
734f182242
Update error messages to use the built in assertEquals
2020-07-20 18:25:22 -04:00
stleary
c63e78bbc7
initial commit
2020-07-18 17:14:39 -05:00
John J. Aylward
f9908a6adb
adds comment on test case to document why it was added.
2020-06-25 11:51:46 -04:00
John J. Aylward
ba6c4089ea
fixes #531
...
Add test result to confirm that #531 is working in latest version.
2020-06-25 11:42:07 -04:00
Sean Leary
9de97438ac
Merge pull request #524 from viveksacademia4git/i516-JSONArray-ConstructParam-InitCapacity
...
Development for stleary#516 completed with rebased repository
2020-06-12 10:48:21 -05:00
John J. Aylward
c11c006e88
fix tests to not depend on HashSet key order
2020-06-05 19:09:10 -04:00
stleary
cf00d2f265
initial commit
2020-06-03 21:12:19 -05:00
John J. Aylward
b6ed0d4178
fix failing test case in Java1.7
2020-06-03 19:37:08 -04:00
vivek
d088cf014e
Development for stleary#516 completed with rebased repository
...
- Introduced JSONObject(int) constructor.
- int > Initial capacity of the underlying data structure
- Test for new introduced JSONArray(int) constructor.
1. Checked with input parameter: 0
2. Checked with input parameter: positive number
3. Checked with positive number input parameter and compared length
4. If input parameter is negative number JSONException is thrown:
JSONArray initial capacity cannot be negative.
2020-06-03 11:46:48 +02:00
Sean Leary
19bb6fd606
Merge pull request #453 from johnjaylward/UseBigDecimalDefaultParse
...
changes number parsing to use BigDecimal as the backing type
2020-06-01 14:03:04 -05:00
John J. Aylward
56d33b8061
changes number parsing to use BigDecimal as the backing type
...
* updated tests to support BigDecimal as the backing type for numbers
* updated some test resource handling to java7 try-with-resources format
* cleaned up some other minor compiler warnings
2020-05-26 10:10:36 -04:00