summaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-10 15:32:26 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-10 15:32:26 -0400
commit6bdfaa8b244ca3e10e57f6d99616af1d5f68fa67 (patch)
treea729843d38786f76d0314e14141a359c269cbc97 /src/test/test.h
parent6e467a7a340cdc0267206ebaf8dca54c1a4a7b0a (diff)
parent4178642bf83736d154176623ba8dce845a5b412c (diff)
downloadtor-6bdfaa8b244ca3e10e57f6d99616af1d5f68fa67.tar.gz
tor-6bdfaa8b244ca3e10e57f6d99616af1d5f68fa67.zip
Merge remote-tracking branch 'isis-github/bug25425_squashed2'
Diffstat (limited to 'src/test/test.h')
-rw-r--r--src/test/test.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h
index 02ec9bda89..34c6e46427 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -72,6 +72,14 @@
I64_PRINTF_TYPE, I64_FORMAT, \
{print_ = (I64_PRINTF_TYPE) value_;}, {}, TT_EXIT_TEST_FUNCTION)
+/**
+ * Declare that the test is done, even though no tt___op() calls were made.
+ *
+ * For use when you only want to test calling something, but not check
+ * any values/pointers/etc afterwards.
+ */
+#define tt_finished() TT_EXIT_TEST_FUNCTION
+
const char *get_fname(const char *name);
const char *get_fname_rnd(const char *name);
struct crypto_pk_t *pk_generate(int idx);
@@ -178,6 +186,7 @@ extern struct testcase_t accounting_tests[];
extern struct testcase_t addr_tests[];
extern struct testcase_t address_tests[];
extern struct testcase_t address_set_tests[];
+extern struct testcase_t bridges_tests[];
extern struct testcase_t buffer_tests[];
extern struct testcase_t cell_format_tests[];
extern struct testcase_t cell_queue_tests[];