aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-03-05 20:43:26 +0000
committerIsis Lovecruft <isis@torproject.org>2018-04-09 19:32:46 +0000
commitc2c5b13e5d8a77eeee36028940175f182fda1ec9 (patch)
treefc648e2f5f9f82f443dd705dc1ac02f71cdd900e /src/test/test.c
parent54e25ab124b4ebb50f1577483ac5c08f67e8b114 (diff)
downloadtor-c2c5b13e5d8a77eeee36028940175f182fda1ec9.tar.gz
tor-c2c5b13e5d8a77eeee36028940175f182fda1ec9.zip
test: Add testing module and some unittests for bridges.c.
This roughly doubles our test coverage of the bridges.c module. * ADD new testing module, .../src/test/test_bridges.c. * CHANGE a few function declarations from `static` to `STATIC`. * CHANGE one function in transports.c, transport_get_by_name(), to be mockable. * CLOSES #25425: https://bugs.torproject.org/25425
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 2712de4ed1..c9c6468909 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -1185,6 +1185,7 @@ struct testgroup_t testgroups[] = {
{ "addr/", addr_tests },
{ "address/", address_tests },
{ "address_set/", address_set_tests },
+ { "bridges/", bridges_tests },
{ "buffer/", buffer_tests },
{ "cellfmt/", cell_format_tests },
{ "cellqueue/", cell_queue_tests },