8 /* define the test suites here */
9 /* remember to add the suite to the runner in check_libpurple.c */
10 Suite
* master_suite(void);
11 Suite
* cipher_suite(void);
12 Suite
* jabber_caps_suite(void);
13 Suite
* jabber_digest_md5_suite(void);
14 Suite
* jabber_jutil_suite(void);
15 Suite
* jabber_scram_suite(void);
16 Suite
* oscar_util_suite(void);
17 Suite
* util_suite(void);
18 Suite
* xmlnode_suite(void);
21 #define assert_int_equal(expected, actual) { \
22 fail_if(expected != actual, "Expected '%d' but got '%d'", expected, actual); \
25 #define assert_string_equal(expected, actual) { \
26 const gchar *a = actual; \
27 fail_unless(purple_strequal(expected, a), "Expected '%s' but got '%s'", expected, a); \
30 #define assert_string_equal_free(expected, actual) { \
32 assert_string_equal(expected, b); \
37 #endif /* ifndef TESTS_H */