From 24ba5fd748a9a27a6069312961843d5f8f662f93 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 1 May 2018 15:28:42 -0400 Subject: 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. --- changes/ticket25993 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/ticket25993 (limited to 'changes/ticket25993') 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. -- cgit v1.2.3-54-g00ecf