toxcore/auto_tests
jfreegman d94246a906
fix: partially fix a bug that prevented group part messages from
sending.

When a peer leaves a group, they send a packet to the group
indicating that they're leaving. However if this packet is sent
via TCP, it gets put in a packet queue, which is then destroyed
on the rest of the group cleanup process before ever being able
to send.

This pr allows do_gc() to finish an iteration before cleaning the
group up, which allows the TCP packet queue to be emptied. However
this bug still exists on a tox_kill() event because we don't have
a chance to do another do_gc() iteration.
2024-01-27 12:27:27 -05:00
..
data Add save file generator, save compatibility test, and generate a save file 2018-08-19 10:38:51 +00:00
announce_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
auto_test_support.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
auto_test_support.h refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
bootstrap_test.c Separate run_auto_tests into a library 2022-01-25 14:25:36 -05:00
BUILD.bazel refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
check_compat.h chore: Move from gcov to llvm source-based coverage. 2024-01-12 10:27:48 +00:00
CMakeLists.txt refactor: Move file streaming test to its own file. 2024-01-14 23:00:42 +00:00
conference_av_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
conference_double_invite_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
conference_invite_merge_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
conference_peer_nick_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
conference_simple_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
conference_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
conference_two_test.c refactor: Move tox_new_log to auto_test_support. 2022-02-21 17:39:10 +00:00
crypto_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
dht_getnodes_api_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
encryptsave_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
file_saving_test.c cleanup: Remove all uses of TOX_*_MAX_SIZE macros. 2022-04-01 09:10:37 +00:00
file_streaming_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
file_transfer_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
forwarding_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
friend_connection_test.c chore: Support producing shared libraries on Windows 2022-04-03 23:04:11 +02:00
friend_request_spam_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
friend_request_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
group_general_test.c fix: partially fix a bug that prevented group part messages from 2024-01-27 12:27:27 -05:00
group_invite_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
group_message_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
group_moderation_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
group_save_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
group_state_test.c fix: a few off by one errors in group autotests 2024-01-25 11:08:35 -05:00
group_sync_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
group_tcp_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
group_topic_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
invalid_tcp_proxy_test.c fix: Correct a use-after-free and fix some memory leaks. 2023-12-21 17:17:51 +00:00
invalid_udp_proxy_test.c fix: Correct a use-after-free and fix some memory leaks. 2023-12-21 17:17:51 +00:00
lan_discovery_test.c refactor: Allow overriding mono_time in tox_new. 2022-04-03 22:48:16 +00:00
lossless_packet_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
lossy_packet_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
Makefile.inc cleanup: Remove old type-ordered event getters. 2024-01-15 17:29:43 +00:00
network_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
onion_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
overflow_recvq_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
overflow_sendq_test.c chore: Support producing shared libraries on Windows 2022-04-03 23:04:11 +02:00
proxy_test.c test: Add mallocfail and proxy test to our coverage runs. 2022-02-25 01:55:28 +00:00
reconnect_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
save_compatibility_test.c chore: Speed up docker builds a bit by reducing layer count. 2024-01-26 14:13:34 +00:00
save_friend_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
save_load_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
send_message_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
set_name_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
set_status_message_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
tcp_relay_test.c Separate run_auto_tests into a library 2022-01-25 14:25:36 -05:00
TCP_test.c cleanup: Add const where possible in auto tests. 2024-01-25 23:17:32 +00:00
tox_dispatch_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
tox_events_test.c cleanup: Remove old type-ordered event getters. 2024-01-15 17:29:43 +00:00
tox_many_tcp_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
tox_many_test.c refactor: Rename system_{memory,...} to os_{memory,...}. 2024-01-25 21:33:52 +00:00
tox_new_test.c test: Add a simple new/delete test for Tox. 2024-01-24 08:58:03 +00:00
tox_strncasecmp_test.c cleanup: Enforce stricter identifier naming using clang-tidy. 2023-08-31 13:37:16 +00:00
toxav_basic_test.c cleanup: Enforce stricter identifier naming using clang-tidy. 2023-08-31 13:37:16 +00:00
toxav_many_test.c cleanup: Enforce stricter identifier naming using clang-tidy. 2023-08-31 13:37:16 +00:00
typing_test.c refactor: Migrate auto_tests to new events API. 2024-01-18 18:08:07 +00:00
version_test.c cleanup: Enforce stricter identifier naming using clang-tidy. 2023-08-31 13:37:16 +00:00