Remove E_BOOK_DISABLE_DEPRECATED and E_CAL_DISABLE_DEPRECATED.
[platform/upstream/evolution-data-server.git] / tests / libebook / Makefile.am
1 SUBDIRS = vcard client
2
3 @GNOME_CODE_COVERAGE_RULES@
4
5 ### EBook Tests (deprecated) ###
6
7 noinst_LTLIBRARIES = libebook-test-utils.la
8 libebook_test_utils_la_SOURCES = ebook-test-utils.c ebook-test-utils.h
9
10 libebook_test_utils_la_CPPFLAGS = \
11         $(AM_CPPFLAGS)                  \
12         -I$(top_srcdir)                 \
13         -I$(top_builddir)               \
14         -I$(top_srcdir)/addressbook     \
15         -I$(top_builddir)/addressbook   \
16         -DSRCDIR=\""$(srcdir)"\"        \
17         $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
18         $(CAMEL_CFLAGS) \
19         $(NULL)
20
21 libebook_test_utils_la_LIBADD = \
22         $(top_builddir)/addressbook/libebook/libebook-1.2.la    \
23         $(EVOLUTION_ADDRESSBOOK_LIBS)                           \
24         $(CAMEL_LIBS) \
25         $(NULL)
26
27 TEST_CPPFLAGS =                                 \
28         $(libebook_test_utils_la_CPPFLAGS)      \
29         $(NULL)
30
31 TEST_LIBS =                                     \
32         $(libebook_test_utils_la_LIBADD)        \
33         libebook-test-utils.la                  \
34         $(NULL)
35
36 DEPRECATED_TESTS =                              \
37         test-changes                            \
38         test-ebook                              \
39         test-ebook-async                        \
40         test-nonexistent-id                     \
41         test-search                             \
42         test-self                               \
43         test-stress-bookviews
44
45 ### EBookClient Tests ###
46
47 # Should be kept ordered approximately from least to most difficult/complex
48 TESTS = \
49         test-ebook-add-contact \
50         test-ebook-get-contact \
51         test-ebook-commit-contact \
52         test-ebook-remove-contact \
53         test-ebook-get-required-fields \
54         test-ebook-get-static-capabilities \
55         test-ebook-get-supported-fields \
56         test-ebook-get-supported-auth-methods \
57         test-ebook-remove-contact-by-id \
58         test-ebook-remove-contacts \
59         test-ebook-get-book-view \
60         test-ebook-remove
61
62 #       test-ebook-stress-factory--serial \
63 #       test-ebook-stress-factory--fifo \
64 #       test-ebook-stress-factory--single-book
65
66 noinst_PROGRAMS = \
67         $(TESTS)                                \
68         $(DEPRECATED_TESTS)                     \
69         test-categories                         \
70         test-date                               \
71         test-photo                              \
72         test-query                              \
73         test-string                             \
74         test-undefinedfield                     \
75         test-untyped-phones                     \
76         test-vcard-parsing                      \
77         test-bulk-methods                       \
78         $(NULL)
79
80 EXTRA_DIST = \
81         $(srcdir)/data/vcards/name-only.vcf     \
82         $(srcdir)/data/vcards/simple-1.vcf      \
83         $(srcdir)/data/vcards/simple-2.vcf      \
84         $(NULL)
85
86 test_categories_LDADD=$(TEST_LIBS)
87 test_categories_CPPFLAGS=$(TEST_CPPFLAGS)
88 test_date_LDADD=$(TEST_LIBS)
89 test_date_CPPFLAGS=$(TEST_CPPFLAGS)
90 test_photo_LDADD=$(TEST_LIBS)
91 test_photo_CPPFLAGS=$(TEST_CPPFLAGS)
92 test_query_LDADD=$(TEST_LIBS)
93 test_query_CPPFLAGS=$(TEST_CPPFLAGS)
94 test_string_LDADD=$(TEST_LIBS)
95 test_string_CPPFLAGS=$(TEST_CPPFLAGS)
96 test_undefinedfield_LDADD=$(TEST_LIBS)
97 test_undefinedfield_CPPFLAGS=$(TEST_CPPFLAGS)
98 test_untyped_phones_LDADD=$(TEST_LIBS)
99 test_untyped_phones_CPPFLAGS=$(TEST_CPPFLAGS)
100 test_vcard_parsing_LDADD=$(TEST_LIBS)
101 test_vcard_parsing_CPPFLAGS=$(TEST_CPPFLAGS)
102 test_bulk_methods_LDADD=$(TEST_LIBS)
103 test_bulk_methods_CPPFLAGS=$(TEST_CPPFLAGS)
104
105 test_search_LDADD=$(TEST_LIBS)
106 test_search_CPPFLAGS=$(TEST_CPPFLAGS)
107 test_ebook_LDADD=$(TEST_LIBS)
108 test_ebook_CPPFLAGS=$(TEST_CPPFLAGS)
109 test_ebook_async_LDADD=$(TEST_LIBS)
110 test_ebook_async_CPPFLAGS=$(TEST_CPPFLAGS)
111 test_ebook_commit_contact_LDADD=$(TEST_LIBS)
112 test_ebook_commit_contact_CPPFLAGS=$(TEST_CPPFLAGS)
113 test_ebook_get_book_view_LDADD=$(TEST_LIBS)
114 test_ebook_get_book_view_CPPFLAGS=$(TEST_CPPFLAGS)
115 test_ebook_get_contact_LDADD=$(TEST_LIBS)
116 test_ebook_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
117 test_ebook_get_required_fields_LDADD=$(TEST_LIBS)
118 test_ebook_get_required_fields_CPPFLAGS=$(TEST_CPPFLAGS)
119 test_ebook_get_static_capabilities_LDADD=$(TEST_LIBS)
120 test_ebook_get_static_capabilities_CPPFLAGS=$(TEST_CPPFLAGS)
121 test_ebook_get_supported_auth_methods_LDADD=$(TEST_LIBS)
122 test_ebook_get_supported_auth_methods_CPPFLAGS=$(TEST_CPPFLAGS)
123 test_ebook_get_supported_fields_LDADD=$(TEST_LIBS)
124 test_ebook_get_supported_fields_CPPFLAGS=$(TEST_CPPFLAGS)
125 test_ebook_add_contact_LDADD=$(TEST_LIBS)
126 test_ebook_add_contact_CPPFLAGS=$(TEST_CPPFLAGS)
127 test_ebook_remove_LDADD=$(TEST_LIBS)
128 test_ebook_remove_CPPFLAGS=$(TEST_CPPFLAGS)
129 test_ebook_remove_contact_LDADD=$(TEST_LIBS)
130 test_ebook_remove_contact_CPPFLAGS=$(TEST_CPPFLAGS)
131 test_ebook_remove_contact_by_id_LDADD=$(TEST_LIBS)
132 test_ebook_remove_contact_by_id_CPPFLAGS=$(TEST_CPPFLAGS)
133 test_ebook_remove_contacts_LDADD=$(TEST_LIBS)
134 test_ebook_remove_contacts_CPPFLAGS=$(TEST_CPPFLAGS)
135 #test_ebook_stress_factory__fifo_LDADD=$(TEST_LIBS)
136 test_ebook_stress_factory__fifo_CPPFLAGS=$(TEST_CPPFLAGS)
137 #test_ebook_stress_factory__serial_LDADD=$(TEST_LIBS)
138 test_ebook_stress_factory__serial_CPPFLAGS=$(TEST_CPPFLAGS)
139 #test_ebook_stress_factory__single_book_LDADD=$(TEST_LIBS)
140 test_ebook_stress_factory__single_book_CPPFLAGS=$(TEST_CPPFLAGS)
141 test_changes_LDADD=$(TEST_LIBS)
142 test_changes_CPPFLAGS=$(TEST_CPPFLAGS)
143 test_nonexistent_id_LDADD=$(TEST_LIBS)
144 test_nonexistent_id_CPPFLAGS=$(TEST_CPPFLAGS)
145 test_self_LDADD=$(TEST_LIBS)
146 test_self_CPPFLAGS=$(TEST_CPPFLAGS)
147 test_stress_bookviews_LDADD=$(TEST_LIBS)
148 test_stress_bookviews_CPPFLAGS=$(TEST_CPPFLAGS)
149
150 -include $(top_srcdir)/git.mk