diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-03-08 09:41:43 -0600 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-06-11 11:59:30 -0400 |
commit | a8c0f4ddfe3f0a63bd499959c8d921346aa9766e (patch) | |
tree | 50793b2860d2ce1532cf23197957c2c22e10aa96 /src/test/test_helpers.h | |
parent | a8a0144d1183a3598bffe6c552507c9dcbdcd474 (diff) | |
download | tor-a8c0f4ddfe3f0a63bd499959c8d921346aa9766e.tar.gz tor-a8c0f4ddfe3f0a63bd499959c8d921346aa9766e.zip |
Rework orconn tracking to use pubsub
Part of ticket 29976.
Diffstat (limited to 'src/test/test_helpers.h')
-rw-r--r-- | src/test/test_helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test_helpers.h b/src/test/test_helpers.h index 9e376a563d..d82072bb34 100644 --- a/src/test/test_helpers.h +++ b/src/test/test_helpers.h @@ -7,6 +7,7 @@ #define BUFFERS_PRIVATE #include "core/or/or.h" +#include "tinytest.h" const char *get_yesterday_date_str(void); @@ -31,5 +32,10 @@ or_options_t *helper_parse_options(const char *conf); extern const char TEST_DESCRIPTORS[]; +void *helper_setup_pubsub(const struct testcase_t *); +int helper_cleanup_pubsub(const struct testcase_t *, void *); + +extern const struct testcase_setup_t helper_pubsub_setup; + #endif /* !defined(TOR_TEST_HELPERS_H) */ |