about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-05 01:37:30 +0000
committerJames Booth <boothj5@gmail.com>2014-01-05 01:37:30 +0000
commit61ea120bfd8fd327f4c0641feda10e7a8e013c74 (patch)
tree2e3556b0a93c3cadfe2f93d275dac411d8e4fe6a /tests
parent5898da963a254294ce5dd24b8a9534256f7efd45 (diff)
downloadprofani-tty-61ea120bfd8fd327f4c0641feda10e7a8e013c74.tar.gz
Removed roster_list tests covered by contact tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test_roster_list.c22
-rw-r--r--tests/test_roster_list.h2
-rw-r--r--tests/testsuite.c2
3 files changed, 0 insertions, 26 deletions
diff --git a/tests/test_roster_list.c b/tests/test_roster_list.c
index 4a78d877..104921ba 100644
--- a/tests/test_roster_list.c
+++ b/tests/test_roster_list.c
@@ -149,28 +149,6 @@ void add_twice_at_end_adds_once(void **state)
     roster_free();
 }
 
-void test_show_online_when_no_value(void **state)
-{
-    roster_init();
-    roster_add("James", NULL, NULL, NULL, FALSE, TRUE);
-    GSList *list = roster_get_contacts();
-    PContact james = list->data;
-
-    assert_string_equal("offline", p_contact_presence(james));
-    roster_free();
-}
-
-void test_status_when_no_value(void **state)
-{
-    roster_init();
-    roster_add("James", NULL, NULL, NULL, FALSE, TRUE);
-    GSList *list = roster_get_contacts();
-    PContact james = list->data;
-
-    assert_null(p_contact_status(james));
-    roster_free();
-}
-
 void find_first_exists(void **state)
 {
     roster_init();
diff --git a/tests/test_roster_list.h b/tests/test_roster_list.h
index e5ac15f1..080bca9f 100644
--- a/tests/test_roster_list.h
+++ b/tests/test_roster_list.h
@@ -8,8 +8,6 @@ void first_three_elements_correct(void **state);
 void add_twice_at_beginning_adds_once(void **state);
 void add_twice_in_middle_adds_once(void **state);
 void add_twice_at_end_adds_once(void **state);
-void test_show_online_when_no_value(void **state);
-void test_status_when_no_value(void **state);
 void find_first_exists(void **state);
 void find_second_exists(void **state);
 void find_third_exists(void **state);
diff --git a/tests/testsuite.c b/tests/testsuite.c
index c4606a49..105f5f65 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -159,8 +159,6 @@ int main(int argc, char* argv[]) {
         unit_test(add_twice_at_beginning_adds_once),
         unit_test(add_twice_in_middle_adds_once),
         unit_test(add_twice_at_end_adds_once),
-        unit_test(test_show_online_when_no_value),
-        unit_test(test_status_when_no_value),
         unit_test(find_first_exists),
         unit_test(find_second_exists),
         unit_test(find_third_exists),