1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
profanity/tests/unittests
Michael Vetter f71de61b9d Don't override ProfMessage Id with origin-id
Profanity sends the same value for both. Other clients might not.
Safe both since we could need them later.

Once we implement Last Message Correction we will need the regular id.
If we override it with origin-id and another client chooses to not use
the same value for id and origin-id then we can't interpret the id sent
with the LMC request correctly.
2019-10-31 13:45:44 +01:00
..
config Use mock_type() for casting mock() 2019-05-08 21:52:16 +02:00
log Adjust message stubs in unit tests 2019-10-29 11:55:27 +01:00
omemo Add omemo_close stub for tests 2019-07-18 08:02:52 +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 Fix handling of encrypted carbons 2019-06-21 15:52:24 +02:00
xmpp Don't override ProfMessage Id with origin-id 2019-10-31 13:45:44 +01:00
helpers.c Possibility to specify alternative config file 2019-08-02 15:55:47 +02:00
helpers.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_autocomplete.c Free autocomplete_complete results in unittest 2019-10-06 18:34:28 +02:00
test_autocomplete.h Allow previous autocompletion with shift tab 2017-04-01 00:27:11 +01:00
test_callbacks.c Fix memleak in test_callbacks unittest 2019-10-06 17:47:13 +02: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 Free strings in test_cmd_alias 2019-10-06 18:45:53 +02:00
test_cmd_alias.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_cmd_bookmark.c Fix memleak in cmd_bookmark_list_shows_bookmarks unittest 2019-10-06 17:54:40 +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 unittest memleak in test_cmd_join 2019-10-05 23:38:10 +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 prefs_get_str related leaks in unit tests 2019-06-19 17:15:47 +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 Fix prefs_get_str related leaks in unit tests 2019-06-19 17:15:47 +02:00
test_cmd_presence.h Move /statuses options to /presence command 2016-05-31 23:21:19 +01:00
test_cmd_rooms.c Remove not needed strdupin test_cmd_rooms 2019-10-06 18:40:51 +02:00
test_cmd_rooms.h Fix tests, move glob creation 2018-01-27 23:51:03 +00:00
test_cmd_roster.c Fix memory leak in unittests 2019-10-14 00:23:02 +03: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 Fix test_jid unittest memleak 2019-10-06 17:07:00 +02: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 Fix two memleaks in test_parser 2019-10-06 17:59:46 +02: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 Fix prefs_get_str related leaks in unit tests 2019-06-19 17:15:47 +02:00
test_preferences.h Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
test_roster_list.c Free lists in test_roster_list 2019-10-06 18:06:30 +02:00
test_roster_list.h Added more group tests 2015-11-14 22:21:57 +00:00
test_server_events.c Add connection_get_profanity_identifier stub 2019-10-18 11:23:30 +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