aboutsummaryrefslogtreecommitdiffstats
path: root/tests/json/t-json.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-11-14 14:15:21 +0000
committerAndre Heinecke <[email protected]>2018-11-14 14:15:21 +0000
commitdd4b80a5f640232bb44eb825ff5a74ec295fad10 (patch)
treebc0be5ea4e6064aecea3070841b3d1345bb42814 /tests/json/t-json.c
parenttests,json: Add wildcard string matching (diff)
downloadgpgme-dd4b80a5f640232bb44eb825ff5a74ec295fad10.tar.gz
gpgme-dd4b80a5f640232bb44eb825ff5a74ec295fad10.zip
tests,json: Add the bulk of tests
* t-json.c (tests): Register new tests. * t-createkey.in.json, t-createkey.out.json, t-decrypt-verify.in.json, t-decrypt-verify.out.json, t-decrypt.in.json, t-decrypt.out.json, t-delete.in.json, t-delete.out.json, t-encrypt-sign.in.json, t-encrypt-sign.out.json, t-encrypt.in.json, t-encrypt.out.json, t-export-secret-info.in.json, t-export-secret-info.out.json, t-export.in.json, t-export.out.json, t-json.c, t-keylist-secret.in.json, t-keylist-secret.out.json, t-keylist.in.json, t-keylist.out.json, t-verify.in.json, t-verify.out.json, t-version.in.json, t-version.out.json: New. -- Except for help and getmore there is now a test for each command.
Diffstat (limited to '')
-rw-r--r--tests/json/t-json.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/json/t-json.c b/tests/json/t-json.c
index f5b27939..1f45febd 100644
--- a/tests/json/t-json.c
+++ b/tests/json/t-json.c
@@ -36,7 +36,15 @@
#include "../../src/cJSON.h"
/* Register tests here */
-static const char*tests[] = { "t-keylist", "t-config", "t-keylist", NULL };
+static const char*tests[] = { "t-config", "t-version",
+ "t-keylist", "t-keylist-secret", "t-decrypt", "t-config-opt",
+ "t-encrypt", "t-encrypt-sign", "t-sign", "t-verify",
+ "t-decrypt-verify", "t-export", "t-createkey",
+ "t-export-secret-info",
+ /* For these two the order is important
+ * as t-import imports the deleted key from t-delete */
+ "t-delete", "t-import",
+ NULL };
static int verbose = 0;