aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qjson.c
AgeCommit message (Expand)AuthorFilesLines
2021-03-12tests: Move unit tests into a separate directoryThomas Huth1-1518/+0
2020-12-19qobject: Drop qstring_get_try_str()Markus Armbruster1-6/+5
2020-12-19qobject: Change qobject_to_json()'s value to GStringMarkus Armbruster1-29/+27
2020-12-19qobject: Fix qnum_to_string() to use sufficient precisionMarkus Armbruster1-4/+4
2020-12-19tests/check-qjson: Replace redundant large_number()Markus Armbruster1-44/+3
2020-12-19tests/check-qjson: Cover number 2^63Markus Armbruster1-2/+39
2020-12-19tests/check-qjson: Examine QNum more thoroughlyMarkus Armbruster1-3/+16
2020-12-19tests/check-qjson: Don't skip funny QNumber to JSON conversionsMarkus Armbruster1-30/+25
2020-11-17json: Fix a memleak in parse_pair()Alex Chen1-0/+9
2019-08-21test: Use g_strndup instead of plain strnduptony.nguyen@bt.com1-1/+1
2019-01-24json: Fix % handling when not interpolatingChristophe Fergeau1-0/+5
2018-10-09tests/check-qjson: fix a leakMarc-André Lureau1-0/+1
2018-08-24json: Support %% in JSON strings when interpolatingMarkus Armbruster1-2/+2
2018-08-24json: Improve safety of qobject_from_jsonf_nofail() & friendsMarkus Armbruster1-10/+7
2018-08-24qjson: Have qobject_from_json() & friends reject empty and blankMarkus Armbruster1-2/+10
2018-08-24json: Fix streamer not to ignore trailing unterminated structuresMarkus Armbruster1-4/+4
2018-08-24qjson: Fix qobject_from_json() & friends for multiple valuesMarkus Armbruster1-7/+3
2018-08-24json: Replace %I64d, %I64u by %PRId64, %PRIu64Markus Armbruster1-0/+10
2018-08-24json: Leave rejecting invalid interpolation to parserMarkus Armbruster1-1/+2
2018-08-24json: Pass lexical errors and limit violations to callbackMarkus Armbruster1-7/+8
2018-08-24json: Redesign the callback to consume JSON valuesMarkus Armbruster1-1/+0
2018-08-24check-qjson: Fix and enable utf8_string()'s disabled partMarkus Armbruster1-8/+3
2018-08-24json: Fix \uXXXX for surrogate pairsMarkus Armbruster1-2/+1
2018-08-24json: Reject invalid \uXXXX, fix \u0000Markus Armbruster1-30/+11
2018-08-24json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8")Markus Armbruster1-7/+1
2018-08-24json: Reject invalid UTF-8 sequencesMarkus Armbruster1-92/+45
2018-08-24check-qjson: Document we expect invalid UTF-8 to be rejectedMarkus Armbruster1-80/+71
2018-08-24json: Reject unescaped control charactersMarkus Armbruster1-5/+1
2018-08-24check-qjson: Cover interpolation more thoroughlyMarkus Armbruster1-60/+98
2018-08-24check-qjson qmp-test: Cover control characters more thoroughlyMarkus Armbruster1-6/+30
2018-08-24check-qjson: Fix utf8_string() to test all invalid sequencesMarkus Armbruster1-5/+28
2018-08-24check-qjson: Simplify utf8_string()Markus Armbruster1-44/+9
2018-08-24check-qjson: Cover UTF-8 in single quoted stringsMarkus Armbruster1-214/+215
2018-08-24check-qjson: Consolidate partly redundant string testsMarkus Armbruster1-50/+14
2018-08-24check-qjson: Cover escaped characters more thoroughly, part 2Markus Armbruster1-9/+53
2018-08-24check-qjson: Streamline escaped_string()'s test stringsMarkus Armbruster1-11/+1
2018-08-24check-qjson: Cover escaped characters more thoroughly, part 1Markus Armbruster1-39/+57
2018-08-24check-qjson: Cover whitespace more thoroughlyMarkus Armbruster1-1/+1
2018-08-24check-qjson: Cover blank and lexically erroneous inputMarkus Armbruster1-3/+37
2018-08-24check-qjson: Cover multiple JSON objects in same stringMarkus Armbruster1-0/+20
2018-08-16qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail()Markus Armbruster1-7/+8
2018-05-04qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau1-42/+42
2018-03-19qapi: Replace qobject_to_X(o) by qobject_to(X, o)Max Reitz1-20/+21
2018-02-09Include qapi/qmp/qstring.h exactly where neededMarkus Armbruster1-0/+1
2018-02-09qdict qlist: Make most helper macros functionsMarkus Armbruster1-0/+2
2018-02-09Eliminate qapi/qmp/types.hMarkus Armbruster1-1/+1
2017-09-04qlit: make qlit_equal_qobject return a boolMarc-André Lureau1-7/+7
2017-09-04qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject()Marc-André Lureau1-7/+7
2017-09-04qlit: use QLit prefix consistentlyMarc-André Lureau1-20/+20
2017-09-04qlit: move qlit from check-qjson to qobject/Marc-André Lureau1-95/+1