1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-06 20:03:46 -04:00

Removed roster_list tests covered by contact tests

This commit is contained in:
James Booth 2014-01-05 01:37:30 +00:00
parent 5898da963a
commit 61ea120bfd
3 changed files with 0 additions and 26 deletions

View File

@ -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();

View File

@ -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);

View File

@ -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),