]> git.ipfire.org Git - thirdparty/tor.git/commit
Add rudimentary test mocking support.
authorNick Mathewson <nickm@torproject.org>
Wed, 10 Jul 2013 19:03:01 +0000 (15:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 10 Jul 2013 19:22:16 +0000 (15:22 -0400)
commitb6e8c74667cf723c5ef4d081fc901752e05f9a9b
treec8d51b23edbe5de7fa57ad5b9923dd968a68f5a8
parent4753ad4f1dbd7fa3233ead5770e9c8bd619b8d07
Add rudimentary test mocking support.

This is not the most beautiful possible implementation (it requires
decorating mockable functions with ugly macros), but it actually
works, and is portable across multiple compilers and architectures.
changes/fancy_testing
src/common/testsupport.h