aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* fix gcc/clang warning and unnecessary implicit type conversion to different ↵Toni Uhlig2020-03-13
| | | | | | | | | size/signedness (#187) * fixed gcc/clang warnings regarding implicit numeric to enum type conversion * fixed unnecessary implicit type casts regarding size and signedness Co-authored-by: Toni Uhlig <Toni.Uhlig@rohde-schwarz.com>
* Modernize (#149)Serge Zaitsev2019-04-20
| | | | | | | | | | | | | | | * add .clang-format for automated code formatting * automatic code formatting * move config.mk below all target to allow custom non-default build targets * add license to the top of the file * use correct header file guards syntax * convert to single-header, header-only library * update makefile to use jsmn as a header-only library * update readme * add changed from PR #143 * fix clang warnings * add changes from PR #142 * add consts as per PR #134
* strict checking fails a test, add {}s to fix itPaul Rubel2016-12-13
| | | | | | | The current test looks for success, but since there are no surrounding {}s the test fails. Add them in and add a test like the one that we replace but only in the non-strict code path.
* Changed unmatched bracket testspt3002016-10-02
|
* some tests for unmatched brackets addedzlolik2016-10-02
|
* Fix typosFeram2016-06-13
|
* tests: fix test_object JSMN_PRIMITIVE bugJon Simons2016-04-01
| | | | | | Specify the argument after JSMN_PRIMITIVE as "0" instead of 0 so that weird things don't happen on OSX due to using it later with `va_arg(..., char *)` in `vtokeq`.
* fixed privitive value typo in testsSerge A. Zaitsev2015-10-31
|
* initialized ok variable in tests, parse should still return 1 if expected ↵Serge A. Zaitsev2015-10-31
| | | | result is a failure
* fixed a typo in the test nameSerge A. Zaitsev2015-10-31
|
* added and marked as fixme tests for false positives in objectsSerge A. Zaitsev2015-10-17
|
* added another test of invalid arraySerge A. Zaitsev2015-10-17
|
* added another test of invalid arraySerge A. Zaitsev2015-10-17
|
* added issue 27 test caseSerge A. Zaitsev2015-10-17
|
* moved tests into a subfolder, added table-driven testsSerge A. Zaitsev2015-10-17