summaryrefslogtreecommitdiff
path: root/tests/test_json_pointer.c
Commit message (Collapse)AuthorAgeFilesLines
* Improved support for IBM operating systemsDavid McCann2020-05-141-5/+5
| | | | Fix compiler errors and warnings when building on IBM operating systems such as AIX and IBM i.
* clang-format the filesdota172020-04-031-16/+21
|
* add the disabling formatting coments and adjust the partial code manulydota172020-04-031-24/+28
|
* update testcase and delete debug -O0 builddota172020-03-021-3/+1
|
* modify json-c default build type, and fix up the assert() errors in testcasedota172020-02-291-0/+5
|
* update pointer test casedota172020-01-021-0/+27
|
* Fix some Windows compile issues, add JSON_EXPORT's, fix bogus character ↵Eric Haszlakiewicz2019-11-231-2/+2
| | | | escapes, define __func__ and omit unistd.h if needed.
* PR #336: since we can't use function overriding (due to problems with it onEric Haszlakiewicz2017-07-151-0/+3
| | | | | OSX) always include the _json_c_strerror function but only enable it with a flag during tests.
* build: make `strerror()` override-ableAlexandru Ardelean2017-07-131-1/+1
| | | | | | | | | | | | | | | If we want to override `strerror()` in libjson-c to make tests consistent across platforms, we need to do it build-wide as configure/build option. Apple linkers make it really hard to override functions at link-time, and this seems to be locked down on travis-ci.org [ for security reasons I assume ]. While I got it to work locally, it did not work when running on travis. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Change a memcpy that should be a memmove within json_pointer_get, and fix ↵Eric Haszlakiewicz2016-12-181-4/+10
| | | | memory leaks in of one the json_pointer tests.
* test_json_pointer: update test with a few printf variantsAlexandru Ardelean2016-11-221-1/+12
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* tests: add test_json_pointer testAlexandru Ardelean2016-11-041-0/+272
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>