summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_image.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-18 09:50:43 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-18 11:01:21 +0200
commit11442eca6f9b1b0e9c29d7a970933e2e15aa47fa (patch)
tree41aa14578a0a27d3089bac0ce8b925a242a8b9e3 /src/tests/evas/evas_test_image.c
parentee3ffd5a49d82bb136db09e3a8592d2a01a24eba (diff)
Revert "tests: add api coverage for evas image"
This reverts commit cf70826b33a6840f884c090e911f501c758931a7. This test cannot work right now because the fix has not landed.
Diffstat (limited to 'src/tests/evas/evas_test_image.c')
-rw-r--r--src/tests/evas/evas_test_image.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/tests/evas/evas_test_image.c b/src/tests/evas/evas_test_image.c
index 259cff77d3..da6ad42365 100644
--- a/src/tests/evas/evas_test_image.c
+++ b/src/tests/evas/evas_test_image.c
@@ -729,40 +729,6 @@ EFL_START_TEST(evas_object_image_cached_data_comparision)
729} 729}
730EFL_END_TEST 730EFL_END_TEST
731 731
732EFL_START_TEST(evas_object_image_api)
733{
734 Evas *e = _setup_evas();
735 Evas_Object *o;
736 void *pix;
737 int w, h;
738
739 o = evas_object_image_filled_add(e);
740 /* test file load */
741 evas_object_image_file_set(o, TESTS_IMG_DIR"/Light.jpg", NULL);
742 ck_assert(!!efl_file_get(o));
743 pix = evas_object_image_data_get(o, EINA_FALSE);
744 ck_assert(!!pix);
745 evas_object_image_size_get(o, &w, &h);
746 ck_assert(w && h);
747 /* test file unload */
748 evas_object_image_file_set(o, NULL, NULL);
749 ck_assert(!efl_file_get(o));
750 pix = evas_object_image_data_get(o, EINA_FALSE);
751 ck_assert(!pix);
752 evas_object_image_size_get(o, &w, &h);
753 ck_assert(!w && !h);
754 /* test file load after unload */
755 evas_object_image_file_set(o, TESTS_IMG_DIR"/Light.jpg", NULL);
756 ck_assert(!!efl_file_get(o));
757 pix = evas_object_image_data_get(o, EINA_FALSE);
758 ck_assert(!!pix);
759 evas_object_image_size_get(o, &w, &h);
760 ck_assert(w && h);
761
762 evas_free(e);
763}
764EFL_END_TEST
765
766EFL_START_TEST(evas_object_image_defaults) 732EFL_START_TEST(evas_object_image_defaults)
767{ 733{
768 Evas *e = _setup_evas(); 734 Evas *e = _setup_evas();
@@ -1006,7 +972,6 @@ EFL_END_TEST
1006 972
1007void evas_test_image_object(TCase *tc) 973void evas_test_image_object(TCase *tc)
1008{ 974{
1009 tcase_add_test(tc, evas_object_image_api);
1010 tcase_add_test(tc, evas_object_image_defaults); 975 tcase_add_test(tc, evas_object_image_defaults);
1011 tcase_add_test(tc, evas_object_image_loader); 976 tcase_add_test(tc, evas_object_image_loader);
1012 tcase_add_test(tc, evas_object_image_loader_orientation); 977 tcase_add_test(tc, evas_object_image_loader_orientation);