summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-10-08 15:42:05 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-10-13 14:53:03 -0300
commitc3e798cfd0b5227722db7c71ac114be16eb52f78 (patch)
tree1082490039a0fd9017417d21bad81521e6f44ebd
parentbc5d56877ed33bffffa238be01026f0fae5ca451 (diff)
Re-add C tests together with C++ so it is easier to compare
Conflicts: src/bin/cxx/tests.h
-rw-r--r--src/bin/tests.h445
1 files changed, 317 insertions, 128 deletions
diff --git a/src/bin/tests.h b/src/bin/tests.h
index d8427ab..9aef2f4 100644
--- a/src/bin/tests.h
+++ b/src/bin/tests.h
@@ -2,135 +2,324 @@
2extern "C" { 2extern "C" {
3#endif 3#endif
4 4
5// C tests 5#include "widgets_file_icons.c"
6/* #include "widgets_file_icons.c" */ 6#include "cxx/widgets_file_icons_capi.h"
7/* #include "widgets_file_icons_2.c" */ 7
8/* #include "widgets_file_icons_2_grouped.c" */ 8#include "widgets_file_icons_2.c"
9/* #include "widgets_file_icons_2_same.c" */ 9#include "cxx/widgets_file_icons_2_capi.h"
10/* #include "widgets_file_icons_2_same_grouped.c" */ 10
11/* #include "widgets_file_icons_3.c" */ 11#include "widgets_file_icons_2_grouped.c"
12/* #include "widgets_file_icons_4.c" */ 12#include "cxx/widgets_file_icons_2_grouped_capi.h"
13/* #include "widgets_list_1.c" */ 13
14/* #include "widgets_list_1_grouped.c" */ 14#include "widgets_file_icons_2_same.c"
15/* #include "widgets_list_2.c" */ 15#include "cxx/widgets_file_icons_2_same_capi.h"
16/* #include "widgets_list_2_grouped.c" */ 16
17/* #include "widgets_list_3.c" */ 17#include "widgets_file_icons_2_same_grouped.c"
18/* #include "widgets_list_3_grouped.c" */ 18#include "cxx/widgets_file_icons_2_same_grouped_capi.h"
19/* #include "widgets_list_4.c" */ 19
20/* #include "widgets_list_4_grouped.c" */ 20#include "widgets_file_icons_3.c"
21/* #include "image_blend_unscaled.c" */ 21#include "cxx/widgets_file_icons_3_capi.h"
22/* #include "image_blend_solid_middle_unscaled.c" */ 22
23/* #include "image_blend_fade_unscaled.c" */ 23#include "widgets_file_icons_4.c"
24/* #include "image_blend_fade_pow2_unscaled.c" */ 24#include "cxx/widgets_file_icons_4_capi.h"
25/* #include "image_blend_solid_unscaled.c" */ 25
26/* #include "image_blend_solid_fade_unscaled.c" */ 26#include "widgets_list_1.c"
27/* #include "image_blend_solid_fade_pow2_unscaled.c" */ 27#include "cxx/widgets_list_1_capi.h"
28/* #include "image_blend_nearest_scaled.c" */ 28
29/* #include "image_blend_nearest_solid_scaled.c" */ 29#include "widgets_list_1_grouped.c"
30/* #include "image_blend_smooth_scaled.c" */ 30#include "cxx/widgets_list_1_grouped_capi.h"
31/* #include "image_blend_smooth_solid_scaled.c" */ 31
32/* #include "image_blend_nearest_same_scaled.c" */ 32#include "widgets_list_2.c"
33/* #include "image_blend_nearest_solid_same_scaled.c" */ 33#include "cxx/widgets_list_2_capi.h"
34/* #include "image_blend_smooth_same_scaled.c" */ 34
35/* #include "image_blend_smooth_solid_same_scaled.c" */ 35#include "widgets_list_2_grouped.c"
36/* #include "image_blend_border.c" */ 36#include "cxx/widgets_list_2_grouped_capi.h"
37/* #include "image_blend_solid_middle_border.c" */ 37
38/* #include "image_blend_solid_border.c" */ 38#include "widgets_list_3.c"
39/* #include "image_blend_border_recolor.c" */ 39#include "cxx/widgets_list_3_capi.h"
40/* #include "image_map_rotate.c" */ 40
41/* #include "image_map_solid_rotate.c" */ 41#include "widgets_list_3_grouped.c"
42/* #include "image_map_nearest_rotate.c" */ 42#include "cxx/widgets_list_3_grouped_capi.h"
43/* #include "image_map_nearest_solid_rotate.c" */ 43
44/* #include "image_map_color_rotate.c" */ 44#include "widgets_list_4.c"
45/* #include "image_map_color_solid_rotate.c" */ 45#include "cxx/widgets_list_4_capi.h"
46/* #include "image_map_color_nearest_rotate.c" */ 46
47/* #include "image_map_color_nearest_solid_rotate.c" */ 47#include "widgets_list_4_grouped.c"
48/* #include "image_map_color_alpha_rotate.c" */ 48#include "cxx/widgets_list_4_grouped_capi.h"
49/* #include "image_map_color_alpha_solid_rotate.c" */ 49
50/* #include "image_map_color_alpha_nearest_rotate.c" */ 50#include "image_blend_unscaled.c"
51/* #include "image_map_color_alpha_nearest_solid_rotate.c" */ 51#include "cxx/image_blend_unscaled_capi.h"
52/* #include "image_map_3d_1.c" */ 52
53/* #include "image_map_3d_2.c" */ 53#include "image_blend_solid_middle_unscaled.c"
54/* #include "image_map_3d_3.c" */ 54#include "cxx/image_blend_solid_middle_unscaled_capi.h"
55/* #include "image_map_3d_4.c" */ 55
56/* #include "image_map_3d_5.c" */ 56#include "image_blend_fade_unscaled.c"
57/* #include "image_map_3d_6.c" */ 57#include "cxx/image_blend_fade_unscaled_capi.h"
58/* #include "image_map_3d_flow.c" */ 58
59/* #include "image_quality_scale.c" */ 59
60/* #include "image_data_argb.c" */ 60#include "image_blend_fade_pow2_unscaled.c"
61/* #include "image_data_argb_alpha.c" */ 61#include "cxx/image_blend_fade_pow2_unscaled_capi.h"
62/* #include "image_data_ycbcr601pl.c" */ 62
63/* #include "image_data_ycbcr601pl_wide_stride.c" */ 63#include "image_blend_solid_unscaled.c"
64/* #include "image_data_ycbcr601pl_map_solid_rotate.c" */ 64#include "cxx/image_blend_solid_unscaled_capi.h"
65/* #include "image_data_ycbcr601pl_map_nearest_solid_rotate.c" */ 65
66/* #include "image_crossfade.c" */ 66#include "image_blend_solid_fade_unscaled.c"
67/* #include "text_basic.c" */ 67#include "cxx/image_blend_solid_fade_unscaled_capi.h"
68/* #include "text_styles.c" */ 68
69/* #include "text_styles_different_strings.c" */ 69#include "image_blend_solid_fade_pow2_unscaled.c"
70/* #include "text_change.c" */ 70#include "cxx/image_blend_solid_fade_pow2_unscaled_capi.h"
71/* #include "textblock_basic.c" */ 71
72/* #include "textblock_intl.c" */ 72#include "image_blend_nearest_scaled.c"
73/* #include "textblock_auto_align.c" */ 73#include "cxx/image_blend_nearest_scaled_capi.h"
74/* #include "textblock_text_append.c" */ 74
75/* #include "rect_blend.c" */ 75#include "image_blend_nearest_solid_scaled.c"
76/* #include "rect_blend_pow2.c" */ 76#include "cxx/image_blend_nearest_solid_scaled_capi.h"
77/* #include "rect_solid.c" */ 77
78/* #include "rect_blend_few.c" */ 78#include "image_blend_smooth_scaled.c"
79/* #include "rect_blend_pow2_few.c" */ 79#include "cxx/image_blend_smooth_scaled_capi.h"
80/* #include "rect_solid_few.c" */ 80
81/* #include "image_blend_occlude1_few.c" */ 81#include "image_blend_smooth_solid_scaled.c"
82/* #include "image_blend_occlude2_few.c" */ 82#include "cxx/image_blend_smooth_solid_scaled_capi.h"
83/* #include "image_blend_occlude3_few.c" */ 83
84/* #include "image_blend_occlude1.c" */ 84#include "image_blend_nearest_same_scaled.c"
85/* #include "image_blend_occlude2.c" */ 85#include "cxx/image_blend_nearest_same_scaled_capi.h"
86/* #include "image_blend_occlude3.c" */ 86
87/* #include "image_blend_occlude1_many.c" */ 87#include "image_blend_nearest_solid_same_scaled.c"
88/* #include "image_blend_occlude2_many.c" */ 88#include "cxx/image_blend_nearest_solid_same_scaled_capi.h"
89/* #include "image_blend_occlude3_many.c" */ 89
90/* #include "image_blend_occlude1_very_many.c" */ 90#include "image_blend_smooth_same_scaled.c"
91/* #include "image_blend_occlude2_very_many.c" */ 91#include "cxx/image_blend_smooth_same_scaled_capi.h"
92/* #include "image_blend_occlude3_very_many.c" */ 92
93/* #include "poly_blend.c" */ 93#include "image_blend_smooth_solid_same_scaled.c"
94/* #include "proxy_image.c" */ 94#include "cxx/image_blend_smooth_solid_same_scaled_capi.h"
95/* #include "proxy_text_fixed.c" */ 95
96/* #include "proxy_text_random.c" */ 96#include "image_blend_border.c"
97/* #include "line_blend.c" */ 97#include "cxx/image_blend_border_capi.h"
98/* #include "image_blend_many_smooth_same_scaled.c" */ 98
99/* #include "font_effect_blur_alpha.c" */ 99#include "image_blend_solid_middle_border.c"
100/* #include "font_effect_blur_color.c" */ 100#include "cxx/image_blend_solid_middle_border_capi.h"
101/* #if 0 // test disabled - evas having code disabled */ 101
102/* #include "image_mask.c" */ 102#include "image_blend_solid_border.c"
103/* #include "image_mask_2.c" */ 103#include "cxx/image_blend_solid_border_capi.h"
104/* #include "image_mask_3.c" */ 104
105/* #include "image_mask_4.c" */ 105#include "image_blend_border_recolor.c"
106/* #include "image_mask_5.c" */ 106#include "cxx/image_blend_border_recolor_capi.h"
107/* #include "image_mask_6.c" */ 107
108/* #include "image_mask_7.c" */ 108#include "image_map_rotate.c"
109/* #include "image_mask_8.c" */ 109#include "cxx/image_map_rotate_capi.h"
110/* #include "image_mask_9.c" */ 110
111/* #include "image_mask_10.c" */ 111#include "image_map_solid_rotate.c"
112/* #include "image_mask_11.c" */ 112#include "cxx/image_map_solid_rotate_capi.h"
113/* #include "image_mask_12.c" */ 113
114/* #include "image_mask_13.c" */ 114#include "image_map_nearest_rotate.c"
115/* #include "image_mask_14.c" */ 115#include "cxx/image_map_nearest_rotate_capi.h"
116/* #include "image_mask_15.c" */ 116
117/* #include "filter_object_colors.c" */ 117#include "image_map_nearest_solid_rotate.c"
118/* #include "filter_object_colors_solid.c" */ 118#include "cxx/image_map_nearest_solid_rotate_capi.h"
119/* #include "filter_object_invert.c" */ 119
120/* #include "filter_object_invert_solid.c" */ 120#include "image_map_color_rotate.c"
121/* #include "filter_object_greyscale.c" */ 121#include "cxx/image_map_color_rotate_capi.h"
122/* #include "filter_object_greyscale_solid.c" */ 122
123/* #include "filter_object_brightness.c" */ 123#include "image_map_color_solid_rotate.c"
124/* #include "filter_object_brightness_solid.c" */ 124#include "cxx/image_map_color_solid_rotate_capi.h"
125/* #include "filter_object_sepia.c" */ 125
126/* #include "filter_object_sepia_solid.c" */ 126#include "image_map_color_nearest_rotate.c"
127/* #include "filter_object_blur.c" */ 127#include "cxx/image_map_color_nearest_rotate_capi.h"
128/* #include "filter_object_blur_solid.c" */ 128
129/* #endif */ 129#include "image_map_color_nearest_solid_rotate.c"
130#include "cxx/image_map_color_nearest_solid_rotate_capi.h"
131
132#include "image_map_color_alpha_rotate.c"
133#include "cxx/image_map_color_alpha_rotate_capi.h"
134
135#include "image_map_color_alpha_solid_rotate.c"
136#include "cxx/image_map_color_alpha_solid_rotate_capi.h"
137
138#include "image_map_color_alpha_nearest_rotate.c"
139#include "cxx/image_map_color_alpha_nearest_rotate_capi.h"
140
141#include "image_map_color_alpha_nearest_solid_rotate.c"
142#include "cxx/image_map_color_alpha_nearest_solid_rotate_capi.h"
143
144#include "image_map_3d_1.c"
145#include "cxx/image_map_3d_1_capi.h"
146
147#include "image_map_3d_2.c"
148#include "cxx/image_map_3d_2_capi.h"
149
150#include "image_map_3d_3.c"
151#include "cxx/image_map_3d_3_capi.h"
152
153#include "image_map_3d_4.c"
154#include "cxx/image_map_3d_4_capi.h"
155
156#include "image_map_3d_5.c"
157#include "cxx/image_map_3d_5_capi.h"
158
159#include "image_map_3d_6.c"
160#include "cxx/image_map_3d_6_capi.h"
161
162#include "image_map_3d_flow.c"
163#include "cxx/image_map_3d_flow_capi.h"
164
165#include "image_quality_scale.c"
166#include "cxx/image_quality_scale_capi.h"
167
168#include "image_data_argb.c"
169#include "cxx/image_data_argb_capi.h"
170
171#include "image_data_argb_alpha.c"
172#include "cxx/image_data_argb_alpha_capi.h"
173
174#include "image_data_ycbcr601pl.c"
175#include "cxx/image_data_ycbcr601pl_capi.h"
176
177#include "image_data_ycbcr601pl_wide_stride.c"
178#include "cxx/image_data_ycbcr601pl_wide_stride_capi.h"
179
180#include "image_data_ycbcr601pl_map_solid_rotate.c"
181#include "cxx/image_data_ycbcr601pl_map_solid_rotate_capi.h"
182
183#include "image_data_ycbcr601pl_map_nearest_solid_rotate.c"
184#include "cxx/image_data_ycbcr601pl_map_nearest_solid_rotate_capi.h"
185
186#include "image_crossfade.c"
187#include "cxx/image_crossfade_capi.h"
188
189#include "text_basic.c"
190#include "cxx/text_basic_capi.h"
191
192#include "text_styles.c"
193#include "cxx/text_styles_capi.h"
194
195#include "text_styles_different_strings.c"
196#include "cxx/text_styles_different_strings_capi.h"
197
198#include "text_change.c"
199#include "cxx/text_change_capi.h"
200
201#include "textblock_basic.c"
202#include "cxx/textblock_basic_capi.h"
203
204#include "textblock_intl.c"
205#include "cxx/textblock_intl_capi.h"
206
207#include "textblock_auto_align.c"
208#include "cxx/textblock_auto_align_capi.h"
209
210#include "textblock_text_append.c"
211#include "cxx/textblock_text_append_capi.h"
212
213#include "rect_blend.c"
214#include "cxx/rect_blend_capi.h"
215
216#include "rect_blend_pow2.c"
217#include "cxx/rect_blend_pow2_capi.h"
218
219#include "rect_solid.c"
220#include "cxx/rect_solid_capi.h"
221
222#include "rect_blend_few.c"
223#include "cxx/rect_blend_few_capi.h"
224
225#include "rect_blend_pow2_few.c"
226#include "cxx/rect_blend_pow2_few_capi.h"
227
228#include "rect_solid_few.c"
229#include "cxx/rect_solid_few_capi.h"
230
231#include "image_blend_occlude1_few.c"
232#include "cxx/image_blend_occlude1_few_capi.h"
233
234#include "image_blend_occlude2_few.c"
235#include "cxx/image_blend_occlude2_few_capi.h"
236
237#include "image_blend_occlude3_few.c"
238#include "cxx/image_blend_occlude3_few_capi.h"
239
240#include "image_blend_occlude1.c"
241#include "cxx/image_blend_occlude1_capi.h"
242
243#include "image_blend_occlude2.c"
244#include "cxx/image_blend_occlude2_capi.h"
245
246#include "image_blend_occlude3.c"
247#include "cxx/image_blend_occlude3_capi.h"
248
249#include "image_blend_occlude1_many.c"
250#include "cxx/image_blend_occlude1_many_capi.h"
251
252#include "image_blend_occlude2_many.c"
253#include "cxx/image_blend_occlude2_many_capi.h"
254
255#include "image_blend_occlude3_many.c"
256#include "cxx/image_blend_occlude3_many_capi.h"
257
258#include "image_blend_occlude1_very_many.c"
259#include "cxx/image_blend_occlude1_very_many_capi.h"
260
261#include "image_blend_occlude2_very_many.c"
262#include "cxx/image_blend_occlude2_very_many_capi.h"
263
264#include "image_blend_occlude3_very_many.c"
265#include "cxx/image_blend_occlude3_very_many_capi.h"
266
267#include "poly_blend.c"
268//#include "cxx/poly_blend_capi.h"
269
270#include "proxy_image.c"
271#include "cxx/proxy_image_capi.h"
272
273#include "proxy_text_fixed.c"
274#include "cxx/proxy_text_fixed_capi.h"
275
276#include "proxy_text_random.c"
277#include "cxx/proxy_text_random_capi.h"
278
279#include "line_blend.c"
280#include "cxx/line_blend_capi.h"
281
282#include "image_blend_many_smooth_same_scaled.c"
283#include "cxx/image_blend_many_smooth_same_scaled_capi.h"
284
285#include "font_effect_blur_alpha.c"
286#include "cxx/font_effect_blur_alpha_capi.h"
287
288#include "font_effect_blur_color.c"
289//#include "cxx/font_effect_blur_color.h"
290
291#if 0 // test disabled - evas having code disabled
292#include "image_mask.c"
293#include "image_mask_2.c"
294#include "image_mask_3.c"
295#include "image_mask_4.c"
296#include "image_mask_5.c"
297#include "image_mask_6.c"
298#include "image_mask_7.c"
299#include "image_mask_8.c"
300#include "image_mask_9.c"
301#include "image_mask_10.c"
302#include "image_mask_11.c"
303#include "image_mask_12.c"
304#include "image_mask_13.c"
305#include "image_mask_14.c"
306#include "image_mask_15.c"
307#include "filter_object_colors.c"
308#include "filter_object_colors_solid.c"
309#include "filter_object_invert.c"
310#include "filter_object_invert_solid.c"
311#include "filter_object_greyscale.c"
312#include "filter_object_greyscale_solid.c"
313#include "filter_object_brightness.c"
314#include "filter_object_brightness_solid.c"
315#include "filter_object_sepia.c"
316#include "filter_object_sepia_solid.c"
317#include "filter_object_blur.c"
318#include "filter_object_blur_solid.c"
319#endif
320
321/* #include "proxy_image_offscreen_capi.h" */
130 322
131#ifdef __cplusplus 323#ifdef __cplusplus
132} 324}
133#endif 325#endif
134
135// C++ tests
136#include "cxx/tests.h"