Andrea Shepard
|
f8ceb0f028
Make scheduler_run() mockable
|
11 years ago |
Andrea Shepard
|
314c2f18ae
Add scheduler/compare_channels unit test
|
11 years ago |
Andrea Shepard
|
b7125961de
Expose scheduler_compare_channels() to test suite
|
11 years ago |
Andrea Shepard
|
c5f73e52e5
Make circuitmux_compare_muxes() and circuitmux_get_policy() mockable
|
11 years ago |
Andrea Shepard
|
030608d68d
Add scheduler/queue_heuristic unit test
|
11 years ago |
Andrea Shepard
|
71a9ed6feb
Make some scheduler.c static functions visible to the test suite
|
11 years ago |
Andrea Shepard
|
0af88f9096
Initial test_scheduler.c
|
11 years ago |
Andrea Shepard
|
9869254608
Make scheduler.c static globals visible to test suite
|
11 years ago |
Andrea Shepard
|
5a07fb96f2
Make tor_libevent_get_base() mockable
|
11 years ago |
Andrea Shepard
|
5e9a88e001
Add channel_tls_num_cells_writeable_method() coverage to channeltls/num_bytes_queued unit test
|
11 years ago |
Andrea Shepard
|
030b0fe107
Add channeltls/num_bytes_queued unit test
|
11 years ago |
Andrea Shepard
|
a2de0a1034
Make buf_datalen() mockable
|
11 years ago |
Andrea Shepard
|
8719f8ff09
Implement tlschan create and overhead estimate unit tests
|
11 years ago |
Andrea Shepard
|
3b080230e9
Make connection_or_connect() mockable
|
11 years ago |
Andrea Shepard
|
3bc7108d2c
Make is_local_addr() mockable
|
11 years ago |
Andrea Shepard
|
50d5fb87bd
Initial test_channeltls.c
|
11 years ago |
Andrea Shepard
|
462eaed43e
Limited unit test for channel_dump_statistics()
|
11 years ago |
Andrea Shepard
|
5ee25cc185
Add channel/dumpstats unit test
|
11 years ago |
Andrea Shepard
|
452bce6c72
Make channel_dump_statistics() mockable
|
11 years ago |
Andrea Shepard
|
5a24ff0563
What the hell was I on?
|
11 years ago |
Andrea Shepard
|
9740a07b8c
Check queueing case in channel/flushmux unit test too
|
11 years ago |
Andrea Shepard
|
f12f7159a5
Add channel/flushmux unit test
|
11 years ago |
Andrea Shepard
|
9eea42f844
Make channel_flush_from_first_active_circuit() mockable
|
11 years ago |
Andrea Shepard
|
5b7a58f7c4
Make circuitmux_num_cells() mockable
|
11 years ago |
Andrea Shepard
|
76fcb8cb55
Add channel/incoming unit test
|
11 years ago |
Andrea Shepard
|
b5d4ef18e1
Add unknown cell queue entry type case to channel/queue_impossible unit test
|
11 years ago |
Andrea Shepard
|
f7951d318a
Small channel unit test improvements
|
11 years ago |
Andrea Shepard
|
ae3ed185e4
Let channel unit tests mess with global queue estimate
|
11 years ago |
Andrea Shepard
|
3b78667d65
Unit test for unusual channel lifecycles
|
11 years ago |
Andrea Shepard
|
b6d0aaec07
Check some can't-happen cases draining channel cell queues
|
11 years ago |