[evolution-data-server/openismus-work-master: 15/23] Removing e-source-registry-test.c and e-test-dbus-utils.[ch]



commit 3d0f974e1ec9ae53384a78f25329cd9f3b146d63
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Wed Dec 12 14:23:30 2012 +0900

    Removing e-source-registry-test.c and e-test-dbus-utils.[ch]
    
    The source registry test checks if sources can be created in the
    registry, this is already asserted by e-test-server-utils in
    the fixture test. Removing the e-test-dbus-utils.[ch] in favour
    of new testing framework added in test-server-utils directory.

 tests/libedataserver/Makefile.am              |   12 +--
 tests/libedataserver/e-source-registry-test.c |  152 --------------------
 tests/libedataserver/e-source-test.c          |    2 +
 tests/libedataserver/e-test-dbus-utils.c      |  184 -------------------------
 tests/libedataserver/e-test-dbus-utils.h      |   34 -----
 5 files changed, 3 insertions(+), 381 deletions(-)
---
diff --git a/tests/libedataserver/Makefile.am b/tests/libedataserver/Makefile.am
index efc7d9a..a77f504 100644
--- a/tests/libedataserver/Makefile.am
+++ b/tests/libedataserver/Makefile.am
@@ -4,8 +4,7 @@ NULL =
 
 TESTS = \
 	e-source-test \
-	e-source-registry-test \
-	e-user-prompter-test \
+	e-user-prompter-test
 	$(NULL)
 
 noinst_PROGRAMS = $(TESTS)
@@ -29,12 +28,6 @@ e_source_test_SOURCES = \
 	e-source-test.c \
 	$(NULL)
 
-e_source_registry_test_SOURCES = \
-	e-source-registry-test.c \
-	e-test-dbus-utils.c \
-	e-test-dbus-utils.h \
-	$(NULL)
-
 e_user_prompter_test_SOURCES = \
 	e-user-prompter-test.c \
 	$(NULL)
@@ -42,9 +35,6 @@ e_user_prompter_test_SOURCES = \
 e_source_test_CPPFLAGS = $(test_CPPFLAGS)
 e_source_test_LDADD = $(test_LDADD)
 
-e_source_registry_test_CPPFLAGS = $(test_CPPFLAGS)
-e_source_registry_test_LDADD = $(test_LDADD)
-
 e_user_prompter_test_CPPFLAGS = $(test_CPPFLAGS)
 e_user_prompter_test_LDADD = $(top_builddir)/libebackend/libebackend-1.2.la $(test_LDADD)
 
diff --git a/tests/libedataserver/e-source-test.c b/tests/libedataserver/e-source-test.c
index bb14f5d..d6b6da0 100644
--- a/tests/libedataserver/e-source-test.c
+++ b/tests/libedataserver/e-source-test.c
@@ -124,7 +124,9 @@ static void
 test_fixture_teardown_key_file (TestFixture *fixture,
                                 gconstpointer test_data)
 {
+#if 0  /* ACCOUNT_MGMT */
 	teardown_test_source (&fixture->test);
+#endif
 }
 
 static void



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