Commit Graph

19 Commits

Author SHA1 Message Date
Andrew Twyman
7a947c1e2f Remove extraneous parentheses 2016-07-28 22:42:01 -07:00
Andrew Twyman
200c98aede Allow json11 tests to be customized with pre-processor defines 2016-07-28 22:27:43 -07:00
Andrew Twyman
a20878aaa5 Make the DR1467 canary test code optional 2016-05-18 18:36:58 -07:00
Andrew Twyman
4597f98abe Fix sign comparison warnings, and parser confusion 2016-05-18 18:31:52 -07:00
Evgeniy A. Dushistov
33bca8e178 implement parsing of chunked json
Update: add more tests + use parser.failed
2016-04-27 23:37:17 +03:00
Antonio Cervone
49a6197d08 use an enum to select strategy on comment parsing 2015-12-01 11:08:37 +01:00
Antonio Cervone
f9833b1e7d add test for unfinished multi-line comment 2015-12-01 11:01:47 +01:00
Antonio Cervone
c6c6fcfeff add test for inline comment without trailing newline 2015-12-01 11:01:27 +01:00
Antonio Cervone
aa270ad5b7 fix test where the trailing / was not reached due to a previous error 2015-12-01 11:00:58 +01:00
Antonio Cervone
982b2d8885 improve testing for bad inline comments 2015-12-01 11:00:11 +01:00
Antonio Cervone
f21b8c360e add malformed comment tests.
add 3 testes for:
- unended multi-line comment,
- malformed single-line comment,
- trailing slash
2015-11-30 12:43:40 +01:00
Antonio Cervone
d292fce9f2 improve comment test.
test also for nested and mixed comments.
whitespaces/newlines are already intermixed between comments.
2015-11-30 12:42:24 +01:00
Antonio Cervone
882feb56ac add bool to detect comments as run-time option. 2015-11-30 12:27:35 +01:00
Antonio Cervone
de098c4d52 add testing for comment functionality 2015-11-27 16:46:18 +01:00
Paul C Roberts
a021c3fbe2 Fixes bug in parse_from_stdin
Handles end of file correctly
2015-08-19 15:00:12 -07:00
Andrew Twyman
61ba0a1dd2 Make test.cpp compilable with GCC.
Add clean rule to Makefile.
2015-06-17 18:02:34 -07:00
Andrew Twyman
50ed8c90e5 Test to demonstrate compiler behavior change in Xcode 7 / clang 3.7. 2015-06-17 15:02:22 -07:00
Jacob Potter
979cb4ca76 Add LICENSE.txt; some minor cleanups
- Add LICENSE.txt
- Add a comment about how we handle numbers
- Add more test code
- Fix a narrowing-conversion issue
- Fix a comment typo
2013-10-01 19:05:12 -07:00
Jacob Potter
fe5e2167a5 Initial commit 2013-09-06 15:07:12 -07:00