[json-glib] [tests] Do not namespace with json-



commit 9f817eae9fe0d09441fa78b11ef148a3f4affe22
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Jun 9 11:21:19 2009 +0100

    [tests] Do not namespace with json-
---
 tests/test-generator.c |   10 +++++-----
 tests/test-parser.c    |   18 +++++++++---------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/tests/test-generator.c b/tests/test-generator.c
index e1671da..4d456c7 100644
--- a/tests/test-generator.c
+++ b/tests/test-generator.c
@@ -346,11 +346,11 @@ main (int   argc,
   g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
-  g_test_add_func ("/json-generator/empty-array", test_empty_array);
-  g_test_add_func ("/json-generator/empty-object", test_empty_object);
-  g_test_add_func ("/json-generator/simple-array", test_simple_array);
-  g_test_add_func ("/json-generator/nested-array", test_nested_array);
-  g_test_add_func ("/json-generator/simple-object", test_simple_object);
+  g_test_add_func ("/generator/empty-array", test_empty_array);
+  g_test_add_func ("/generator/empty-object", test_empty_object);
+  g_test_add_func ("/generator/simple-array", test_simple_array);
+  g_test_add_func ("/generator/nested-array", test_nested_array);
+  g_test_add_func ("/generator/simple-object", test_simple_object);
 
   return g_test_run ();
 }
diff --git a/tests/test-parser.c b/tests/test-parser.c
index 30bcc6b..bf55972 100644
--- a/tests/test-parser.c
+++ b/tests/test-parser.c
@@ -519,15 +519,15 @@ main (int   argc,
   g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
-  g_test_add_func ("/json-parser/empty-string", test_empty);
-  g_test_add_func ("/json-parser/empty-array", test_empty_array);
-  g_test_add_func ("/json-parser/simple-array", test_simple_array);
-  g_test_add_func ("/json-parser/nested-array", test_nested_array);
-  g_test_add_func ("/json-parser/empty-object", test_empty_object);
-  g_test_add_func ("/json-parser/simple-object", test_simple_object);
-  g_test_add_func ("/json-parser/nested-object", test_nested_object);
-  g_test_add_func ("/json-parser/assignment", test_assignment);
-  g_test_add_func ("/json-parser/unicode-escape", test_unicode_escape);
+  g_test_add_func ("/parser/empty-string", test_empty);
+  g_test_add_func ("/parser/empty-array", test_empty_array);
+  g_test_add_func ("/parser/simple-array", test_simple_array);
+  g_test_add_func ("/parser/nested-array", test_nested_array);
+  g_test_add_func ("/parser/empty-object", test_empty_object);
+  g_test_add_func ("/parser/simple-object", test_simple_object);
+  g_test_add_func ("/parser/nested-object", test_nested_object);
+  g_test_add_func ("/parser/assignment", test_assignment);
+  g_test_add_func ("/parser/unicode-escape", test_unicode_escape);
 
   return g_test_run ();
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]