From db0fd2e3da0b075282169e2a220a1c4051c4309d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 29 Jun 2011 11:48:20 +0200 Subject: remove unused string util functions --- tests/Makefile.am | 4 ---- tests/empathy-utils-test.c | 33 --------------------------------- 2 files changed, 37 deletions(-) delete mode 100644 tests/empathy-utils-test.c (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index a9fc0cb1e..7bcfa5e49 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,7 +25,6 @@ LDADD = \ $(NULL) TEST_PROGS = \ - empathy-utils-test \ empathy-irc-server-test \ empathy-irc-network-test \ empathy-irc-network-manager-test \ @@ -35,9 +34,6 @@ TEST_PROGS = \ empathy-live-search-test \ empathy-tls-test -empathy_utils_test_SOURCES = empathy-utils-test.c \ - test-helper.c test-helper.h - empathy_tls_test_SOURCES = empathy-tls-test.c \ test-helper.c test-helper.h 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 -#include -#include - -#include -#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; -} -- cgit v1.2.3