[evolution-data-server/account-mgmt: 37/39] Adapt libedataserverui tests to the new ESource API.



commit 1f4d67184db1429052a1c4532f9cbff9fd1f8426
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Aug 17 14:51:38 2011 -0400

    Adapt libedataserverui tests to the new ESource API.

 tests/libedataserverui/Makefile.am                |    5 -
 tests/libedataserverui/test-client-examine-auth.c |  421 ---------------------
 tests/libedataserverui/test-contact-store.c       |    2 +
 3 files changed, 2 insertions(+), 426 deletions(-)
---
diff --git a/tests/libedataserverui/Makefile.am b/tests/libedataserverui/Makefile.am
index 4603dff..4473a07 100644
--- a/tests/libedataserverui/Makefile.am
+++ b/tests/libedataserverui/Makefile.am
@@ -1,6 +1,5 @@
 noinst_PROGRAMS = 							\
 	test-category-completion					\
-	test-client-examine-auth					\
 	test-source-combo-box						\
 	test-source-selector						\
 	test-contact-store						\
@@ -28,10 +27,6 @@ test_category_completion_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)
 test_category_completion_SOURCES = test-category-completion.c
 test_category_completion_LDADD = $(TEST_EDATASERVERUI_LDFLAGS)
 
-test_client_examine_auth_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)
-test_client_examine_auth_SOURCES = test-client-examine-auth.c
-test_client_examine_auth_LDADD = $(TEST_EDATASERVERUI_LDFLAGS)
-
 test_source_selector_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)
 test_source_selector_SOURCES = test-source-selector.c
 test_source_selector_LDADD =  $(TEST_EDATASERVERUI_LDFLAGS)
diff --git a/tests/libedataserverui/test-contact-store.c b/tests/libedataserverui/test-contact-store.c
index 4b1566d..40816ae 100644
--- a/tests/libedataserverui/test-contact-store.c
+++ b/tests/libedataserverui/test-contact-store.c
@@ -95,10 +95,12 @@ start_test (const gchar *gconf_path)
 
 	gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);
 
+#if 0  /* ACCOUNT_MGMT */
 	book_client = e_book_client_new_default (NULL);
 	g_warn_if_fail (e_client_open_sync (E_CLIENT (book_client), TRUE, NULL, NULL));
 	e_contact_store_add_client (contact_store, book_client);
 	g_object_unref (book_client);
+#endif /* ACCOUNT_MGMT */
 
 	book_query = e_book_query_any_field_contains ("");
 	e_contact_store_set_query (contact_store, book_query);



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