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
This commit is contained in:
Mike Blumenkrantz 2020-02-26 09:42:44 -05:00 committed by Marcel Hollerbach
parent bab8fcc442
commit 565fa76a11
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}