Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Refactor unit tests to use the tinytest framework. | Nick Mathewson | 2009-09-23 |
| | | | | | | | | | | | | | | | | | | | "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. | ||
* | Update copyright to 2009. | Karsten Loesing | 2009-05-02 |
| | |||
* | Fix a leak memory on the failing case of test_memeq_hex | Nick Mathewson | 2009-01-13 |
| | | | | svn:r18094 | ||
* | Remove svn $Id$s from our source, and remove tor --version --version. | Nick Mathewson | 2009-01-04 |
| | | | | | | | | 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 | ||
* | Use a consistent naming standard for header file guard macros, taking care ↵ | Nick Mathewson | 2008-12-29 |
| | | | | | | not to collide with any system headers. This tripped us up on Android. svn:r17805 | ||
* | Make freelist_len in memarea.c static; document a few variables. | Nick Mathewson | 2008-12-22 |
| | | | | svn:r17741 | ||
* | Add DOCDOC entries for undocumented static and global variables. | Nick Mathewson | 2008-12-22 |
| | | | | svn:r17739 | ||
* | Change test_memeq macro to not leak memory. Addresses coverity CID 47. | Nick Mathewson | 2008-12-11 |
| | | | | svn:r17577 | ||
* | Refactor unit test macros and tor_free_all() logic a bit so as to make it ↵ | Nick Mathewson | 2008-09-09 |
| | | | | | | easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816 | ||
* | r19041@catbus: nickm | 2008-03-25 16:20:42 -0400 | Nick Mathewson | 2008-03-25 |
| | | | | | | | More unit tests to improve coverage. svn:r14185 | ||
* | r19039@catbus: nickm | 2008-03-25 12:15:58 -0400 | Nick Mathewson | 2008-03-25 |
| | | | | | | | Add some unit tests, particularly for AES counter mode. svn:r14180 | ||
* | r14516@tombo: nickm | 2008-02-27 03:10:26 -0500 | Nick Mathewson | 2008-02-27 |
| | | | | | | | Write some unit tests for a few functions and cases that needed them. svn:r13751 | ||
* | r17968@catbus: nickm | 2008-02-07 14:11:02 -0500 | Nick Mathewson | 2008-02-08 |
| | | | | | | | Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s. svn:r13425 | ||
* | Update some copyright notices: it is now 2008. | Nick Mathewson | 2008-02-07 |
| | | | | svn:r13412 | ||
* | clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc | Roger Dingledine | 2007-12-12 |
| | | | | svn:r12786 | ||
* | r14093@catbus: nickm | 2007-08-08 01:49:54 -0400 | Nick Mathewson | 2007-08-08 |
| | | | | | | | Include fewer redundant headers; use the compiler search paths better. svn:r11060 | ||
* | r13477@catbus: nickm | 2007-06-17 14:22:03 -0400 | Nick Mathewson | 2007-06-17 |
| | | | | | | | 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 | ||
* | r13384@catbus: nickm | 2007-06-13 13:53:26 -0400 | Nick Mathewson | 2007-06-13 |
| | | | | | | | make test_* functions stop conflicting with variables named v1 and v2. svn:r10584 | ||
* | r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500 | Nick Mathewson | 2007-03-06 |
| | | | | | | | More unit tests: gcov is fun. svn:r9748 | ||
* | r11775@catbus: nickm | 2007-02-12 16:39:09 -0500 | Nick Mathewson | 2007-02-12 |
| | | | | | | | Update copyright dates. svn:r9570 | ||
* | Happy new year! | Roger Dingledine | 2006-02-09 |
| | | | | svn:r5949 | ||
* | Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵ | Nick Mathewson | 2005-08-12 |
| | | | | | | reported Solaris x86 warnings. svn:r4770 | ||
* | flesh out the source file descriptions for doxygen | Roger Dingledine | 2005-06-11 |
| | | | | svn:r4404 | ||
* | Change end-of-file NLNL convention. It turns out arma I and I agree. | Nick Mathewson | 2005-06-09 |
| | | | | svn:r4382 | ||
* | New whitespace normalization rule: no blank line at EOF. | Nick Mathewson | 2005-06-09 |
| | | | | svn:r4378 | ||
* | Fix unterminated comment | Nick Mathewson | 2005-04-03 |
| | | | | svn:r3991 | ||
* | update copyright notices. | Nick Mathewson | 2005-04-01 |
| | | | | svn:r3982 | ||
* | Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name out | Nick Mathewson | 2004-12-22 |
| | | | | | | | of the warning messages. svn:r3199 | ||
* | Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵ | Nick Mathewson | 2004-11-29 |
| | | | | | | every file. svn:r3019 | ||
* | Normalize space: add one between every control keyword and control clause. | Nick Mathewson | 2004-11-28 |
| | | | | svn:r3003 | ||
* | remove emacs droppings, since nick says he doesn't need them anymore | Roger Dingledine | 2004-11-26 |
| | | | | svn:r2989 | ||
* | Use a stricter set of warnings; make them all pass. | Nick Mathewson | 2004-11-02 |
| | | | | svn:r2645 | ||
* | doxygen markup for common/*.h | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1840 | ||
* | The dots are there so you see test doing something. Therefore we should ↵ | Peter Palfrader | 2004-04-26 |
| | | | | | | flush them after printing svn:r1720 | ||
* | Add some wrappers around SPLAY_* for the common map-from-string-to-X case. | Nick Mathewson | 2004-03-19 |
| | | | | | | | | It will probably be less blindingly fast than using SPLAY_* directly, but only slightly so. svn:r1306 | ||
* | make 'make test' exit(1) if a test fails. | Nick Mathewson | 2004-03-01 |
| | | | | svn:r1190 | ||
* | clean up some copyrights | Roger Dingledine | 2003-12-13 |
| | | | | svn:r907 | ||
* | Update LICENSE and copyright dates. | Nick Mathewson | 2003-10-08 |
| | | | | svn:r560 | ||
* | Start of port to win32. Missing are: | Nick Mathewson | 2003-08-12 |
| | | | | | | | | | | | | | | | | - 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 | ||
* | Refactor directories; add unit tests; add router keyword | Nick Mathewson | 2003-05-06 |
| | | | | svn:r266 | ||
* | Fix test.h to have once-only evalutation of arguments | Nick Mathewson | 2003-04-17 |
| | | | | svn:r243 | ||
* | Tests for crypto; more tests for buffers | Nick Mathewson | 2003-04-16 |
| | | | | svn:r234 | ||
* | Introduce a few unit tests (from older code), refactor compression ↵ | Nick Mathewson | 2003-04-15 |
| | | | | | | setup/teardown svn:r232 | ||
* | First test added | Nick Mathewson | 2003-04-07 |
svn:r226 |