diff options
author | Isis Lovecruft <isis@torproject.org> | 2018-03-05 20:43:26 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2018-04-09 19:32:46 +0000 |
commit | c2c5b13e5d8a77eeee36028940175f182fda1ec9 (patch) | |
tree | fc648e2f5f9f82f443dd705dc1ac02f71cdd900e /src/test/include.am | |
parent | 54e25ab124b4ebb50f1577483ac5c08f67e8b114 (diff) | |
download | tor-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/include.am')
-rw-r--r-- | src/test/include.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am index 1a49367c6b..7a3d056611 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -88,6 +88,7 @@ src_test_test_SOURCES = \ src/test/test_addr.c \ src/test/test_address.c \ src/test/test_address_set.c \ + src/test/test_bridges.c \ src/test/test_buffers.c \ src/test/test_cell_formats.c \ src/test/test_cell_queue.c \ |