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



commit 5c90bd3dce6ab07fae1996194f13ab8cadf9383c
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 |  428 ---------------------
 tests/libedataserverui/test-contact-store.c       |    2 +
 3 files changed, 2 insertions(+), 433 deletions(-)
---
diff --git a/tests/libedataserverui/Makefile.am b/tests/libedataserverui/Makefile.am
index dad9eb3..606da7d 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						\
@@ -30,10 +29,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]