about summary refs log tree commit diff stats
path: root/tests/unittests/test_server_events.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-12 23:53:30 +0100
committerJames Booth <boothj5@gmail.com>2015-06-12 23:53:30 +0100
commit68ed20f10d2fae67b052674a42ed98c2059aa16f (patch)
treedf8d1e7989282cc2e15dda3cd378b3b2895e9892 /tests/unittests/test_server_events.h
parentc182f3ecd6be5df9b9bc7757930e47b555ddd251 (diff)
downloadprofani-tty-68ed20f10d2fae67b052674a42ed98c2059aa16f.tar.gz
Moved all tests to tests folder
Diffstat (limited to 'tests/unittests/test_server_events.h')
-rw-r--r--tests/unittests/test_server_events.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unittests/test_server_events.h b/tests/unittests/test_server_events.h
new file mode 100644
index 00000000..81a436f4
--- /dev/null
+++ b/tests/unittests/test_server_events.h
@@ -0,0 +1,14 @@
+void console_doesnt_show_online_presence_when_set_none(void **state);
+void console_shows_online_presence_when_set_online(void **state);
+void console_shows_online_presence_when_set_all(void **state);
+void console_doesnt_show_dnd_presence_when_set_none(void **state);
+void console_doesnt_show_dnd_presence_when_set_online(void **state);
+void console_shows_dnd_presence_when_set_all(void **state);
+void handle_message_error_when_no_recipient(void **state);
+void handle_message_error_when_recipient_cancel(void **state);
+void handle_message_error_when_recipient_cancel_disables_chat_session(void **state);
+void handle_message_error_when_recipient_and_no_type(void **state);
+void handle_presence_error_when_no_recipient(void **state);
+void handle_presence_error_when_from_recipient(void **state);
+void handle_offline_removes_chat_session(void **state);
+void lost_connection_clears_chat_sessions(void **state);