summaryrefslogtreecommitdiff
path: root/tests/pke-test-dummy.c
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-03-11 20:39:41 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-03-12 12:30:58 -0400
commit68ef51ed3247dc4e7bd5970b9279a7d6a938ca52 (patch)
tree169f75207bca7650a390ed812476ff3037978dae /tests/pke-test-dummy.c
parenteae4525970d5a689f09d82e1f73218cb16168b9b (diff)
pke: pke test scaffolding
Diffstat (limited to 'tests/pke-test-dummy.c')
-rw-r--r--tests/pke-test-dummy.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/pke-test-dummy.c b/tests/pke-test-dummy.c
new file mode 100644
index 0000000..ea92c34
--- /dev/null
+++ b/tests/pke-test-dummy.c
@@ -0,0 +1,22 @@
+
+#include "./pke-test-dummy.h"
+
+int pke_test_dummy_001() {
+ return 0;
+}
+
+struct pke_test_group *pke_test_dummy_get_group() {
+ static struct pke_test tests[1] = {
+ {
+ .title = "test 001",
+ .func = pke_test_dummy_001,
+ .expected_result = 0,
+ }
+ };
+ static struct pke_test_group group = {0};
+ group.title = "dummy test";
+ group.n_tests = 1;
+ group.tests = &tests[0];
+
+ return &group;
+}