summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_image.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-26 09:42:44 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-06 13:30:52 +0100
commit565fa76a112049f7c7017e8eeac264a6df786783 (patch)
tree17418aad507d34a2036529fcf4239cd559651785 /src/tests/evas/evas_test_image.c
parentbab8fcc4425ab8523d39ad445673cb1953e5c25f (diff)
tests/evas: verify loading and mmap values for efl.file are correct with skip_head
ensure that these functions are still usable with async load Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11424
Diffstat (limited to 'src/tests/evas/evas_test_image.c')
-rw-r--r--src/tests/evas/evas_test_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_image.c b/src/tests/evas/evas_test_image.c
index e260425263..7ee16048c8 100644
--- a/src/tests/evas/evas_test_image.c
+++ b/src/tests/evas/evas_test_image.c
@@ -1194,8 +1194,11 @@ EFL_START_TEST(evas_object_image_load_head_skip)
1194 evas_object_image_preload(obj, EINA_FALSE); 1194 evas_object_image_preload(obj, EINA_FALSE);
1195 1195
1196 ck_assert(!efl_file_mmap_get(obj)); 1196 ck_assert(!efl_file_mmap_get(obj));
1197 ck_assert(!efl_file_loaded_get(obj));
1197 ecore_main_loop_begin(); 1198 ecore_main_loop_begin();
1198 ck_assert_int_eq(called, 1); 1199 ck_assert_int_eq(called, 1);
1200 ck_assert(efl_file_loaded_get(obj));
1201 ck_assert(efl_file_mmap_get(obj));
1199 1202
1200 evas_free(e); 1203 evas_free(e);
1201} 1204}