toxcore/auto_tests
iphydf cbda01021c
Fix style in DHT.c.
* Removed `ARRAY_SIZE` and use NULL markers for end of array, instead.
  The alternative is + size, but for these arrays, NULL markers made
  sense, since they are arrays of non-null pointers.
* Made `INDEX_OF_PK` a self-contained macro, not dependent upon the
  naming inside its call site. This is a minor change but makes the code
  more local and reviews easier.
* No nested structs.
* Use only named function types ending in `_cb` for callbacks.
* Replaced two macros with functions.
* `++i` instead of `i++`.
* struct member names start with lowercase letters.
* It takes a bit of work to support `/**/` comments in preprocessor
  macros, so I've decided not to support these. If a macro is complex
  enough to need comments inside it, it's too complex. `//` comments are
  allowed at the end of macro definitions.
* Callback typedefs must name their parameters.
2018-07-12 09:32:46 +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 Make file transfers 50% faster. 2018-03-02 13:56:49 +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 Fix style in DHT.c. 2018-07-12 09:32:46 +00:00
network_test.c Add new Circle CI configuration. 2018-06-24 19:51:34 +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