about summary refs log tree commit diff stats
path: root/tests/test_contact.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-05 01:17:11 +0000
committerJames Booth <boothj5@gmail.com>2014-01-05 01:17:11 +0000
commit5898da963a254294ce5dd24b8a9534256f7efd45 (patch)
treeebf33011b62a38fd5256a5f1f18bd6be21614e3a /tests/test_contact.h
parent80acfdae9acf523b8e1feaeabfb8147d93c38220 (diff)
downloadprofani-tty-5898da963a254294ce5dd24b8a9534256f7efd45.tar.gz
Added contact tests
Diffstat (limited to 'tests/test_contact.h')
-rw-r--r--tests/test_contact.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_contact.h b/tests/test_contact.h
index f196ff65..c9d8c1fd 100644
--- a/tests/test_contact.h
+++ b/tests/test_contact.h
@@ -6,3 +6,19 @@ void contact_string_when_name_exists(void **state);
 void contact_string_when_name_not_exists(void **state);
 void contact_string_when_default_resource(void **state);
 void contact_presence_offline(void **state);
+void contact_presence_uses_highest_priority(void **state);
+void contact_presence_chat_when_same_prioroty(void **state);
+void contact_presence_online_when_same_prioroty(void **state);
+void contact_presence_away_when_same_prioroty(void **state);
+void contact_presence_xa_when_same_prioroty(void **state);
+void contact_presence_dnd(void **state);
+void contact_subscribed_when_to(void **state);
+void contact_subscribed_when_both(void **state);
+void contact_not_subscribed_when_from(void **state);
+void contact_not_subscribed_when_no_subscription_value(void **state);
+void contact_not_available(void **state);
+void contact_not_available_when_highest_priority_away(void **state);
+void contact_not_available_when_highest_priority_xa(void **state);
+void contact_not_available_when_highest_priority_dnd(void **state);
+void contact_available_when_highest_priority_online(void **state);
+void contact_available_when_highest_priority_chat(void **state);