1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
profanity/tests/unittests
Dmitry Podgorny 6138a5f79b Cancel autoping timer on disconnect or connection loss
If Profanity is disconnected in any way before ping response is
received, the autoping timer will expire after the next connection
is established. As result, user will be disconnected immediately.

Cancel autoping timer in ev_disconnect_cleanup(), so it is done
for all kind of disconnections.
2019-06-03 13:28:00 +03:00
..
config Use mock_type() for casting mock() 2019-05-08 21:52:16 +02:00
log Use mock_type() for casting mock() 2019-05-08 21:52:16 +02:00
omemo Fix unit test after account_new API change 2019-04-17 14:03:14 +02:00
otr Use mock_type() for casting mock() 2019-05-08 21:52:16 +02:00
pgp Allow previous autocompletion with shift tab 2017-04-01 00:27:11 +01:00
tools tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
ui Use mock_ptr_type() to silence compiler warnings 2019-05-08 21:51:29 +02:00
xmpp Cancel autoping timer on disconnect or connection loss 2019-06-03 13:28:00 +03:00
helpers.c Move all filepath handling to files.c 2016-07-24 21:49:35 +01:00
helpers.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_autocomplete.c tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
test_autocomplete.h Allow previous autocompletion with shift tab 2017-04-01 00:27:11 +01:00
test_callbacks.c Unit test for callback_add_command() 2016-07-04 21:10:11 +01:00
test_callbacks.h Free plugins commands on quit 2016-07-04 00:41:29 +01:00
test_chat_session.c Moved chat_session.c 2016-07-24 14:23:55 +01:00
test_chat_session.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_account.c Fix unit test after account_new API change 2019-04-17 14:03:14 +02:00
test_cmd_account.h Added messaage when account resource changed whilst connected 2015-06-24 21:36:39 +01:00
test_cmd_alias.c Rename command sources 2016-05-22 23:59:52 +01:00
test_cmd_alias.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_bookmark.c tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
test_cmd_bookmark.h Use jid argument for /bookmark when in room 2018-03-04 00:35:53 +00:00
test_cmd_connect.c Fix unit test after account_new API change 2019-04-17 14:03:14 +02:00
test_cmd_connect.h Fix broken support for case-sensitive account names 2019-02-22 13:08:08 +01:00
test_cmd_disconnect.c Moved roster_list.c 2016-07-24 15:08:47 +01:00
test_cmd_disconnect.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_join.c Fix unit test after account_new API change 2019-04-17 14:03:14 +02:00
test_cmd_join.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_otr.c Fix OTR unit test after account_new API change 2019-04-17 14:03:14 +02:00
test_cmd_otr.h Remove JABBER_STARTED, JABBER_UNDEFINED connection states 2016-05-10 23:18:11 +01:00
test_cmd_pgp.c Rename mucconf wins into conf wins 2018-09-05 13:51:00 +02:00
test_cmd_pgp.h Rename mucconf wins into conf wins 2018-09-05 13:51:00 +02:00
test_cmd_presence.c Move /statuses options to /presence command 2016-05-31 23:21:19 +01:00
test_cmd_presence.h Move /statuses options to /presence command 2016-05-31 23:21:19 +01:00
test_cmd_rooms.c Fix unit test after account_new API change 2019-04-17 14:03:14 +02:00
test_cmd_rooms.h Fix tests, move glob creation 2018-01-27 23:51:03 +00:00
test_cmd_roster.c Moved roster_list.c 2016-07-24 15:08:47 +01:00
test_cmd_roster.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_sub.c Rename command sources 2016-05-22 23:59:52 +01:00
test_cmd_sub.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_common.c tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
test_common.h Move p_sha1_hash() to stanza.c 2018-09-06 20:40:09 +02:00
test_contact.c Moved contact.c 2016-07-24 14:55:32 +01:00
test_contact.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_form.c Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_form.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_jid.c Moved jid.c 2016-07-24 14:59:28 +01:00
test_jid.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_keyhandlers.c Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_keyhandlers.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_muc.c Moved muc.c 2016-07-24 15:02:43 +01:00
test_muc.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_parser.c Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_parser.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_plugins_disco.c tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
test_plugins_disco.h Use hashtables for plugin disco features 2016-08-17 23:21:48 +01:00
test_preferences.c Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_preferences.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_roster_list.c tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
test_roster_list.h Added more group tests 2015-11-14 22:21:57 +00:00
test_server_events.c Fix server_event unit tests 2019-04-17 14:19:31 +02:00
test_server_events.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
unittests.c Fix broken support for case-sensitive account names 2019-02-22 13:08:08 +01:00