Nick Mathewson
|
58df153163
|
Fix more 64/32 warnings in test_channel.c
|
2014-12-04 09:16:49 -05:00 |
|
Nick Mathewson
|
11b652acb3
|
Fix some 32-bit build issues in the tests
When comparing 64-bit types, you need to use tt_[ui]64_op().
Found by Jenkins
|
2014-11-28 10:06:10 -05:00 |
|
Andrea Shepard
|
2d171c1081
|
Update test_channel.c for recent test suite changes and --enable-mempools support
|
2014-09-30 23:15:41 -07:00 |
|
Andrea Shepard
|
462eaed43e
|
Limited unit test for channel_dump_statistics()
|
2014-09-30 23:14:24 -07:00 |
|
Andrea Shepard
|
5ee25cc185
|
Add channel/dumpstats unit test
|
2014-09-30 23:14:24 -07:00 |
|
Andrea Shepard
|
9740a07b8c
|
Check queueing case in channel/flushmux unit test too
|
2014-09-30 23:14:23 -07:00 |
|
Andrea Shepard
|
f12f7159a5
|
Add channel/flushmux unit test
|
2014-09-30 23:14:22 -07:00 |
|
Andrea Shepard
|
76fcb8cb55
|
Add channel/incoming unit test
|
2014-09-30 23:14:02 -07:00 |
|
Andrea Shepard
|
b5d4ef18e1
|
Add unknown cell queue entry type case to channel/queue_impossible unit test
|
2014-09-30 23:14:02 -07:00 |
|
Andrea Shepard
|
f7951d318a
|
Small channel unit test improvements
|
2014-09-30 23:14:01 -07:00 |
|
Andrea Shepard
|
3b78667d65
|
Unit test for unusual channel lifecycles
|
2014-09-30 23:14:01 -07:00 |
|
Andrea Shepard
|
b6d0aaec07
|
Check some can't-happen cases draining channel cell queues
|
2014-09-30 23:13:58 -07:00 |
|
Andrea Shepard
|
46ff91b6ec
|
Add scheduler_channel_has_waiting_cells_mock() and some mock counter queries
|
2014-09-30 23:09:15 -07:00 |
|
Andrea Shepard
|
bef11b7156
|
Expose a useful mock from test_channel.c
|
2014-09-30 23:09:14 -07:00 |
|
Andrea Shepard
|
79b8f14c25
|
Expose fake channel utility functions in test suite in fakechans.h, and fix a test_channel.c bug
|
2014-09-30 23:09:14 -07:00 |
|
Andrea Shepard
|
ba294ff2dc
|
Implement channel flush unit test
|
2014-09-30 23:09:00 -07:00 |
|
Andrea Shepard
|
37baef0687
|
Add channel lifecycle test
|
2014-09-30 23:08:16 -07:00 |
|
Andrea Shepard
|
e00fde1797
|
Implement two-channel queue estimate test
|
2014-09-30 22:54:09 -07:00 |
|
Andrea Shepard
|
6e427c30af
|
Implement channel queue size estimate unit test
|
2014-09-30 22:54:09 -07:00 |
|
Andrea Shepard
|
6d886787e3
|
Unit tests for channel_get_cell_queue_entry_size() and channel_write_*() functions
|
2014-09-30 22:54:02 -07:00 |
|