diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:47 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:47 +0800 |
commit | b8607414ea0e41c44a09d31ebcd0437a3c867a24 (patch) | |
tree | 0004eceb52b4bb3a4da1275057e46ea80e840a05 /tests/check-empathy-utils.c | |
parent | 736ff5bf9f668528f1a1db1c8c135a8165a1b044 (diff) | |
download | gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.gz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.bz2 gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.lz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.xz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.zst gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.zip |
merge git work
svn path=/trunk/; revision=518
Diffstat (limited to 'tests/check-empathy-utils.c')
-rw-r--r-- | tests/check-empathy-utils.c | 29 |
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; -} |