summaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-06 20:42:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-06 20:42:18 -0400
commitd14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e (patch)
tree22ec019ac0043d6e004404af728037d033dbe7d5 /src/test/test.h
parentf36656cada48a2d9f51c857d8477a8060cb89b9d (diff)
downloadtor-d14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e.tar.gz
tor-d14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e.zip
Add unit test for ..get_start_of_next_voting_interval().
This functionality was covered only accidentally by our voting-test code, and as such wasn't actually tested at all. The tests that called it made its coverage nondeterministic, depending on what time of day you ran the tests. Closes ticket 26014.
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 15965ccaf4..0cd0304629 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -265,6 +265,7 @@ extern struct testcase_t tortls_tests[];
extern struct testcase_t util_tests[];
extern struct testcase_t util_format_tests[];
extern struct testcase_t util_process_tests[];
+extern struct testcase_t voting_schedule_tests[];
extern struct testcase_t dns_tests[];
extern struct testcase_t handle_tests[];
extern struct testcase_t sr_tests[];