aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-10 15:07:32 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-10 15:26:34 -0400
commitec6c155f827000e337796f1f1c54299fbc5cf72a (patch)
treee165ed24d0bc530ab25710214e0a63e2f052ed1e /src/test/test.c
parentb6e8c74667cf723c5ef4d081fc901752e05f9a9b (diff)
downloadtor-ec6c155f827000e337796f1f1c54299fbc5cf72a.tar
tor-ec6c155f827000e337796f1f1c54299fbc5cf72a.tar.gz
Add some basic unit tests for the circuit map data structure.
These show off the new mocking code by mocking the circuitmux code so that we can test the circuit map code in isolation.
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 7721d2c73..d7d4c6c06 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -2132,6 +2132,7 @@ extern struct testcase_t config_tests[];
extern struct testcase_t introduce_tests[];
extern struct testcase_t replaycache_tests[];
extern struct testcase_t cell_format_tests[];
+extern struct testcase_t circuitlist_tests[];
static struct testgroup_t testgroups[] = {
{ "", test_array },
@@ -2147,6 +2148,7 @@ static struct testgroup_t testgroups[] = {
{ "config/", config_tests },
{ "replaycache/", replaycache_tests },
{ "introduce/", introduce_tests },
+ { "circuitlist/", circuitlist_tests },
END_OF_GROUPS
};