summaryrefslogtreecommitdiff
path: root/src/tests/elementary/suite_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/elementary/suite_helpers.c')
-rw-r--r--src/tests/elementary/suite_helpers.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/elementary/suite_helpers.c b/src/tests/elementary/suite_helpers.c
index 727db9be98..b9c8d3e71d 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -456,3 +456,12 @@ click_part(Eo *obj, const char *part)
456 edje_object_message_signal_process(obj); 456 edje_object_message_signal_process(obj);
457 efl_unref(part_obj); 457 efl_unref(part_obj);
458} 458}
459
460void
461event_callback_that_is_called_exactly_one_time_and_sets_a_single_int_data_pointer_when_called(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
462{
463 int *called = data;
464
465 ck_assert_int_eq(*called, 0);
466 *called = 1;
467}