[evolution-data-server/openismus-work] test-fixture: Removing deprecated book/calendar tests



commit 14e4d62bc73ee77259a556aadc2fda2b9a5c4659
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Thu Jan 31 16:16:42 2013 +0900

    test-fixture: Removing deprecated book/calendar tests
    
    These wont pass in the gnome-3-6 based branch.

 tests/test-server-utils/test-fixture.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-server-utils/test-fixture.c b/tests/test-server-utils/test-fixture.c
index 8077f68..164b572 100644
--- a/tests/test-server-utils/test-fixture.c
+++ b/tests/test-server-utils/test-fixture.c
@@ -27,8 +27,11 @@
 static ETestServerClosure registry_closure = { E_TEST_SERVER_NONE, NULL, 0 };
 static ETestServerClosure book_closure     = { E_TEST_SERVER_ADDRESS_BOOK, NULL, 0 };
 static ETestServerClosure calendar_closure = { E_TEST_SERVER_CALENDAR, NULL, E_CAL_CLIENT_SOURCE_TYPE_EVENTS };
+
+#if 0 /* Disable deprecated API tests in this branch */
 static ETestServerClosure deprecated_book_closure     = { E_TEST_SERVER_DEPRECATED_ADDRESS_BOOK, NULL, 0 };
 static ETestServerClosure deprecated_calendar_closure = { E_TEST_SERVER_DEPRECATED_CALENDAR, NULL, E_CAL_SOURCE_TYPE_EVENT };
+#endif
 
 static void
 empty_test (ETestServerFixture *fixture,
@@ -78,6 +81,7 @@ main (int   argc,
 			    e_test_server_utils_setup, empty_test, e_test_server_utils_teardown);
 	}
 
+#if 0 /* Disable deprecated API tests in this branch */
 	for (i = 0; i < N_CYCLES; i++) {
 		deprecated_book_keys[i] = g_strdup_printf ("/Fixture/Deprecated/Book%d", i);
 		g_test_add (deprecated_book_keys[i], ETestServerFixture, &deprecated_book_closure,
@@ -89,6 +93,7 @@ main (int   argc,
 		g_test_add (deprecated_calendar_keys[i], ETestServerFixture, &deprecated_calendar_closure,
 			    e_test_server_utils_setup, empty_test, e_test_server_utils_teardown);
 	}
+#endif
 
 	ret = e_test_server_utils_run ();
 



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