aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.h
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.h
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.h')
-rw-r--r--src/test/test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h
index 26139fc5fe..91c8d3ebd3 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -178,6 +178,7 @@ extern struct testcase_t accounting_tests[];
extern struct testcase_t addr_tests[];
extern struct testcase_t address_tests[];
extern struct testcase_t address_set_tests[];
+extern struct testcase_t bridges_tests[];
extern struct testcase_t buffer_tests[];
extern struct testcase_t cell_format_tests[];
extern struct testcase_t cell_queue_tests[];