tor/src/test
Nick Mathewson f7d654b81e Start work on fancy compiler tricks to expose extra stuff to our tests
This is mainly a matter of automake trickery: we build each static
library in two versions now: one with the TOR_UNIT_TESTS macro
defined, and one without.  When TOR_UNIT_TESTS is defined, we can
enable mocking and expose more functions. When it's not defined, we
can lock the binary down more.

The alternatives would be to have alternate build modes: a "testing
configuration" for building the libraries with test support, and a
"production configuration" for building them without.  I don't favor
that approach, since I think it would mean more people runnning
binaries build for testing, or more people not running unit tests.
2013-07-10 15:20:09 -04:00
..
bench.c Attempt to un-confuse coverity about (false) double-free in bench_onion_ntor. 2013-06-18 11:33:15 -04:00
include.am Start work on fancy compiler tricks to expose extra stuff to our tests 2013-07-10 15:20:09 -04:00
Makefile.nmake Add a missing part of bug 7311's makefile.nmake tweaks 2013-01-17 10:01:22 -05:00
ntor_ref.py Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
test_addr.c Fix a double-newline 2013-03-18 15:39:47 -04:00
test_cell_formats.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
test_config.c Check more return values in the unit tests 2013-06-18 12:31:03 -04:00
test_containers.c Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
test_crypto.c Fix "make check-spaces" 2013-06-10 13:51:53 -04:00
test_data.c Bug #5170 - test crypto_pk_get_all_digests 2013-06-10 15:03:18 +01:00
test_dir.c Check more return values in the unit tests 2013-06-18 12:31:03 -04:00
test_introduce.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
test_microdesc.c Expand microdesc cache tests 2013-06-12 09:30:09 -04:00
test_ntor_cl.c Resolve memory leaks in the unit tests and benchmarks (found by coverity) 2013-02-11 14:57:10 -05:00
test_pt.c Remove strcpy from unit tests. 2013-05-11 23:33:41 -04:00
test_replay.c Fix even more dead code and resource leaks in the unit tests 2013-02-11 15:20:20 -05:00
test_util.c Remove strcpy from unit tests. 2013-05-11 23:33:41 -04:00
test-child.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
test-network.sh Invoke binaries in $PATH rather than by absolute path. 2013-06-18 11:48:02 +02:00
test.c Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / tor_tls_evp_pkey_eq 2013-06-12 13:02:06 -04:00
test.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00