aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.h
AgeCommit message (Collapse)Author
2017-04-27Clean up mentions of 'zlib' and rename the mentions to 'compressed'.Alexander Færøy
This patch cleans up in various places where 'zlib' is mentioned.
2017-03-15Run the copyright update script.Nick Mathewson
2017-01-03Fix unit test failures in response to DNS hijacking.Nick Mathewson
Some DNS NXDOMAIN hijackers hijack truly ridiculous domains, like "invalid-stuff!!" or "1.2.3.4.5". This would provoke unit test failures where we used addresses like that to force tor_addr_lookup() to fail. The fix, for testing, is to mock tor_addr_lookup() with a variant that always fails when it gets a name with a !. Fixes bugs 20862 and 20863.
2016-11-24moving useful test helper to test_helpers.hChelsea H. Komlo
2016-11-04test: Add prop224 directory fetch/upload unit testsGeorge Kadianakis
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
2016-02-27Update the copyright year.Nick Mathewson
2015-02-18Combine test_helpers.[ch] and testhelper.[ch]Nick Mathewson
2015-02-18Unittest prep: Move get_yesterday_date_str() to helper file.George Kadianakis
We want to use this function in our guardfraction unittests, so make a test_helpers module and move it there.