diff options
author | George Kadianakis <desnacked@riseup.net> | 2016-08-25 11:11:23 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-04 10:32:50 -0400 |
commit | a8efd087bdd937027713217d74e1cfd40fba4961 (patch) | |
tree | d96d02bd9a1bc64097c628b01f747ba51aa5f02a /src/test/test_helpers.h | |
parent | f59990f24ddf3e5c7cdeb82c9e8cf16c7dcce56b (diff) | |
download | tor-a8efd087bdd937027713217d74e1cfd40fba4961.tar.gz tor-a8efd087bdd937027713217d74e1cfd40fba4961.zip |
test: Add prop224 directory fetch/upload unit tests
Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/test/test_helpers.h')
-rw-r--r-- | src/test/test_helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_helpers.h b/src/test/test_helpers.h index 684375e1b1..b77a459256 100644 --- a/src/test/test_helpers.h +++ b/src/test/test_helpers.h @@ -11,6 +11,10 @@ const char *get_yesterday_date_str(void); void helper_setup_fake_routerlist(void); +#define GET(path) "GET " path " HTTP/1.0\r\n\r\n" +void connection_write_to_buf_mock(const char *string, size_t len, + connection_t *conn, int zlib); + extern const char TEST_DESCRIPTORS[]; #endif |