summaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-11 18:34:29 -0500
committerNick Mathewson <nickm@torproject.org>2016-04-19 14:07:43 -0400
commite015f7c9ccbbb6d857e23ff419528729e44fff93 (patch)
tree4a06cbcdb95a8d27f1245e30ab5699fc21d9645f /src/test/test.c
parent7123e9706e424c2a0561ad81db3ef9e4073df30c (diff)
downloadtor-e015f7c9ccbbb6d857e23ff419528729e44fff93.tar.gz
tor-e015f7c9ccbbb6d857e23ff419528729e44fff93.zip
Basic 'handle' implementation and tests.
This abstraction covers the case where one part of the program needs to refer to another object that is allowed to disappear.
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c
index ed167a3e67..3519dcadb0 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -1177,6 +1177,7 @@ extern struct testcase_t util_tests[];
extern struct testcase_t util_format_tests[];
extern struct testcase_t util_process_tests[];
extern struct testcase_t dns_tests[];
+extern struct testcase_t handle_tests[];
struct testgroup_t testgroups[] = {
{ "", test_array },
@@ -1231,6 +1232,7 @@ struct testgroup_t testgroups[] = {
{ "util/logging/", logging_tests },
{ "util/process/", util_process_tests },
{ "util/thread/", thread_tests },
+ { "util/handle/", handle_tests },
{ "dns/", dns_tests },
END_OF_GROUPS
};