[evolution-data-server] Moved all libebook/client tests to have a namespace
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Moved all libebook/client tests to have a namespace
- Date: Wed, 4 Dec 2013 08:02:51 +0000 (UTC)
commit 7c11b7e309268c1992a1b16e3859b3eb810173b4
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Wed Dec 4 17:00:37 2013 +0900
Moved all libebook/client tests to have a namespace
Avoid naming conflicts when installing tests into ${pkglibexecdir}/installed-tests
tests/libebook/client/Makefile.am | 192 ++++++++++----------
...sync.c => test-book-client-add-and-get-async.c} | 0
...-sync.c => test-book-client-add-and-get-sync.c} | 0
...dd-contact.c => test-book-client-add-contact.c} | 0
...r-create.c => test-book-client-cursor-create.c} | 0
...ions.c => test-book-client-cursor-operations.c} | 0
...summary.c => test-book-client-custom-summary.c} | 0
...-e164-param.c => test-book-client-e164-param.c} | 0
...-uids.c => test-book-client-get-contact-uids.c} | 0
...et-contact.c => test-book-client-get-contact.c} | 0
...-revision.c => test-book-client-get-revision.c} | 0
...ient-get-view.c => test-book-client-get-view.c} | 0
...contact.c => test-book-client-modify-contact.c} | 0
...to-is-uri.c => test-book-client-photo-is-uri.c} | 0
...serve-uid.c => test-book-client-preserve-uid.c} | 0
...client-refresh.c => test-book-client-refresh.c} | 0
....c => test-book-client-remove-contact-by-uid.c} | 0
...contact.c => test-book-client-remove-contact.c} | 0
...ntacts.c => test-book-client-remove-contacts.c} | 0
...ion-view.c => test-book-client-revision-view.c} | 0
...{test-client-self.c => test-book-client-self.c} | 0
...c => test-book-client-suppress-notifications.c} | 0
...nly-view.c => test-book-client-uid-only-view.c} | 0
...ations.c => test-book-client-view-operations.c} | 0
...rite-write.c => test-book-client-write-write.c} | 0
25 files changed, 96 insertions(+), 96 deletions(-)
---
diff --git a/tests/libebook/client/Makefile.am b/tests/libebook/client/Makefile.am
index fd75c23..bbe3fc6 100644
--- a/tests/libebook/client/Makefile.am
+++ b/tests/libebook/client/Makefile.am
@@ -35,30 +35,30 @@ libclient_test_utils_la_LIBADD = \
# Should be kept ordered approximately from least to most difficult/complex
TESTS = \
- test-client-refresh \
- test-client-add-contact \
- test-client-get-contact \
- test-client-get-contact-uids \
- test-client-modify-contact \
- test-client-remove-contact \
- test-client-remove-contact-by-uid \
- test-client-remove-contacts \
- test-client-add-and-get-sync \
- test-client-add-and-get-async \
- test-client-self \
- test-client-preserve-uid \
- test-client-photo-is-uri \
- test-client-e164-param \
- test-client-custom-summary \
- test-client-get-revision \
- test-client-write-write \
- test-client-get-view \
- test-client-uid-only-view \
- test-client-revision-view \
- test-client-view-operations \
- test-client-suppress-notifications \
- test-client-cursor-create \
- test-client-cursor-operations \
+ test-book-client-refresh \
+ test-book-client-add-contact \
+ test-book-client-get-contact \
+ test-book-client-get-contact-uids \
+ test-book-client-modify-contact \
+ test-book-client-remove-contact \
+ test-book-client-remove-contact-by-uid \
+ test-book-client-remove-contacts \
+ test-book-client-add-and-get-sync \
+ test-book-client-add-and-get-async \
+ test-book-client-self \
+ test-book-client-preserve-uid \
+ test-book-client-photo-is-uri \
+ test-book-client-e164-param \
+ test-book-client-custom-summary \
+ test-book-client-get-revision \
+ test-book-client-write-write \
+ test-book-client-get-view \
+ test-book-client-uid-only-view \
+ test-book-client-revision-view \
+ test-book-client-view-operations \
+ test-book-client-suppress-notifications \
+ test-book-client-cursor-create \
+ test-book-client-cursor-operations \
$(NULL)
# The noinst tests are functional tests, not unit tests.
@@ -79,54 +79,54 @@ TEST_LIBS = \
$(EVOLUTION_ADDRESSBOOK_LIBS) \
$(NULL)
-test_client_add_and_get_sync_LDADD=$(TEST_LIBS)
-test_client_add_and_get_sync_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_add_and_get_async_LDADD=$(TEST_LIBS)
-test_client_add_and_get_async_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_add_contact_LDADD=$(TEST_LIBS)
-test_client_add_contact_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_preserve_uid_LDADD=$(TEST_LIBS)
-test_client_preserve_uid_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_get_contact_LDADD=$(TEST_LIBS)
-test_client_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_get_contact_uids_LDADD=$(TEST_LIBS)
-test_client_get_contact_uids_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_e164_param_LDADD=$(TEST_LIBS)
-test_client_e164_param_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_custom_summary_LDADD=$(TEST_LIBS)
-test_client_custom_summary_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_get_revision_LDADD=$(TEST_LIBS)
-test_client_get_revision_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_get_view_LDADD=$(TEST_LIBS)
-test_client_get_view_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_uid_only_view_LDADD=$(TEST_LIBS)
-test_client_uid_only_view_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_revision_view_LDADD=$(TEST_LIBS)
-test_client_revision_view_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_view_operations_LDADD=$(TEST_LIBS)
-test_client_view_operations_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_suppress_notifications_LDADD=$(TEST_LIBS)
-test_client_suppress_notifications_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_modify_contact_LDADD=$(TEST_LIBS)
-test_client_modify_contact_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_refresh_LDADD=$(TEST_LIBS)
-test_client_refresh_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_remove_contact_LDADD=$(TEST_LIBS)
-test_client_remove_contact_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_remove_contact_by_uid_LDADD=$(TEST_LIBS)
-test_client_remove_contact_by_uid_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_remove_contacts_LDADD=$(TEST_LIBS)
-test_client_remove_contacts_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_photo_is_uri_LDADD=$(TEST_LIBS)
-test_client_photo_is_uri_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_write_write_LDADD=$(TEST_LIBS)
-test_client_write_write_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_self_LDADD=$(TEST_LIBS)
-test_client_self_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_cursor_create_LDADD=$(TEST_LIBS)
-test_client_cursor_create_CPPFLAGS=$(TEST_CPPFLAGS)
-test_client_cursor_operations_LDADD=$(TEST_LIBS)
-test_client_cursor_operations_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_add_and_get_sync_LDADD=$(TEST_LIBS)
+test_book_client_add_and_get_sync_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_add_and_get_async_LDADD=$(TEST_LIBS)
+test_book_client_add_and_get_async_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_add_contact_LDADD=$(TEST_LIBS)
+test_book_client_add_contact_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_preserve_uid_LDADD=$(TEST_LIBS)
+test_book_client_preserve_uid_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_get_contact_LDADD=$(TEST_LIBS)
+test_book_client_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_get_contact_uids_LDADD=$(TEST_LIBS)
+test_book_client_get_contact_uids_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_e164_param_LDADD=$(TEST_LIBS)
+test_book_client_e164_param_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_custom_summary_LDADD=$(TEST_LIBS)
+test_book_client_custom_summary_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_get_revision_LDADD=$(TEST_LIBS)
+test_book_client_get_revision_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_get_view_LDADD=$(TEST_LIBS)
+test_book_client_get_view_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_uid_only_view_LDADD=$(TEST_LIBS)
+test_book_client_uid_only_view_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_revision_view_LDADD=$(TEST_LIBS)
+test_book_client_revision_view_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_view_operations_LDADD=$(TEST_LIBS)
+test_book_client_view_operations_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_suppress_notifications_LDADD=$(TEST_LIBS)
+test_book_client_suppress_notifications_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_modify_contact_LDADD=$(TEST_LIBS)
+test_book_client_modify_contact_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_refresh_LDADD=$(TEST_LIBS)
+test_book_client_refresh_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_remove_contact_LDADD=$(TEST_LIBS)
+test_book_client_remove_contact_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_remove_contact_by_uid_LDADD=$(TEST_LIBS)
+test_book_client_remove_contact_by_uid_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_remove_contacts_LDADD=$(TEST_LIBS)
+test_book_client_remove_contacts_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_photo_is_uri_LDADD=$(TEST_LIBS)
+test_book_client_photo_is_uri_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_write_write_LDADD=$(TEST_LIBS)
+test_book_client_write_write_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_self_LDADD=$(TEST_LIBS)
+test_book_client_self_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_cursor_create_LDADD=$(TEST_LIBS)
+test_book_client_cursor_create_CPPFLAGS=$(TEST_CPPFLAGS)
+test_book_client_cursor_operations_LDADD=$(TEST_LIBS)
+test_book_client_cursor_operations_CPPFLAGS=$(TEST_CPPFLAGS)
-include $(top_srcdir)/git.mk
@@ -136,37 +136,37 @@ test_client_cursor_operations_CPPFLAGS=$(TEST_CPPFLAGS)
@EDS_INSTALLED_TESTS_RULE@
# Here we list all the $(TESTS) except
-# for test-client-cursor-operations, that
+# for test-book-client-cursor-operations, that
# test requires that we set the locale
# on the system bus, or set EDS_TESTING=1
# both in the test environment AND the D-Bus
# session environment.
#
-# test-client-self also fails for some reason
+# test-book-client-self also fails for some reason
# when running installed, not sure why.
INSTALLED_TESTS = \
- test-client-refresh \
- test-client-add-contact \
- test-client-get-contact \
- test-client-get-contact-uids \
- test-client-modify-contact \
- test-client-remove-contact \
- test-client-remove-contact-by-uid \
- test-client-remove-contacts \
- test-client-add-and-get-sync \
- test-client-add-and-get-async \
- test-client-preserve-uid \
- test-client-photo-is-uri \
- test-client-e164-param \
- test-client-custom-summary \
- test-client-get-revision \
- test-client-write-write \
- test-client-get-view \
- test-client-uid-only-view \
- test-client-revision-view \
- test-client-view-operations \
- test-client-suppress-notifications \
- test-client-cursor-create \
+ test-book-client-refresh \
+ test-book-client-add-contact \
+ test-book-client-get-contact \
+ test-book-client-get-contact-uids \
+ test-book-client-modify-contact \
+ test-book-client-remove-contact \
+ test-book-client-remove-contact-by-uid \
+ test-book-client-remove-contacts \
+ test-book-client-add-and-get-sync \
+ test-book-client-add-and-get-async \
+ test-book-client-preserve-uid \
+ test-book-client-photo-is-uri \
+ test-book-client-e164-param \
+ test-book-client-custom-summary \
+ test-book-client-get-revision \
+ test-book-client-write-write \
+ test-book-client-get-view \
+ test-book-client-uid-only-view \
+ test-book-client-revision-view \
+ test-book-client-view-operations \
+ test-book-client-suppress-notifications \
+ test-book-client-cursor-create \
$(NULL)
INSTALLED_TESTS_TYPE = session-exclusive
diff --git a/tests/libebook/client/test-client-add-and-get-async.c
b/tests/libebook/client/test-book-client-add-and-get-async.c
similarity index 100%
rename from tests/libebook/client/test-client-add-and-get-async.c
rename to tests/libebook/client/test-book-client-add-and-get-async.c
diff --git a/tests/libebook/client/test-client-add-and-get-sync.c
b/tests/libebook/client/test-book-client-add-and-get-sync.c
similarity index 100%
rename from tests/libebook/client/test-client-add-and-get-sync.c
rename to tests/libebook/client/test-book-client-add-and-get-sync.c
diff --git a/tests/libebook/client/test-client-add-contact.c
b/tests/libebook/client/test-book-client-add-contact.c
similarity index 100%
rename from tests/libebook/client/test-client-add-contact.c
rename to tests/libebook/client/test-book-client-add-contact.c
diff --git a/tests/libebook/client/test-client-cursor-create.c
b/tests/libebook/client/test-book-client-cursor-create.c
similarity index 100%
rename from tests/libebook/client/test-client-cursor-create.c
rename to tests/libebook/client/test-book-client-cursor-create.c
diff --git a/tests/libebook/client/test-client-cursor-operations.c
b/tests/libebook/client/test-book-client-cursor-operations.c
similarity index 100%
rename from tests/libebook/client/test-client-cursor-operations.c
rename to tests/libebook/client/test-book-client-cursor-operations.c
diff --git a/tests/libebook/client/test-client-custom-summary.c
b/tests/libebook/client/test-book-client-custom-summary.c
similarity index 100%
rename from tests/libebook/client/test-client-custom-summary.c
rename to tests/libebook/client/test-book-client-custom-summary.c
diff --git a/tests/libebook/client/test-client-e164-param.c
b/tests/libebook/client/test-book-client-e164-param.c
similarity index 100%
rename from tests/libebook/client/test-client-e164-param.c
rename to tests/libebook/client/test-book-client-e164-param.c
diff --git a/tests/libebook/client/test-client-get-contact-uids.c
b/tests/libebook/client/test-book-client-get-contact-uids.c
similarity index 100%
rename from tests/libebook/client/test-client-get-contact-uids.c
rename to tests/libebook/client/test-book-client-get-contact-uids.c
diff --git a/tests/libebook/client/test-client-get-contact.c
b/tests/libebook/client/test-book-client-get-contact.c
similarity index 100%
rename from tests/libebook/client/test-client-get-contact.c
rename to tests/libebook/client/test-book-client-get-contact.c
diff --git a/tests/libebook/client/test-client-get-revision.c
b/tests/libebook/client/test-book-client-get-revision.c
similarity index 100%
rename from tests/libebook/client/test-client-get-revision.c
rename to tests/libebook/client/test-book-client-get-revision.c
diff --git a/tests/libebook/client/test-client-get-view.c b/tests/libebook/client/test-book-client-get-view.c
similarity index 100%
rename from tests/libebook/client/test-client-get-view.c
rename to tests/libebook/client/test-book-client-get-view.c
diff --git a/tests/libebook/client/test-client-modify-contact.c
b/tests/libebook/client/test-book-client-modify-contact.c
similarity index 100%
rename from tests/libebook/client/test-client-modify-contact.c
rename to tests/libebook/client/test-book-client-modify-contact.c
diff --git a/tests/libebook/client/test-client-photo-is-uri.c
b/tests/libebook/client/test-book-client-photo-is-uri.c
similarity index 100%
rename from tests/libebook/client/test-client-photo-is-uri.c
rename to tests/libebook/client/test-book-client-photo-is-uri.c
diff --git a/tests/libebook/client/test-client-preserve-uid.c
b/tests/libebook/client/test-book-client-preserve-uid.c
similarity index 100%
rename from tests/libebook/client/test-client-preserve-uid.c
rename to tests/libebook/client/test-book-client-preserve-uid.c
diff --git a/tests/libebook/client/test-client-refresh.c b/tests/libebook/client/test-book-client-refresh.c
similarity index 100%
rename from tests/libebook/client/test-client-refresh.c
rename to tests/libebook/client/test-book-client-refresh.c
diff --git a/tests/libebook/client/test-client-remove-contact-by-uid.c
b/tests/libebook/client/test-book-client-remove-contact-by-uid.c
similarity index 100%
rename from tests/libebook/client/test-client-remove-contact-by-uid.c
rename to tests/libebook/client/test-book-client-remove-contact-by-uid.c
diff --git a/tests/libebook/client/test-client-remove-contact.c
b/tests/libebook/client/test-book-client-remove-contact.c
similarity index 100%
rename from tests/libebook/client/test-client-remove-contact.c
rename to tests/libebook/client/test-book-client-remove-contact.c
diff --git a/tests/libebook/client/test-client-remove-contacts.c
b/tests/libebook/client/test-book-client-remove-contacts.c
similarity index 100%
rename from tests/libebook/client/test-client-remove-contacts.c
rename to tests/libebook/client/test-book-client-remove-contacts.c
diff --git a/tests/libebook/client/test-client-revision-view.c
b/tests/libebook/client/test-book-client-revision-view.c
similarity index 100%
rename from tests/libebook/client/test-client-revision-view.c
rename to tests/libebook/client/test-book-client-revision-view.c
diff --git a/tests/libebook/client/test-client-self.c b/tests/libebook/client/test-book-client-self.c
similarity index 100%
rename from tests/libebook/client/test-client-self.c
rename to tests/libebook/client/test-book-client-self.c
diff --git a/tests/libebook/client/test-client-suppress-notifications.c
b/tests/libebook/client/test-book-client-suppress-notifications.c
similarity index 100%
rename from tests/libebook/client/test-client-suppress-notifications.c
rename to tests/libebook/client/test-book-client-suppress-notifications.c
diff --git a/tests/libebook/client/test-client-uid-only-view.c
b/tests/libebook/client/test-book-client-uid-only-view.c
similarity index 100%
rename from tests/libebook/client/test-client-uid-only-view.c
rename to tests/libebook/client/test-book-client-uid-only-view.c
diff --git a/tests/libebook/client/test-client-view-operations.c
b/tests/libebook/client/test-book-client-view-operations.c
similarity index 100%
rename from tests/libebook/client/test-client-view-operations.c
rename to tests/libebook/client/test-book-client-view-operations.c
diff --git a/tests/libebook/client/test-client-write-write.c
b/tests/libebook/client/test-book-client-write-write.c
similarity index 100%
rename from tests/libebook/client/test-client-write-write.c
rename to tests/libebook/client/test-book-client-write-write.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]