diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-10 15:07:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-10 15:26:34 -0400 |
commit | ec6c155f827000e337796f1f1c54299fbc5cf72a (patch) | |
tree | e165ed24d0bc530ab25710214e0a63e2f052ed1e /src/test/test.c | |
parent | b6e8c74667cf723c5ef4d081fc901752e05f9a9b (diff) | |
download | tor-ec6c155f827000e337796f1f1c54299fbc5cf72a.tar.gz tor-ec6c155f827000e337796f1f1c54299fbc5cf72a.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 7721d2c730..d7d4c6c062 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 }; |