[tracker/tracker-0.10] Fix encoding unit test to the initialize locale system
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] Fix encoding unit test to the initialize locale system
- Date: Thu, 5 May 2011 12:59:00 +0000 (UTC)
commit a114c3e68daa45ecbb473cb771f6fed5b9d0de41
Author: Philip Van Hoof <philip codeminded be>
Date: Wed May 4 12:04:33 2011 +0200
Fix encoding unit test to the initialize locale system
tests/libtracker-extract/tracker-encoding-test.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-extract/tracker-encoding-test.c b/tests/libtracker-extract/tracker-encoding-test.c
index 59e712b..4ce49e5 100644
--- a/tests/libtracker-extract/tracker-encoding-test.c
+++ b/tests/libtracker-extract/tracker-encoding-test.c
@@ -22,6 +22,7 @@
#include <glib-object.h>
#include <libtracker-extract/tracker-encoding.h>
+#include <libtracker-common/tracker-locale.h>
static void
test_encoding_guessing ()
@@ -58,8 +59,10 @@ main (int argc, char **argv)
g_type_init ();
g_test_init (&argc, &argv, NULL);
+ tracker_locale_init ();
g_test_add_func ("/libtracker-extract/tracker-encoding/encoding_guessing",
test_encoding_guessing);
+ tracker_locale_shutdown ();
return g_test_run ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]