[evolution-data-server/openismus-work] Ported test-client-upgrade-addressbook to new test framework.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work] Ported test-client-upgrade-addressbook to new test framework.
- Date: Fri, 14 Dec 2012 11:23:44 +0000 (UTC)
commit 3bfa71e96f6ad092c6041bd43d1d526b32be0de1
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]