aboutsummaryrefslogtreecommitdiff
path: root/src/test/log_test_helpers.h
AgeCommit message (Collapse)Author
2018-11-15Merge branch 'maint-0.2.9' into maint-0.3.3Nick Mathewson
2018-09-01Add test log helpers for msgs not containing strjuga0
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-03-15Run the copyright update script.Nick Mathewson
2017-02-19Make display of captured unit test log messages consistentteor
There was a missing space and an extra colon. Fixes bug 21510; bugfix on 0.2.9.3-alpha.
2016-11-16fixup! Add expect_log_msg_containing_either3() and ↵teor
expect_log_msg_containing_either4() Fix typos: * extra '(' * use assert_log_predicate (without 3 or 4 at the end) Tidy whitespace. Wrap long lines.
2016-11-16Add expect_log_msg_containing_either3() and expect_log_msg_containing_either4()Neel Chauhan
2016-09-08Simplify log_test_helpers interfaceNick Mathewson
Previously, you needed to store the previous log severity in a local variable, and it wasn't clear if you were allowed to call these functions more than once.
2016-09-08Resolve more BUG warnings in the unit testsNick Mathewson
2016-09-08Tolerate another failure mode of get_if_addres6_list in testsNick Mathewson
2016-09-08Revise log-testing macros to dump the actual log contents on failureNick Mathewson
2016-08-31Detect and suppress bug message from zlib compression bomb testNick Mathewson
2016-08-31Document and clean log_test_helpers.c a bitNick Mathewson
In addition to documentation, this commit makes a function static, and removes a weird single-point-of-return-ism, and notes a thing I should fix.
2016-08-31setup_capture_of_logs: no longer suppress log messagesNick Mathewson
Previously setup_capture_of_logs would prevent log messages from going to the console entirely. That's a problem, since sometimes log messages are bugs! Now setup_capture_of_logs() acts sensibly. If you really do need to keep a message from going to the console entirely, there is setup_full_capture_of_logs(). But only use that if you're prepared to make sure that there are no extraneous messages generated at all.
2016-08-31Another log testing helper helper, for matching partial strings.Nick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2016-02-11Merge branch 'feature17840-v11-tests_truncated'Nick Mathewson
2016-02-01Make all unit tests independent of log message order and countteor (Tim Wilson-Brown)
2016-02-01Add a helper to search for strings in the log, and change option tests to ↵Ola Bini
use this helper instead of looking at specific indices in the log list
2016-02-01Add a helper to search for strings in the log, and change option tests to ↵Ola Bini
use this helper instead of looking at specific indices in the log list
2016-01-15Whitespace cleanupNick Mathewson
2016-01-13Add tests for options_actOla Bini
2015-10-02Clean up compat_libevent testsNick Mathewson
2015-10-02Fix style and compilation in log_test_helpersNick Mathewson
2015-09-15Add tests for compat_libeventOla Bini