Mercurial > pidgin
view libpurple/tests/tests.h @ 16733:a8e8482a2dc6
Clean up a few TODO's.
1) Update two old comments to reflect code.
2) Comment out escaping key and value in msim_send.
3) Add TODO for msim_send to support field types.
4) Update TODO for login2 command--'response' field must NOT be escaped.
5) Resolve TODO: add GUI options to change connect server and port.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 20 May 2007 19:12:32 +0000 |
parents | 6577b292e7b4 |
children | fb73a6ed8197 |
line wrap: on
line source
#ifndef TESTS_H # define TESTS_H #include <glib.h> #include <check.h> /* define the test suites here */ /* remember to add the suite to the runner in check_libpurple.c */ Suite * master_suite(void); Suite * cipher_suite(void); Suite * jabber_jutil_suite(void); Suite * util_suite(void); /* helper macros */ #define assert_string_equal(expected, actual) { \ const gchar *a = actual; \ fail_unless(strcmp(expected, a) == 0, "Expecting '%s' but got '%s'", expected, a); \ } #define assert_string_equal_free(expected, actual) { \ gchar *b = actual; \ assert_string_equal(expected, b); \ g_free(b); \ } #endif /* ifndef TESTS_H */