[geocode-glib] test: Add empty json search parser test
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] test: Add empty json search parser test
- Date: Fri, 19 Oct 2012 17:16:23 +0000 (UTC)
commit 7c2c5c02155f62a008cfa893e1aac4742c30f848
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 19 19:07:27 2012 +0200
test: Add empty json search parser test
geocode-glib/test-gcglib.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 696b9e4..716e11d 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -276,7 +276,7 @@ test_locale (void)
}
static void
-test_json (void)
+test_resolve_json (void)
{
GHashTable *ht;
GError *error = NULL;
@@ -313,6 +313,12 @@ test_json (void)
}
}
+static void
+test_search_json (void)
+{
+ /* FIXME: Implement */
+}
+
int main (int argc, char **argv)
{
GError *error = NULL;
@@ -341,7 +347,8 @@ int main (int argc, char **argv)
}
if (params == NULL) {
- g_test_add_func ("/geocode/json", test_json);
+ g_test_add_func ("/geocode/resolve_json", test_resolve_json);
+ g_test_add_func ("/geocode/search_json", test_search_json);
g_test_add_func ("/geocode/reverse", test_rev);
g_test_add_func ("/geocode/pub", test_pub);
g_test_add_func ("/geocode/xep-0080", test_xep);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]