[evolution-data-server/openismus-work: 118/122] Ported test-client-upgrade-addressbook to new test framework.



commit befd8f08d2101c3e6690596f1d0ca1176b868806
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Fri Dec 14 20:06:43 2012 +0900

    Ported test-client-upgrade-addressbook to new test framework.

 .../client/test-client-upgrade-addressbook.c       |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/libebook/client/test-client-upgrade-addressbook.c b/tests/libebook/client/test-client-upgrade-addressbook.c
index 9ba5834..9814647 100644
--- a/tests/libebook/client/test-client-upgrade-addressbook.c
+++ b/tests/libebook/client/test-client-upgrade-addressbook.c
@@ -326,6 +326,10 @@ main (gint argc,
 #endif
 	g_test_init (&argc, &argv, NULL);
 
+	/* Setting with U.S. locale for addresses */
+	g_setenv ("LC_ADDRESS", "en_US.UTF-8", TRUE);
+	setlocale (LC_ADDRESS, "");
+
 	add_test ("/upgrade/0.2/dbus/book-client", "0.2", INDIRECT_ACCESS, test_book_client);
 	add_test ("/upgrade/0.2/dbus/book-client-view", "0.2", INDIRECT_ACCESS, test_book_client_view);
 	add_test ("/upgrade/0.2/direct/book-client", "0.2", DIRECT_ACCESS, test_book_client);



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