diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-29 17:48:20 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-29 17:53:42 +0800 |
commit | db0fd2e3da0b075282169e2a220a1c4051c4309d (patch) | |
tree | eea626de23a1fa6b5909d0febff7f722550d0918 /tests/empathy-utils-test.c | |
parent | 442e6acd522cfaaeae71b8ebde6031de0a3cc44e (diff) | |
download | gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar.gz gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar.bz2 gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar.lz gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar.xz gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.tar.zst gsoc2013-empathy-db0fd2e3da0b075282169e2a220a1c4051c4309d.zip |
remove unused string util functions
Diffstat (limited to 'tests/empathy-utils-test.c')
-rw-r--r-- | tests/empathy-utils-test.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/empathy-utils-test.c b/tests/empathy-utils-test.c deleted file mode 100644 index 896793aa0..000000000 --- a/tests/empathy-utils-test.c +++ /dev/null @@ -1,33 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> -#include <string.h> - -#include <libempathy/empathy-utils.h> -#include "test-helper.h" - -static void -test_substring (void) -{ - gchar *tmp; - - tmp = empathy_substring ("empathy", 2, 6); - g_assert (tmp != NULL); - g_assert (strcmp (tmp, "path") == 0); - - g_free (tmp); -} - -int -main (int argc, - char **argv) -{ - int result; - - test_init (argc, argv); - - g_test_add_func ("/utils/substring", test_substring); - - result = g_test_run (); - test_deinit (); - return result; -} |