gpgme/tests/json
Andre Heinecke 27ca12e815
tests,json: Fix match if the first child differs
* tests/json/t-json.c (test_contains): Try all siblings of
the haystack child.

--
This fixes the case where we don't match against the
first child because the order might have changed or
a new element was inserted at the top. Then we
have to try out also all the siblings.
2018-11-14 15:17:18 +01:00
..
t-config.in.json tests,json: Suffix .json to test pattern 2018-11-14 14:53:28 +01:00
t-config.out.json tests,json: Suffix .json to test pattern 2018-11-14 14:53:28 +01:00
t-createkey.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-createkey.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt-verify.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt-verify.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-delete.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-delete.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt-sign.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt-sign.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export-secret-info.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export-secret-info.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-json.c tests,json: Fix match if the first child differs 2018-11-14 15:17:18 +01:00
t-keylist-secret.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist-secret.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-verify.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-verify.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-version.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-version.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00