toxcore/auto_tests
iphydf beeb9b4335
Style fixes in TCP code; remove MIN and PAIR from util.h.
* Moved PAIR to toxav, where it's used (but really this should die).
* Replace most MIN calls with typed `min_*` calls. Didn't replace the
  ones where the desired semantics are unclear. Moved the MIN macro to
  the one place where it's still used.
* Avoid assignments in `while` loops. Instead, factored out the loop body
  into a separate `bool`-returning function.
* Use named types for callbacks (`_cb` types).
* Avoid assignments in `if` conditions.
* Removed `MAKE_REALLOC` and expanded its two calls. We can't have
  templates in C, and this fake templating is ugly and hard to analyse
  and debug (it expands on a single line).
* Moved epoll system include to the .c file, out of the .h file.
* Avoid assignments in expressions (`a = b = c;`).
* Avoid multiple declarators per struct member declaration.
* Fix naming inconsistencies.
* Replace `net_to_host` macro with function.
2018-07-12 20:21:42 +00:00
..
bootstrap_test.c Add assertions to bootstrap tests for correct connection type. 2018-06-23 14:05:56 +00:00
BUILD.bazel Add a test that reproduces the NULL peer nick bug. 2018-07-06 11:14:44 +00:00
check_compat.h Add test for creating multiple conferences in one tox. 2018-06-19 21:00:26 +00:00
conference_double_invite_test.c Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
conference_peer_nick_test.c Add a test that reproduces the NULL peer nick bug. 2018-07-06 11:14:44 +00:00
conference_simple_test.c Factor out the actual test code from conference_test. 2018-07-07 10:35:35 +00:00
conference_test.c Factor out the actual test code from conference_test. 2018-07-07 10:35:35 +00:00
conference_two_test.c Add test for creating multiple conferences in one tox. 2018-06-19 21:00:26 +00:00
crypto_test.c Avoid the use of rand() in tests. 2018-04-03 17:43:22 +00:00
dht_test.c Make tox.c unambiguously parseable. 2018-07-05 23:09:28 +00:00
encryptsave_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
file_saving_test.c Remove the use of the 'hh' format specifier. 2018-03-16 01:57:26 +00:00
file_transfer_test.c Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
friend_connection_test.c Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
friend_request_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
helpers.h Use clang-format for C++ code. 2018-06-24 20:17:53 +00:00
invalid_proxy_test.c Disable UDP when proxy is enabled. 2018-06-23 17:36:37 +00:00
invalid_tcp_proxy_test.c Add tests for what happens when passing an invalid proxy host. 2018-06-23 12:34:33 +00:00
lan_discovery_test.c lan_discovery_test and version_test cleanup 2018-07-06 10:25:47 +00:00
lossless_packet_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
lossy_packet_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
Makefile.inc Remove tox_test from autotools build. 2018-02-18 17:17:28 +00:00
messenger_test.c Make tox.c unambiguously parseable. 2018-07-05 23:09:28 +00:00
monolith_test.cc Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
network_test.c Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
onion_test.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
overflow_recvq_test.c Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
overflow_sendq_test.c Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
run_auto_test.h Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
save_friend_test.c Avoid the use of rand() in tests. 2018-04-03 17:43:22 +00:00
save_load_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
send_message_test.c Use run_auto_test.h test fixture for some auto-tests. 2018-07-05 23:41:27 +00:00
set_name_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
set_status_message_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
skeleton_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
tcp_relay_test.c Add assertions to bootstrap tests for correct connection type. 2018-06-23 14:05:56 +00:00
TCP_test.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
tox_many_tcp_test.c Avoid the use of rand() in tests. 2018-04-03 17:43:22 +00:00
tox_many_test.c Avoid the use of rand() in tests. 2018-04-03 17:43:22 +00:00
tox_one_test.c Avoid the use of rand() in tests. 2018-04-03 17:43:22 +00:00
tox_strncasecmp_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
toxav_basic_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
toxav_many_test.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
typing_test.c Fix a bunch of compiler warnings and remove suppressions. 2018-02-24 22:20:22 +00:00
version_test.c lan_discovery_test and version_test cleanup 2018-07-06 10:25:47 +00:00