Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-22 | Merge remote-tracking branch 'andrea/bug11476' | Nick Mathewson | |
2014-05-12 | Add --disable-mempools configure option | Andrea Shepard | |
2014-04-26 | fix uninitialized memory reads from test_geoip_with_pt. Found with valgrind | Nick Mathewson | |
2014-04-26 | Fix memory leak in test_geoip | Nick Mathewson | |
2014-04-26 | Fix memory leak in test_onion_queues | Nick Mathewson | |
2014-04-26 | Fix memory leaks in test_circuit_timeout | Nick Mathewson | |
Found with valgrind. | |||
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. | |||
2014-04-08 | Move existing policy tests from test.c to new test_policy.c | Nick Mathewson | |
2014-04-08 | Remove unused extern decl for a nonexistent test suite | Nick Mathewson | |
2014-04-08 | Merge branch 'bug7952_final' | Nick Mathewson | |
Conflicts: src/test/include.am src/test/test.c | |||
2014-04-08 | Making entire exit policy available to Tor controller. | rl1987 | |
2014-04-02 | Unit tests for connection_edge_process_resolved_cell | Nick Mathewson | |
Also rename a function to be more accurate (resolve->resolved) | |||
2014-03-13 | Fix some leaks/missed checks in the unit tests | Nick Mathewson | |
Coverity spotted these. | |||
2014-03-05 | Merge remote-tracking branch 'arma/ticket5528' | Nick Mathewson | |
Conflicts: src/or/router.c src/test/test_dir.c | |||
2014-03-04 | Merge branch 'bug10169_025_v2' | Nick Mathewson | |
Conflicts: src/test/test.c | |||
2014-02-28 | Unit tests for test_routerkeys_write_fingerprint | Nick Mathewson | |
2014-02-12 | Initial unit tests for OOM handling | Nick Mathewson | |
2014-02-11 | Free leakable values in the unit tests. | Nick Mathewson | |
Thanks, Coverity! (CID 1171414, 1171415, 1171416) | |||
2014-02-06 | add test for node_get_verbose_nickname_by_id | Qingping Hou | |
2014-02-06 | remove node_describe_by_id() function | Qingping Hou | |
This function is not used anymore | |||
2014-01-29 | add test case for node_describe_by_id | Qingping Hou | |
2014-01-29 | add test case for hidden service async events | Qingping Hou | |
2014-01-17 | Add an --accel switch to run unit tests with crypto acceleration | Nick Mathewson | |
2013-11-22 | Fix another unit test memory leak. CID1087949,CID1087950. | Nick Mathewson | |
2013-11-18 | Merge branch 'backtrace_squashed' | Nick Mathewson | |
Conflicts: src/common/sandbox.c src/common/sandbox.h src/common/util.c src/or/main.c src/test/include.am src/test/test.c | |||
2013-11-18 | Unit tests for new functions in log.c | Nick Mathewson | |
2013-10-28 | Merge branch 'morestats4' into morestats5 | Karsten Loesing | |
Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.h src/or/control.c src/or/control.h src/or/or.h src/or/relay.c src/or/relay.h src/test/test.c | |||
2013-09-08 | Fix unit tests with --disable-curve25519 | Nick Mathewson | |
2013-09-04 | Merge branch 'maint-0.2.4' | Roger Dingledine | |
Conflicts: src/test/test.c | |||
2013-09-04 | refactor and give it unit tests | Roger Dingledine | |
2013-08-15 | Fix a wide line in test_geoip_with_pt | Nick Mathewson | |
2013-08-15 | Merge branch 'bug5040_4773_rebase_3' | Nick Mathewson | |
2013-08-15 | Unit tests for ext_or_id_map. | Nick Mathewson | |
2013-08-15 | Split out buffers and socks tests into separate modules. | Nick Mathewson | |
No other changes were made here. Keeping everything in src/test/test.c was a legacy of back when we had all our unit tests in one big file. Doing this now because I'm adding an ext_or_command test. | |||
2013-08-15 | If a single client connects with multiple transports, note all transports. | George Kadianakis | |
2013-08-15 | Trivially change unittests to make them more readable. | George Kadianakis | |
Pluggable transport names are now in alphabetical order like they appear in the bridge-ip-transports string. | |||
2013-08-15 | Make check-spaces happy. | George Kadianakis | |
2013-08-15 | Fix some unittests that broke when we added bridge-ip-transports. | George Kadianakis | |
2013-08-15 | Add a unittest for the bridge-ip-transports extra-info line. | George Kadianakis | |
2013-07-19 | Regression test for destroy cell queue | Nick Mathewson | |
This exercises the code that crashed and caused #9296. | |||
2013-07-18 | Add transport information to the GeoIP database. | George Kadianakis | |
2013-07-18 | Start of a unit test for options_validate. | Nick Mathewson | |
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too. | |||
2013-07-18 | Unit tests for cell queues. | Nick Mathewson | |
This removes some INLINE markers from functions that probably didn't need them. | |||
2013-07-10 | Add some basic unit tests for the circuit map data structure. | Nick Mathewson | |
These show off the new mocking code by mocking the circuitmux code so that we can test the circuit map code in isolation. | |||
2013-07-10 | Completely refactor how FILENAME_PRIVATE works | Nick Mathewson | |
We previously used FILENAME_PRIVATE identifiers mostly for identifiers exposed only to the unit tests... but also for identifiers exposed to the benchmarker, and sometimes for identifiers exposed to a similar module, and occasionally for no really good reason at all. Now, we use FILENAME_PRIVATE identifiers for identifiers shared by Tor and the unit tests. They should be defined static when we aren't building the unit test, and globally visible otherwise. (The STATIC macro will keep us honest here.) For identifiers used only by the unit tests and never by Tor at all, on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS. This is not the motivating use case for the split test/non-test build system; it's just a test example to see how it works, and to take a chance to clean up the code a little. | |||
2013-06-12 | Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / ↵ | Marek Majkowski | |
tor_tls_evp_pkey_eq | |||
2013-06-10 | Bug #5170 - make pkey_eq testable, introduce test_tortls.c | Marek Majkowski | |
2013-05-31 | Test functions used for TB_EMPTY and CELL_STATS events. | Karsten Loesing | |
2013-05-15 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-05-15 | Fix unit tests to pass after fix for #8879 | Nick Mathewson | |