Changes in tests/check_jabber_util.c [757515a:842cd8d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/check_jabber_util.c
r757515a r842cd8d 95 95 } 96 96 97 static void check_compareJID(int l)98 {99 fail_unless( jabber_compare_jid( "bugtest@google.com/B", "bugtest@google.com/A" ) );100 fail_if( jabber_compare_jid( "bugtest1@google.com/B", "bugtest@google.com/A" ) );101 fail_if( jabber_compare_jid( "bugtest@google.com/B", "bugtest1@google.com/A" ) );102 fail_if( jabber_compare_jid( "bugtest1@google.com/B", "bugtest2@google.com/A" ) );103 fail_unless( jabber_compare_jid( "bugtest@google.com/A", "bugtest@google.com/A" ) );104 fail_if( jabber_compare_jid( "", "bugtest@google.com/A" ) );105 }106 107 97 Suite *jabber_util_suite (void) 108 98 { … … 120 110 suite_add_tcase (s, tc_core); 121 111 tcase_add_test (tc_core, check_buddy_add); 122 tcase_add_test (tc_core, check_compareJID);123 112 return s; 124 113 }
Note: See TracChangeset
for help on using the changeset viewer.