Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-23 | Refactor unit tests to use the tinytest framework. | Nick Mathewson | |
"Tinytest" is a minimalist C unit testing framework I wrote for Libevent. It supports some generally useful features, like being able to run separate unit tests in their own processes. I tried to do the refactoring to change test.c as little as possible. Thus, we mostly don't call the tinytest macros directly. Instead, the test.h header is now a wrapper on tinytest.h to make our existing test_foo() macros work. The next step(s) here will be: - To break test.c into separate files, each with its own test group. - To look into which things we can test - To refactor the more fiddly tests to use the tinytest macros directly and/or run forked. - To see about writing unit tests for things we couldn't previously test without forking. | |||
2009-05-02 | Update copyright to 2009. | Karsten Loesing | |
2009-01-13 | Fix a leak memory on the failing case of test_memeq_hex | Nick Mathewson | |
svn:r18094 | |||
2009-01-04 | Remove svn $Id$s from our source, and remove tor --version --version. | Nick Mathewson | |
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 | |||
2008-12-29 | Use a consistent naming standard for header file guard macros, taking care ↵ | Nick Mathewson | |
not to collide with any system headers. This tripped us up on Android. svn:r17805 | |||
2008-12-22 | Make freelist_len in memarea.c static; document a few variables. | Nick Mathewson | |
svn:r17741 | |||
2008-12-22 | Add DOCDOC entries for undocumented static and global variables. | Nick Mathewson | |
svn:r17739 | |||
2008-12-11 | Change test_memeq macro to not leak memory. Addresses coverity CID 47. | Nick Mathewson | |
svn:r17577 | |||
2008-09-09 | Refactor unit test macros and tor_free_all() logic a bit so as to make it ↵ | Nick Mathewson | |
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816 | |||
2008-03-25 | r19041@catbus: nickm | 2008-03-25 16:20:42 -0400 | Nick Mathewson | |
More unit tests to improve coverage. svn:r14185 | |||
2008-03-25 | r19039@catbus: nickm | 2008-03-25 12:15:58 -0400 | Nick Mathewson | |
Add some unit tests, particularly for AES counter mode. svn:r14180 | |||
2008-02-27 | r14516@tombo: nickm | 2008-02-27 03:10:26 -0500 | Nick Mathewson | |
Write some unit tests for a few functions and cases that needed them. svn:r13751 | |||
2008-02-08 | r17968@catbus: nickm | 2008-02-07 14:11:02 -0500 | Nick Mathewson | |
Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s. svn:r13425 | |||
2008-02-07 | Update some copyright notices: it is now 2008. | Nick Mathewson | |
svn:r13412 | |||
2007-12-12 | clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc | Roger Dingledine | |
svn:r12786 | |||
2007-08-08 | r14093@catbus: nickm | 2007-08-08 01:49:54 -0400 | Nick Mathewson | |
Include fewer redundant headers; use the compiler search paths better. svn:r11060 | |||
2007-06-17 | r13477@catbus: nickm | 2007-06-17 14:22:03 -0400 | Nick Mathewson | |
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645 | |||
2007-06-13 | r13384@catbus: nickm | 2007-06-13 13:53:26 -0400 | Nick Mathewson | |
make test_* functions stop conflicting with variables named v1 and v2. svn:r10584 | |||
2007-03-06 | r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500 | Nick Mathewson | |
More unit tests: gcov is fun. svn:r9748 | |||
2007-02-12 | r11775@catbus: nickm | 2007-02-12 16:39:09 -0500 | Nick Mathewson | |
Update copyright dates. svn:r9570 | |||
2006-02-09 | Happy new year! | Roger Dingledine | |
svn:r5949 | |||
2005-08-12 | Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵ | Nick Mathewson | |
reported Solaris x86 warnings. svn:r4770 | |||
2005-06-11 | flesh out the source file descriptions for doxygen | Roger Dingledine | |
svn:r4404 | |||
2005-06-09 | Change end-of-file NLNL convention. It turns out arma I and I agree. | Nick Mathewson | |
svn:r4382 | |||
2005-06-09 | New whitespace normalization rule: no blank line at EOF. | Nick Mathewson | |
svn:r4378 | |||
2005-04-03 | Fix unterminated comment | Nick Mathewson | |
svn:r3991 | |||
2005-04-01 | update copyright notices. | Nick Mathewson | |
svn:r3982 | |||
2004-12-22 | Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name out | Nick Mathewson | |
of the warning messages. svn:r3199 | |||
2004-11-29 | Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵ | Nick Mathewson | |
every file. svn:r3019 | |||
2004-11-28 | Normalize space: add one between every control keyword and control clause. | Nick Mathewson | |
svn:r3003 | |||
2004-11-26 | remove emacs droppings, since nick says he doesn't need them anymore | Roger Dingledine | |
svn:r2989 | |||
2004-11-02 | Use a stricter set of warnings; make them all pass. | Nick Mathewson | |
svn:r2645 | |||
2004-05-10 | doxygen markup for common/*.h | Roger Dingledine | |
svn:r1840 | |||
2004-04-26 | The dots are there so you see test doing something. Therefore we should ↵ | Peter Palfrader | |
flush them after printing svn:r1720 | |||
2004-03-19 | Add some wrappers around SPLAY_* for the common map-from-string-to-X case. | Nick Mathewson | |
It will probably be less blindingly fast than using SPLAY_* directly, but only slightly so. svn:r1306 | |||
2004-03-01 | make 'make test' exit(1) if a test fails. | Nick Mathewson | |
svn:r1190 | |||
2003-12-13 | clean up some copyrights | Roger Dingledine | |
svn:r907 | |||
2003-10-08 | Update LICENSE and copyright dates. | Nick Mathewson | |
svn:r560 | |||
2003-08-12 | Start of port to win32. Missing are: | Nick Mathewson | |
- signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380 | |||
2003-05-06 | Refactor directories; add unit tests; add router keyword | Nick Mathewson | |
svn:r266 | |||
2003-04-17 | Fix test.h to have once-only evalutation of arguments | Nick Mathewson | |
svn:r243 | |||
2003-04-16 | Tests for crypto; more tests for buffers | Nick Mathewson | |
svn:r234 | |||
2003-04-15 | Introduce a few unit tests (from older code), refactor compression ↵ | Nick Mathewson | |
setup/teardown svn:r232 | |||
2003-04-07 | First test added | Nick Mathewson | |
svn:r226 |