Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-24 | Ensure that `make check-spaces` is happy. | Alexander Færøy | |
The `test-operator-cleanup` patch, and related coccinelle patches, don't do any checks for line length. This patch fixes the line length issues caused by the previous commits. | |||
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_int.cocci | Nick Mathewson | |
2017-08-24 | Fix operator usage in src/test/*.c | Alexander Færøy | |
This patch fixes the operator usage in src/test/*.c to use the symbolic operators instead of the normal C comparison operators. This patch was generated using: ./scripts/coccinelle/test-operator-cleanup src/test/*.[ch] | |||
2017-06-21 | Extract channel_do_open_actions() from non-open _change_state cases | Nick Mathewson | |
This reduces the size of the largest SCC in the callgraph by 30 functions, from 58 to 28. | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-12-08 | Fix a completely stupid stack-protector warning in test_channels.c | Nick Mathewson | |
This was breaking the build on debian precise, since it thought that using a 'const int' to dimension an array made that array variable-size, and made us not get protection. Bug not in any released version of Tor. I will insist that this one wasn't my fault. "Variables won't. Constants aren't." -- Osborn's Law | |||
2016-12-08 | Unit tests for channel identity map code | Nick Mathewson | |
2016-11-03 | Fix BUG message in channel/queue_impossible | Nick Mathewson | |
2016-06-11 | Add -Wmissing-variable-declarations, with attendant fixes | Nick Mathewson | |
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests. | |||
2016-06-11 | Resolve some warnings from OSX clang. | Nick Mathewson | |
2016-06-11 | Use -Wdouble-promotion in GCC >= 4.6 | Nick Mathewson | |
This warning triggers on silently promoting a float to a double. In our code, it's just a sign that somebody used a float by mistake, since we always prefer double. | |||
2016-03-21 | Merge branch 'bug18570_027' | Nick Mathewson | |
2016-03-21 | Add new channel/queue_incoming unit tests; modify channel unit tests for new ↵ | Andrea Shepard | |
clarified handling of alloc/free responsibility for queued incoming cells | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2015-05-26 | Fix unit tests on MSVC2013. | Nick Mathewson | |
Patch from "NewEraCracker." Fixes bug16030; bugfix on 0.2.6.2-alpha. | |||
2015-02-23 | Remove lingering mempool code | cypherpunks | |
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-12-26 | Add another cellintptr use; fixes 14031 | Nick Mathewson | |
2014-12-22 | Tweak channel unit tests so we don't see coverity complaints | Nick Mathewson | |
channel_write_*_cell() can delete its argument, so coverity doesn't like us doing pointer comparison against that argument later. Silly. | |||
2014-12-22 | Fix a bunch of memory leaks in the unit tests. Found with valgrind | Nick Mathewson | |
2014-12-22 | Fix some coverity issues in the unit tests | Nick Mathewson | |
2014-12-04 | Fix more 64/32 warnings in test_channel.c | Nick Mathewson | |
2014-11-28 | Fix some 32-bit build issues in the tests | Nick Mathewson | |
When comparing 64-bit types, you need to use tt_[ui]64_op(). Found by Jenkins | |||
2014-09-30 | Update test_channel.c for recent test suite changes and --enable-mempools ↵ | Andrea Shepard | |
support | |||
2014-09-30 | Limited unit test for channel_dump_statistics() | Andrea Shepard | |
2014-09-30 | Add channel/dumpstats unit test | Andrea Shepard | |
2014-09-30 | Check queueing case in channel/flushmux unit test too | Andrea Shepard | |
2014-09-30 | Add channel/flushmux unit test | Andrea Shepard | |
2014-09-30 | Add channel/incoming unit test | Andrea Shepard | |
2014-09-30 | Add unknown cell queue entry type case to channel/queue_impossible unit test | Andrea Shepard | |
2014-09-30 | Small channel unit test improvements | Andrea Shepard | |
2014-09-30 | Unit test for unusual channel lifecycles | Andrea Shepard | |
2014-09-30 | Check some can't-happen cases draining channel cell queues | Andrea Shepard | |
2014-09-30 | Add scheduler_channel_has_waiting_cells_mock() and some mock counter queries | Andrea Shepard | |
2014-09-30 | Expose a useful mock from test_channel.c | Andrea Shepard | |
2014-09-30 | Expose fake channel utility functions in test suite in fakechans.h, and fix ↵ | Andrea Shepard | |
a test_channel.c bug | |||
2014-09-30 | Implement channel flush unit test | Andrea Shepard | |
2014-09-30 | Add channel lifecycle test | Andrea Shepard | |
2014-09-30 | Implement two-channel queue estimate test | Andrea Shepard | |
2014-09-30 | Implement channel queue size estimate unit test | Andrea Shepard | |
2014-09-30 | Unit tests for channel_get_cell_queue_entry_size() and channel_write_*() ↵ | Andrea Shepard | |
functions |