stleary / JSON-Java-unit-test

Junit test harness to validate the JSON-Java GitHub project code.
Apache License 2.0
28 stars 45 forks source link

Populate map more strict #75

Closed johnjaylward closed 7 years ago

johnjaylward commented 7 years ago

Test cases for https://github.com/stleary/JSON-java/pull/354

This also reorganizes some test objects to be placed into a sub-package easier eyeballing of test cases vs test objects.

stleary commented 7 years ago

@johnjaylward getting test errors after merging this commit and JSON-Java https://github.com/stleary/JSON-java/pull/354. Can you investigate?

johnjaylward commented 7 years ago

Sure

johnjaylward commented 7 years ago

Fixed in #77.

The problem was that gradle was running the tests twice in the same classloader. So the single was modified from the expected values the second time around. the updated config should fix that.