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 0942d98c61 Remove chat_log_get_previous()
We now dont get the log files from the text files via chat_log_get_previous() anymore.
We use the sql backend via log_database_get_previous_chat().

So far it just has the same behaviour like chat_log_get_previous(),
except that in _chatwin_history() we don't pass the sender to
win_print_history() which should be fixed in a commit soon.

And log_database_get_previous_chat() can later easily be expanded to fix
https://github.com/profanity-im/profanity/issues/205.
2020-04-06 14:42:52 +02:00
..
config Add context to autocomplete_with_func and use it for omemo trust command 2020-01-31 10:07:08 +01:00
database Add log_database_add_*() test stubs 2020-04-06 10:50:20 +02:00
log Remove chat_log_get_previous() 2020-04-06 14:42:52 +02:00
omemo Add omemo_close stub for tests 2019-07-18 08:02:52 +02:00
otr Fix tests 2020-02-14 10:17:07 +01:00
pgp Add context to autocomplete_with_func and use it for omemo trust command 2020-01-31 10:07:08 +01:00
tools tests: remove cflag -w and fix warnings 2018-10-31 18:35:59 +02:00
ui Add slashguard feature 2020-03-18 18:20:05 +01:00
xmpp Fix message_send_private unittest stub 2020-04-06 10:50:20 +02: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 Add builds.sr.ht CI for OpenBSD 2020-02-17 10:54:15 +01: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 Fix unittest build 2020-01-31 10:25:45 +01: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