aboutsummaryrefslogtreecommitdiff
path: root/changes/ticket25993
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-01 15:28:42 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-08 20:09:33 -0400
commit24ba5fd748a9a27a6069312961843d5f8f662f93 (patch)
tree80edf19f016082cf37481153c1fe7504ea8d2d4b /changes/ticket25993
parent5162cf50212ed8a55ec4c6c87b60b59348233d0b (diff)
downloadtor-24ba5fd748a9a27a6069312961843d5f8f662f93.tar.gz
tor-24ba5fd748a9a27a6069312961843d5f8f662f93.zip
More unit tests for addressmap_get_virtual_address().
Previously the coverage on this function was mostly accidental, coming as it did from test_entryconn.c. These new tests use mocking to ensure that we actually hit the different failure and retry cases of addressmap_get_virtual_address(), and make our test coverage a bit more deterministic. Closes ticket 25993.
Diffstat (limited to 'changes/ticket25993')
-rw-r--r--changes/ticket259934
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket25993 b/changes/ticket25993
new file mode 100644
index 0000000000..8eafcd1812
--- /dev/null
+++ b/changes/ticket25993
@@ -0,0 +1,4 @@
+ o Minor features (testing):
+ - We now have improved testing for addressmap_get_virtual_address()
+ function. This should improve our test coverage, and make our test
+ coverage more deterministic. Closes ticket 25993.