[evolution-data-server] Removing e-source-registry-test.c and e-test-dbus-utils.[ch]



commit 8028e303a98db4c3fb9a6da6f33c9d311c00f54d
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] and
    tests/tools directory in favour of new testing framework added in
    test-server-utils directory.

 configure.ac                                  |    1 -
 tests/Makefile.am                             |    2 +-
 tests/libedataserver/Makefile.am              |   10 --
 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 -----
 tests/tools/Makefile.am                       |    5 -
 tests/tools/dbus-session.sh                   |  114 ---------------
 tests/tools/eds.sh                            |   36 -----
 tests/tools/with-session-bus-eds.sh           |   45 ------
 11 files changed, 3 insertions(+), 582 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 212736c..9d4e771 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1627,7 +1627,6 @@ tests/libecal/Makefile
 tests/libecal/client/Makefile
 tests/libedata-cal/Makefile
 tests/libedataserver/Makefile
-tests/tools/Makefile
 docs/Makefile
 docs/reference/Makefile
 docs/reference/addressbook/Makefile
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6c5f457..cffe9a2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = libedataserver libebook libecal libedata-cal tools
+SUBDIRS = libedataserver libebook libecal libedata-cal
 
 @GNOME_CODE_COVERAGE_RULES@
 
diff --git a/tests/libedataserver/Makefile.am b/tests/libedataserver/Makefile.am
index efc7d9a..7dc05e3 100644
--- a/tests/libedataserver/Makefile.am
+++ b/tests/libedataserver/Makefile.am
@@ -4,7 +4,6 @@ NULL =
 
 TESTS = \
 	e-source-test \
-	e-source-registry-test \
 	e-user-prompter-test \
 	$(NULL)
 
@@ -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]