blob: b300854b708eee51713863124dad2d6a6d68ab42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
if !OS_WIN32
mockup_tests = \
test-atom \
test-factory \
test-sharepoint \
test-ws
endif
# these tests need updating to work again
# mockup_tests += \
# test-gdrive \
# test-onedrive
check_PROGRAMS = \
test-json \
test-utils \
${mockup_tests}
check_LIBRARIES = \
libtest.a
libtest_a_SOURCES = \
test-helpers.cxx \
test-helpers.hxx \
test-main.cxx
if !OS_WIN32
libtest_a_SOURCES += \
test-mockup-helpers.cxx \
test-mockup-helpers.hxx
endif
libtest_a_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(CURL_CFLAGS) \
$(BOOST_CPPFLAGS)
test_utils_SOURCES = \
test-commons.cxx \
test-decoder.cxx \
test-soap.cxx \
test-xmlutils.cxx
test_utils_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
$(XML2_CFLAGS) \
$(CURL_CFLAGS) \
$(BOOST_CPPFLAGS)
test_utils_LDADD = \
libtest.a \
$(top_builddir)/src/libcmis/libcmis.la \
$(XML2_LIBS) \
$(CURL_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_atom_SOURCES = \
test-atom.cxx
test_atom_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_atom_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_gdrive_SOURCES = \
test-gdrive.cxx
test_gdrive_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_gdrive_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_onedrive_SOURCES = \
test-onedrive.cxx
test_onedrive_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_onedrive_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_sharepoint_SOURCES = \
test-sharepoint.cxx
test_sharepoint_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_sharepoint_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_ws_SOURCES = \
test-ws.cxx
test_ws_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_ws_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_json_SOURCES = \
test-jsonutils.cxx
test_json_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_json_LDADD = \
libtest.a \
$(top_builddir)/src/libcmis/libcmis.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(CURL_LIBS) \
$(BOOST_DATE_TIME_LIBS)
test_factory_SOURCES = \
test-factory.cxx
test_factory_CPPFLAGS = \
-I$(top_srcdir)/inc \
-I$(top_srcdir)/src/libcmis \
-I$(top_srcdir)/qa/mockup \
$(XML2_CFLAGS) \
$(BOOST_CPPFLAGS) \
-DDATA_DIR=\"$(top_srcdir)/qa/libcmis/data\"
test_factory_LDADD = \
libtest.a \
$(top_builddir)/qa/mockup/libcmis-mockup.la \
$(XML2_LIBS) \
$(CPPUNIT_LIBS) \
$(BOOST_DATE_TIME_LIBS)
TESTS = test-utils test-json ${mockup_tests}
|