Moved all libebook/client tests to have a namespace
authorTristan Van Berkom <tristanvb@openismus.com>
Wed, 4 Dec 2013 08:00:37 +0000 (17:00 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Wed, 4 Dec 2013 08:02:09 +0000 (17:02 +0900)
Avoid naming conflicts when installing tests into ${pkglibexecdir}/installed-tests

25 files changed:
tests/libebook/client/Makefile.am
tests/libebook/client/test-book-client-add-and-get-async.c [moved from tests/libebook/client/test-client-add-and-get-async.c with 100% similarity]
tests/libebook/client/test-book-client-add-and-get-sync.c [moved from tests/libebook/client/test-client-add-and-get-sync.c with 100% similarity]
tests/libebook/client/test-book-client-add-contact.c [moved from tests/libebook/client/test-client-add-contact.c with 100% similarity]
tests/libebook/client/test-book-client-cursor-create.c [moved from tests/libebook/client/test-client-cursor-create.c with 100% similarity]
tests/libebook/client/test-book-client-cursor-operations.c [moved from tests/libebook/client/test-client-cursor-operations.c with 100% similarity]
tests/libebook/client/test-book-client-custom-summary.c [moved from tests/libebook/client/test-client-custom-summary.c with 100% similarity]
tests/libebook/client/test-book-client-e164-param.c [moved from tests/libebook/client/test-client-e164-param.c with 100% similarity]
tests/libebook/client/test-book-client-get-contact-uids.c [moved from tests/libebook/client/test-client-get-contact-uids.c with 100% similarity]
tests/libebook/client/test-book-client-get-contact.c [moved from tests/libebook/client/test-client-get-contact.c with 100% similarity]
tests/libebook/client/test-book-client-get-revision.c [moved from tests/libebook/client/test-client-get-revision.c with 100% similarity]
tests/libebook/client/test-book-client-get-view.c [moved from tests/libebook/client/test-client-get-view.c with 100% similarity]
tests/libebook/client/test-book-client-modify-contact.c [moved from tests/libebook/client/test-client-modify-contact.c with 100% similarity]
tests/libebook/client/test-book-client-photo-is-uri.c [moved from tests/libebook/client/test-client-photo-is-uri.c with 100% similarity]
tests/libebook/client/test-book-client-preserve-uid.c [moved from tests/libebook/client/test-client-preserve-uid.c with 100% similarity]
tests/libebook/client/test-book-client-refresh.c [moved from tests/libebook/client/test-client-refresh.c with 100% similarity]
tests/libebook/client/test-book-client-remove-contact-by-uid.c [moved from tests/libebook/client/test-client-remove-contact-by-uid.c with 100% similarity]
tests/libebook/client/test-book-client-remove-contact.c [moved from tests/libebook/client/test-client-remove-contact.c with 100% similarity]
tests/libebook/client/test-book-client-remove-contacts.c [moved from tests/libebook/client/test-client-remove-contacts.c with 100% similarity]
tests/libebook/client/test-book-client-revision-view.c [moved from tests/libebook/client/test-client-revision-view.c with 100% similarity]
tests/libebook/client/test-book-client-self.c [moved from tests/libebook/client/test-client-self.c with 100% similarity]
tests/libebook/client/test-book-client-suppress-notifications.c [moved from tests/libebook/client/test-client-suppress-notifications.c with 100% similarity]
tests/libebook/client/test-book-client-uid-only-view.c [moved from tests/libebook/client/test-client-uid-only-view.c with 100% similarity]
tests/libebook/client/test-book-client-view-operations.c [moved from tests/libebook/client/test-client-view-operations.c with 100% similarity]
tests/libebook/client/test-book-client-write-write.c [moved from tests/libebook/client/test-client-write-write.c with 100% similarity]

index fd75c23..bbe3fc6 100644 (file)
@@ -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