Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-12 | Merge remote-tracking branch 'public/feature15212_026' into maint-0.2.6 | Nick Mathewson | |
2015-03-10 | Fix check-spaces | Nick Mathewson | |
2015-03-10 | Add link protocol version counts to the heartbeat message | Nick Mathewson | |
Closes ticket 15212 | |||
2015-02-24 | Update test_status.c to accommodate changes in heartbeat messages | Nick Mathewson | |
Fixes #15012; bug not in any released Tor | |||
2015-02-16 | Fix a few coverity "Use after NULL check" warnings | Nick Mathewson | |
Also remove the unit test mocks that allowed get_options() to be NULL; that's an invariant violation for get_options(). | |||
2014-11-12 | Fix wide lines (from 13172) | Nick Mathewson | |
2014-11-12 | Replace operators used as macro arguments with OP_XX macros | Nick Mathewson | |
Part of fix for 13172 | |||
2014-08-20 | fix remaining compilation problems | Nick Mathewson | |
2014-04-29 | Fix memory leaks in test_status.c | Nick Mathewson | |
2014-04-15 | Fix compiler warning on test_status.c | Nick Mathewson | |
2014-04-15 | Uplift status.c unit test coverage with new test cases and macros. | dana koch | |
A new set of unit test cases are provided, as well as introducing an alternative paradigm and macros to support it. Primarily, each test case is given its own namespace, in order to isolate tests from each other. We do this by in the usual fashion, by appending module and submodule names to our symbols. New macros assist by reducing friction for this and other tasks, like overriding a function in the global namespace with one in the current namespace, or declaring integer variables to assist tracking how many times a mock has been called. A set of tests for a small-scale module has been included in this commit, in order to highlight how the paradigm can be used. This suite gives 100% coverage to status.c in test execution. |