summaryrefslogtreecommitdiff
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
parentbab8fcc4425ab8523d39ad445673cb1953e5c25f (diff)
downloadefl-565fa76a112049f7c7017e8eeac264a6df786783.tar.gz
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
-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)
evas_object_image_preload(obj, EINA_FALSE);
ck_assert(!efl_file_mmap_get(obj));
+ ck_assert(!efl_file_loaded_get(obj));
ecore_main_loop_begin();
ck_assert_int_eq(called, 1);
+ ck_assert(efl_file_loaded_get(obj));
+ ck_assert(efl_file_mmap_get(obj));
evas_free(e);
}