summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_image.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-05 02:14:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-05 02:34:16 +0900
commite30fb6945e10cc8fd4b519684068072c82fee3d9 (patch)
tree9462b2eeab6b9c01e8f9efc83b3b126b8f3671de /src/tests/evas/evas_test_image.c
parent0fd8cd82e3e45dc9a5912cde2a330d1ef05a27b7 (diff)
fix evas test suite to now init both ecore and evas.... correctly.
see c8dcc4327b803e9b8ad2a0985e756c924946c442 - basicall evas depends on ecore these days... thus requires ecore be initted THEN evas. ... which in theory is an abi break for those using evas and ONLY evas long ago from when efl was separate... but it''s how we're building these days. @fix
Diffstat (limited to 'src/tests/evas/evas_test_image.c')
-rw-r--r--src/tests/evas/evas_test_image.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/tests/evas/evas_test_image.c b/src/tests/evas/evas_test_image.c
index e0637a12fe..392084145a 100644
--- a/src/tests/evas/evas_test_image.c
+++ b/src/tests/evas/evas_test_image.c
@@ -8,6 +8,7 @@
8#include <unistd.h> 8#include <unistd.h>
9 9
10#include <Evas.h> 10#include <Evas.h>
11#include <Ecore_Evas.h>
11 12
12#include "evas_suite.h" 13#include "evas_suite.h"
13#include "evas_tests_helpers.h" 14#include "evas_tests_helpers.h"
@@ -86,7 +87,7 @@ START_TEST(evas_object_image_loader)
86 evas_object_del(o); 87 evas_object_del(o);
87 88
88 evas_free(e); 89 evas_free(e);
89 evas_shutdown(); 90 ecore_evas_shutdown();
90} 91}
91END_TEST 92END_TEST
92 93
@@ -281,7 +282,7 @@ START_TEST(evas_object_image_loader_orientation)
281 evas_object_del(rot); 282 evas_object_del(rot);
282 283
283 evas_free(e); 284 evas_free(e);
284 evas_shutdown(); 285 ecore_evas_shutdown();
285} 286}
286END_TEST 287END_TEST
287 288
@@ -331,7 +332,7 @@ START_TEST(evas_object_image_orient)
331 evas_object_del(orig); 332 evas_object_del(orig);
332 333
333 evas_free(e); 334 evas_free(e);
334 evas_shutdown(); 335 ecore_evas_shutdown();
335} 336}
336END_TEST 337END_TEST
337 338
@@ -389,7 +390,7 @@ START_TEST(evas_object_image_tgv_loader_data)
389 eina_strbuf_free(str); 390 eina_strbuf_free(str);
390 391
391 evas_free(e); 392 evas_free(e);
392 evas_shutdown(); 393 ecore_evas_shutdown();
393} 394}
394END_TEST 395END_TEST
395#endif 396#endif
@@ -459,7 +460,7 @@ START_TEST(evas_object_image_all_loader_data)
459 eina_strbuf_free(str); 460 eina_strbuf_free(str);
460 461
461 evas_free(e); 462 evas_free(e);
462 evas_shutdown(); 463 ecore_evas_shutdown();
463} 464}
464END_TEST 465END_TEST
465 466
@@ -520,7 +521,7 @@ START_TEST(evas_object_image_buggy)
520 eina_strbuf_free(str); 521 eina_strbuf_free(str);
521 522
522 evas_free(e); 523 evas_free(e);
523 evas_shutdown(); 524 ecore_evas_shutdown();
524} 525}
525END_TEST 526END_TEST
526 527
@@ -631,7 +632,7 @@ START_TEST(evas_object_image_partially_load_orientation)
631 evas_object_del(orig); 632 evas_object_del(orig);
632 633
633 evas_free(e); 634 evas_free(e);
634 evas_shutdown(); 635 ecore_evas_shutdown();
635} 636}
636END_TEST 637END_TEST
637 638
@@ -658,7 +659,7 @@ START_TEST(evas_object_image_defaults)
658 efl_del(o); 659 efl_del(o);
659 660
660 evas_free(e); 661 evas_free(e);
661 evas_shutdown(); 662 ecore_evas_shutdown();
662} 663}
663END_TEST 664END_TEST
664 665
@@ -822,7 +823,7 @@ START_TEST(evas_object_image_map_unmap)
822 // TODO: test more color conversions 823 // TODO: test more color conversions
823 824
824 evas_free(e); 825 evas_free(e);
825 evas_shutdown(); 826 ecore_evas_shutdown();
826} 827}
827END_TEST 828END_TEST
828 829
@@ -874,7 +875,7 @@ START_TEST(evas_object_image_jp2k_loader_data)
874 eina_strbuf_free(str); 875 eina_strbuf_free(str);
875 876
876 evas_free(e); 877 evas_free(e);
877 evas_shutdown(); 878 ecore_evas_shutdown();
878} 879}
879END_TEST 880END_TEST
880#endif 881#endif