about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-21 00:16:37 +0000
committerJames Booth <boothj5@gmail.com>2014-01-21 00:16:37 +0000
commit0e2fbeb350f667ee6c4f86e49e320cc4cd9a5cc5 (patch)
tree91cd7a169229c772bd5844de37bb3b1d45c3760f /tests
parenta8c356e1917fba762ce7b88d88c92e2801efdef8 (diff)
downloadprofani-tty-0e2fbeb350f667ee6c4f86e49e320cc4cd9a5cc5.tar.gz
Added statuses settings to prefs output
Diffstat (limited to 'tests')
-rw-r--r--tests/test_server_events.c18
-rw-r--r--tests/testsuite.c2
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/test_server_events.c b/tests/test_server_events.c
index a3f6dc02..f800f4dc 100644
--- a/tests/test_server_events.c
+++ b/tests/test_server_events.c
@@ -20,7 +20,7 @@ void console_doesnt_show_online_presence_when_set_none(void **state)
     roster_init();
     roster_add("test1@server", "bob", NULL, "both", FALSE);
     Resource *resource = resource_new("resource", RESOURCE_ONLINE, NULL, 10, "caps");
-    
+
     handle_contact_online("test1@server", resource, NULL);
 
     roster_clear();
@@ -37,9 +37,9 @@ void console_shows_online_presence_when_set_online(void **state)
     PContact contact = roster_get_contact("test1@server");
 
     expect_cons_show_contact_online(contact, resource, NULL);
-    
+
     handle_contact_online("test1@server", resource, NULL);
-    
+
     roster_clear();
 }
 
@@ -54,9 +54,9 @@ void console_shows_online_presence_when_set_all(void **state)
     PContact contact = roster_get_contact("test1@server");
 
     expect_cons_show_contact_online(contact, resource, NULL);
-    
+
     handle_contact_online("test1@server", resource, NULL);
-    
+
     roster_clear();
 }
 
@@ -68,7 +68,7 @@ void console_doesnt_show_dnd_presence_when_set_none(void **state)
     roster_init();
     roster_add("test1@server", "bob", NULL, "both", FALSE);
     Resource *resource = resource_new("resource", RESOURCE_DND, NULL, 10, "caps");
-    
+
     handle_contact_online("test1@server", resource, NULL);
 
     roster_clear();
@@ -82,7 +82,7 @@ void console_doesnt_show_dnd_presence_when_set_online(void **state)
     roster_init();
     roster_add("test1@server", "bob", NULL, "both", FALSE);
     Resource *resource = resource_new("resource", RESOURCE_DND, NULL, 10, "caps");
-    
+
     handle_contact_online("test1@server", resource, NULL);
 
     roster_clear();
@@ -99,8 +99,8 @@ void console_shows_dnd_presence_when_set_all(void **state)
     PContact contact = roster_get_contact("test1@server");
 
     expect_cons_show_contact_online(contact, resource, NULL);
-    
+
     handle_contact_online("test1@server", resource, NULL);
-    
+
     roster_clear();
 }
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 8291574d..3a61e9f5 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -414,7 +414,7 @@ int main(int argc, char* argv[]) {
     PROF_RUN_TESTS(cmd_statuses_tests);
     PROF_RUN_TESTS(preferences_tests);
     PROF_RUN_TESTS(server_events_tests);
-    
+
     fflush(stdout);
     dup2(bak, 1);
     close(bak);