summaryrefslogtreecommitdiff
path: root/src/test/test_helpers.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-18 09:19:38 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-18 09:19:38 -0500
commit6cdb213b6cb9f682c3f72bba974f53f588d71b61 (patch)
treecb8baf0137e8ca104ed8da10738c217bb111beb9 /src/test/test_helpers.h
parent96211bcf714ac739f605dc0b5b8754418080591f (diff)
downloadtor-6cdb213b6cb9f682c3f72bba974f53f588d71b61.tar.gz
tor-6cdb213b6cb9f682c3f72bba974f53f588d71b61.zip
Combine test_helpers.[ch] and testhelper.[ch]
Diffstat (limited to 'src/test/test_helpers.h')
-rw-r--r--src/test/test_helpers.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/test_helpers.h b/src/test/test_helpers.h
index 2618e813ba..369243b459 100644
--- a/src/test/test_helpers.h
+++ b/src/test/test_helpers.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014, The Tor Project, Inc. */
+/* Copyright (c) 2014-2015, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#ifndef TOR_TEST_HELPERS_H
@@ -6,5 +6,12 @@
const char *get_yesterday_date_str(void);
+/* Number of descriptors contained in test_descriptors.txt. */
+#define HELPER_NUMBER_OF_DESCRIPTORS 8
+
+void helper_setup_fake_routerlist(void);
+
+extern const char TEST_DESCRIPTORS[];
+
#endif