aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check-empathy-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-27 23:44:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-03 20:25:01 +0800
commitf053694701a9cb6c35fa0250c1a0b3374bd54395 (patch)
treee6279a3a2c8c57b1c9ed5ed505852efd06258f81 /tests/check-empathy-utils.c
parenta97016255a79a5b26af59411eab907d2881bc63e (diff)
downloadgsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar.gz
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar.bz2
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar.lz
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar.xz
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.tar.zst
gsoc2013-empathy-f053694701a9cb6c35fa0250c1a0b3374bd54395.zip
port check-empathy-utils.c to GTest
Diffstat (limited to 'tests/check-empathy-utils.c')
-rw-r--r--tests/check-empathy-utils.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/check-empathy-utils.c b/tests/check-empathy-utils.c
deleted file mode 100644
index faf261058..000000000
--- a/tests/check-empathy-utils.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-
-#include <check.h>
-#include "check-helpers.h"
-#include "check-libempathy.h"
-
-#include <libempathy/empathy-utils.h>
-
-START_TEST (test_empathy_substring)
-{
- gchar *tmp;
-
- tmp = empathy_substring ("empathy", 2, 6);
- fail_if (tmp == NULL);
- fail_if (strcmp (tmp, "path") != 0);
-
- g_free (tmp);
-}
-END_TEST
-
-TCase *
-make_empathy_utils_tcase (void)
-{
- TCase *tc = tcase_create ("empathy-utils");
- tcase_add_test (tc, test_empathy_substring);
- return tc;
-}