forked from enlightenment/efl
tests/elm: add wrapper for forcing manual render in tests
this can be useful when a test needs to immediately verify whether a render is occurring Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11630
This commit is contained in:
parent
8aaff3ba07
commit
426967c778
|
@ -821,3 +821,9 @@ write_key_sequence(Eo *obj, const char *seqence)
|
||||||
ecore_main_loop_iterate();
|
ecore_main_loop_iterate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
force_render(Eo *win)
|
||||||
|
{
|
||||||
|
_win_manual_render(win, NULL);
|
||||||
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ void event_callback_single_call_int_data(void *data, Evas_Object *obj EINA_UNUSE
|
||||||
void event_callback_that_quits_the_main_loop_when_called();
|
void event_callback_that_quits_the_main_loop_when_called();
|
||||||
void event_callback_that_increments_an_int_when_called(void *data, Evas_Object *obj, void *event_info);
|
void event_callback_that_increments_an_int_when_called(void *data, Evas_Object *obj, void *event_info);
|
||||||
|
|
||||||
|
void force_render(Eo *win);
|
||||||
|
|
||||||
#define assert_object_size_eq(obj, width, height) \
|
#define assert_object_size_eq(obj, width, height) \
|
||||||
do \
|
do \
|
||||||
|
|
Loading…
Reference in New Issue