comparison libpurple/tests/tests.h @ 31653:f1874b08b3f9

Add unit tests for oscar_util_name_compare. I suspected that this function missed a few cases, but I was wrong, it's good. I used ck_assert_int_eq and ck_assert_ne, which look like they might be newer API. If that causes a problem we can change them to fail_if and fail_unless
author Mark Doliner <mark@kingant.net>
date Mon, 14 Feb 2011 03:10:09 +0000
parents e743507b3767
children 81a2ec76c285
comparison
equal deleted inserted replaced
31652:258fec7797b9 31653:f1874b08b3f9
11 Suite * cipher_suite(void); 11 Suite * cipher_suite(void);
12 Suite * jabber_caps_suite(void); 12 Suite * jabber_caps_suite(void);
13 Suite * jabber_digest_md5_suite(void); 13 Suite * jabber_digest_md5_suite(void);
14 Suite * jabber_jutil_suite(void); 14 Suite * jabber_jutil_suite(void);
15 Suite * jabber_scram_suite(void); 15 Suite * jabber_scram_suite(void);
16 Suite * oscar_util_suite(void);
16 Suite * qq_suite(void); 17 Suite * qq_suite(void);
17 Suite * yahoo_util_suite(void); 18 Suite * yahoo_util_suite(void);
18 Suite * util_suite(void); 19 Suite * util_suite(void);
19 20
20 /* helper macros */ 21 /* helper macros */