- Jun 24, 2014
-
-
George Kadianakis authored
-
- May 13, 2014
-
-
Andrea Shepard authored
-
- Apr 26, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Found with valgrind.
-
- Apr 15, 2014
-
-
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.
-
- Apr 08, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
- Apr 02, 2014
-
-
Nick Mathewson authored
Also rename a function to be more accurate (resolve->resolved)
-
- Mar 20, 2014
-
-
Nick Mathewson authored
This is a fix for 9700, which we already fixed in 0.2.5.x, but which got left in 0.2.4.x. This is a partial backport of a0a855d5
-
- Mar 13, 2014
-
-
Nick Mathewson authored
Coverity spotted these.
-
- Feb 28, 2014
-
-
Nick Mathewson authored
-
- Feb 12, 2014
-
-
Nick Mathewson authored
-
- Feb 11, 2014
-
-
Nick Mathewson authored
Thanks, Coverity! (CID 1171414, 1171415, 1171416)
-
- Feb 06, 2014
-
-
Qingping Hou authored
-
Qingping Hou authored
This function is not used anymore
-
- Jan 30, 2014
-
-
Qingping Hou authored
-
Qingping Hou authored
-
- Jan 17, 2014
-
-
Nick Mathewson authored
-
- Nov 22, 2013
-
-
Nick Mathewson authored
-
- Nov 18, 2013
-
-
Nick Mathewson authored
-
- Sep 08, 2013
-
-
Nick Mathewson authored
-
- Sep 05, 2013
-
-
Roger Dingledine authored
-
- Aug 15, 2013
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
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.
-
-
Pluggable transport names are now in alphabetical order like they appear in the bridge-ip-transports string.
-
-
-
-
- Jul 19, 2013
-
-
Nick Mathewson authored
This exercises the code that crashed and caused #9296.
-
- Jul 18, 2013
-
-
-
Nick Mathewson authored
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.
-
Nick Mathewson authored
This removes some INLINE markers from functions that probably didn't need them.
-
- Jul 10, 2013
-
-
Nick Mathewson authored
These show off the new mocking code by mocking the circuitmux code so that we can test the circuit map code in isolation.
-
Nick Mathewson authored
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.
-
- Jun 12, 2013
-
-