summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2013-09-18Fix benchmarks to run without crashing.Nick Mathewson
I broke this when I added separate test-mode support by having the benchmarks get built with TEST_CFLAGS.
2013-09-13Merge branch 'bug4647_squashed'Nick Mathewson
2013-09-13Finish tests for command-line argumentsNick Mathewson
2013-09-13Integration test for parsing arguments on the commandlineNick Mathewson
(incomplete)
2013-09-08Fix unit tests with --disable-curve25519Nick Mathewson
2013-09-04Merge branch 'maint-0.2.4'Roger Dingledine
Conflicts: src/test/test.c
2013-09-04refactor and give it unit testsRoger Dingledine
2013-09-03Fix some "ISO C90 forbids mixed declarations and code" warningsNick Mathewson
2013-09-03Fix warnings in test_config_fix_my_familyNick Mathewson
2013-09-03Merge remote-tracking branch 'Ryman/bug4341'Nick Mathewson
2013-09-03Handle HTTP minor versions greater than 9Nick Mathewson
(In practice they don't exist, but so long as we're making changes for standards compliance...) Also add several more unit tests for good and bad URL types.
2013-09-03Tougher validation for parsing urls from HTTP headers. Fixes #2767.Kevin Butler
2013-08-31MyFamily option will now fix fingerprints missing their leading instead of ↵Kevin Butler
complaining. Should fix #4341.
2013-08-25Basic unit test for EVENT_TRANSPORT_LAUNCHEDNick Mathewson
2013-08-15Fix a wide line in test_geoip_with_ptNick Mathewson
2013-08-15Merge branch 'bug5040_4773_rebase_3'Nick Mathewson
2013-08-15Test ExtORPort cookie initialization when file writing is broken.George Kadianakis
2013-08-15Test some fail conditions of ext_orport.c USERADDR/TRANSPORT parsing.George Kadianakis
2013-08-15Fix some #5040 bugs found by Nick's tests.George Kadianakis
- Set conn->address when we receive a USERADDR command. - Set conn->state to a sane value when we transition from Extended ORPort to ORPort.
2013-08-15Implement and use a generic auth. cookie initialization function.George Kadianakis
Use the generic function for both the ControlPort cookie and the ExtORPort cookie. Also, place the global cookie variables in the heap so that we can pass them around more easily as pointers. Also also, fix the unit tests that broke by this change. Conflicts: src/or/config.h src/or/ext_orport.c
2013-08-15White-box tests for the succeeding case of ext_or_port handshake.Nick Mathewson
(Okay, white-box plus mocking enough other functions so they don't crash.)
2013-08-15Test for initializing ext_or_auth_cookie fileNick Mathewson
2013-08-15Unit test for the ext_orport safe_cookie handshakeNick Mathewson
2013-08-15More unit tests for handle_client_auth_nonceNick Mathewson
Incidentally, this business here where I make crypto_rand mockable: this is exactly the kind of thing that would make me never want to include test-support stuff in production builds.
2013-08-15Unit test for basic ext_or_cookie authentication backendNick Mathewson
2013-08-15Tests for connection_write_ext_or_command.Nick Mathewson
2013-08-15Unit tests for ext_or_id_map.Nick Mathewson
2013-08-15Unit tests for fetch_ext_or_cmdNick Mathewson
2013-08-15Split 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-15If a single client connects with multiple transports, note all transports.George Kadianakis
2013-08-15Trivially 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-15Make check-spaces happy.George Kadianakis
2013-08-15Fix some unittests that broke when we added bridge-ip-transports.George Kadianakis
2013-08-15Add a unittest for the bridge-ip-transports extra-info line.George Kadianakis
2013-08-05Also test that server transports get written to Tor's state.George Kadianakis
2013-08-05test_pt_configure_proxy(): verify the internals of the managed proxy.George Kadianakis
2013-08-04Use size_t for length in replaycache_add_test_and_elapsed()Arlo Breault
For consistency with the rest of buffer lengths in Tor. See #8960
2013-08-02Unit test for smartlist_ints_eqNick Mathewson
(This was the only wholly untested function in containers.c)
2013-08-02Try to make the win32 ersatz_socketpair pass.Nick Mathewson
2013-08-02Unit test for tor_{ersatz_,}socketpair.Nick Mathewson
This catches tor_accept as well.
2013-08-02Simple unit test for tor_open_socket_with_extensionsNick Mathewson
2013-07-31Merge branch 'bug9288_rebased'Nick Mathewson
Conflicts: src/test/test_pt.c
2013-07-31Fix mixed declaration/statement warningNick Mathewson
2013-07-31Update pt/configure_proxy until it stops segfaultingNick Mathewson
2013-07-31Write unit tests for configure_proxy().George Kadianakis
2013-07-19Whoops; check in test_circuitmux.cNick Mathewson
2013-07-19Regression test for destroy cell queueNick Mathewson
This exercises the code that crashed and caused #9296.
2013-07-18Add transport information to the GeoIP database.George Kadianakis
2013-07-18Start 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-18Add a test for n_cells_in_circuit_queuesNick Mathewson