SET(CMAKE_C_FLAGS "${SLP_DEBUG_FLAGS} ${SLP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} ${SLP_COMPILER_FLAGS} -fPIE")
SET(CMAKE_CXX_FLAGS "${SLP_DEBUG_FLAGS} ${SLP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${SLP_COMPILER_FLAGS}")
+#description for DEBUG_PRINTING_LEVEL in include/logger.h
+ADD_DEFINITIONS("-DDEBUG_PRINTING_LEVEL=DEBUG_PRINTING_LEVEL_DEBUG")
+
ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} ${SLP_LD_PATH_FLAGS} ${SLP_LD_FLAGS} ${SLP_LINKER_FLAGS} "-pie")
LOGE(fmt, ##__VA_ARGS__);
#define PLOGI(fmt, ...) \
- LOGI(fmt, ##__VA_ARGS__);\
-
+ LOGI(fmt, ##__VA_ARGS__);
+
#endif
#endif /* COMMON_HELPERS_H_ */
#define TIZEN_ENGINEER_MODE
#include <libintl.h>
#include <dlog.h>
+#include <Ecore.h>
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG "SCREEN-READER"
-#define INFO(format, arg...) LOGI(format, ##arg)
-#define DEBUG(format, arg...) LOGD(format, ##arg)
+#ifndef VAR_FOR_LOG
+#define VAR_FOR_LOG __attribute__((unused))
+#endif
+
+#undef LOG_
+#define LOG_(id, prio, tag, fmt, arg...) \
+ do { \
+ __dlog_print(id, prio, tag, "%10.6f [%s:%d] (%s) > " fmt, ecore_time_get(), __MODULE__, __LINE__, __func__, ##arg); \
+ } while (0)
+
+#undef SECURE_LOG_
+#define SECURE_LOG_(id, prio, tag, fmt, arg...) \
+ do { \
+ __dlog_print(id, prio, tag, "%s:%d:%s:%9.6f > [SECURE_LOG] " fmt, __MODULE__, __LINE__, __func__, ecore_time_get(), ##arg); \
+ } while (0)
+
+#define DEBUG_PRINTING_LEVEL_OFF 0
+#define DEBUG_PRINTING_LEVEL_ERRORS 1
+#define DEBUG_PRINTING_LEVEL_WARNINGS 2
+#define DEBUG_PRINTING_LEVEL_INFO 3
+#define DEBUG_PRINTING_LEVEL_DEBUG 4
+
+//defined in file CMakeList.txt
+#ifndef DEBUG_PRINTING_LEVEL
+#define DEBUG_PRINTING_LEVEL DEBUG_PRINTING_LEVEL_DEBUG
+#endif
+
+#if DEBUG_PRINTING_LEVEL >= DEBUG_PRINTING_LEVEL_ERRORS
#define ERROR(format, arg...) LOGE(format, ##arg)
+#define ERROR_CODE(x) x
+#else
+#define ERROR(...) do { } while(0)
+#define ERROR_CODE(x)
+#endif
+
+#if DEBUG_PRINTING_LEVEL >= DEBUG_PRINTING_LEVEL_WARNINGS
#define WARNING(format, arg...) LOGW(format, ##arg)
+#define WARNING_CODE(x) x
+#else
+#define WARNING(...) do { } while(0)
+#define WARNING_CODE(x)
+#endif
+
+#if DEBUG_PRINTING_LEVEL >= DEBUG_PRINTING_LEVEL_INFO
+#define INFO(format, arg...) LOGI(format, ##arg)
+#define INFO_CODE(x) x
+#else
+#define INFO(...) do { } while(0)
+#define INFO_CODE(x)
+#endif
+
+#if DEBUG_PRINTING_LEVEL >= DEBUG_PRINTING_LEVEL_DEBUG
+#define DEBUG(format, arg...) LOGD(format, ##arg)
+#define DEBUG_CODE(x) x
+#else
+#define DEBUG(...) do { } while(0)
+#define DEBUG_CODE(x)
+#endif
#define MEMORY_ERROR "Memory allocation error"
return;
}
- AtspiRect *rect = atspi_component_get_extents(comp, ATSPI_COORD_TYPE_SCREEN, NULL);
-
- DEBUG("Current object is in:%d %d", rect->x, rect->y);
- DEBUG("Current object has size:%d %d", rect->width, rect->height);
+ DEBUG_CODE(
+ AtspiRect *rect = atspi_component_get_extents(comp, ATSPI_COORD_TYPE_SCREEN, NULL);
+ DEBUG("Current object is in:%d %d", rect->x, rect->y);
+ DEBUG("Current object has size:%d %d", rect->width, rect->height);
+ )
}
if (gi->state == 1) {
_error = NULL;\
}
+DEBUG_CODE(
+
static const char *sprintf_command(Read_Command *command)
{
static char buffer[80];
}
}
+) /* DEBUG_CODE */
//-------------------------------------------------------------------------------------------------
void set_utterance_cb(Screen_Reader_Tts_Data_t *tts_data, utterance_completed_f uter_cb)
if (command) {
if (command->obj) {
//do AT-SPI action
- if (!widget_do_action(command->obj, get_signal_name(signal)))
+ if (!widget_do_action(command->obj, (char *) get_signal_name(signal)))
ERROR("Failed to do AT-SPI action by name:%s for read command:%p with accessible object:%p",
get_signal_name(signal), command, command->obj);
} else {
// signal ReadingSkipped
if (command->obj) {
//do AT-SPI action
- if (!widget_do_action(command->obj, get_signal_name(READING_SKIPPED)))
+ if (!widget_do_action(command->obj, (char *) get_signal_name(READING_SKIPPED)))
ERROR("Failed to do AT-SPI action by name:%s for read command:%p with accessible object:%p",
get_signal_name(READING_SKIPPED), command, command->obj);
} else {
// If the command failed, take next from the queue.
Read_Command *command = get_read_command_from_queue(tts_data, &tts_data->read_command_queue);
if (command) {
- char text[64];
- strncpy(text, command->context.text, 63);
- text[63] = 0;
- DEBUG("READ COMMAND text: %s", text);
+ DEBUG("READ COMMAND text: %.63s", command->context.text);
DEBUG("TTS_STATE: %d", state);
DEBUG("TTS_STATE_NAME: %s", get_tts_state(state));
DEBUG("START COMMAND PROCESSING");
Read_Command *current;
EINA_LIST_REVERSE_FOREACH_SAFE(*command_queue, l, l_prev, current) {
if (can_discard(current, new_command)) {
- Eina_List *queue = *command_queue;
+ DEBUG_CODE(Eina_List *queue = *command_queue;)
*command_queue = eina_list_remove_list(*command_queue, l);
DEBUG("head %p, removed %p, returned %p", queue, l, *command_queue);
dispose_read_command(current, false);
return NULL;
if (!discardable && !want_discard_previous_reading) {
- char buffer[32];
- snprintf(buffer, 32, "%s", text_to_speak);
- WARNING("rejecting non-discardable, non-compressing command '%s...'", buffer);
+ WARNING("rejecting non-discardable, non-compressing command '%.31s...'", text_to_speak);
return NULL;
}
return NULL;
}
- tts_state_e state;
- tts_get_state(tts_data->tts, &state);
- char text[64];
- strncpy(text, text_to_speak, 63);
- text[63] = 0;
- DEBUG("READ COMMAND PARAMS, TEXT: %s, DISCARDABLE: %d, ATSPI_OBJECT: %p", text, discardable, obj);
+ DEBUG("READ COMMAND PARAMS, TEXT: %.63s, DISCARDABLE: %d, ATSPI_OBJECT: %p", text_to_speak, discardable, obj);
Read_Command *rc = calloc(1, sizeof(Read_Command));
Read_Context *ctx = &rc->context;
DEBUG("Utterance completed : utt id(%d) \n", utt_id);
if (tts_data->last_read_command && tts_data->last_read_command->context.last_id == utt_id) {
DEBUG("LAST UTTERANCE");
-
+
tts_data->speak_running = EINA_FALSE;
#ifndef SCREEN_READER_TV
tts_data->pause_state = EINA_FALSE;
tts_data->request_speak_do = false;
tts_data->running = false;
- int r = tts_create(&tts_data->tts);
+ int r VAR_FOR_LOG = tts_create(&tts_data->tts);
DEBUG("Create tts %d (%s)", r, get_tts_error(r));
//TODO handle the return value
DEBUG("Set tts mode SR %d (%s)", r, get_tts_error(r));
r = tts_prepare(tts_data->tts);
- tts_state_e state;
- tts_get_state(tts_data->tts, &state);
+ DEBUG_CODE(
+ tts_state_e state;
+ tts_get_state(tts_data->tts, &state);
+ )
DEBUG("Prepare tts %d (%s), state %d (%s)", r, get_tts_error(r), state, get_tts_state(state));
tts_set_state_changed_cb(tts_data->tts, state_changed_cb, tts_data);
return;
}
- DEBUG("++++++++++++++++state_changed_cb\n++++++++++++++++++");
+ DEBUG("++++++++++++++++state_changed_cb++++++++++++++++++");
DEBUG("current state:%s and previous state:%s\n", get_tts_state(current), get_tts_state(previous));
{
AtspiValue *value = atspi_accessible_get_value_iface(obj);
if (value) {
- gdouble current = atspi_value_get_current_value(value, NULL);
- gdouble max = atspi_value_get_maximum_value(value, NULL);
- gdouble min = atspi_value_get_minimum_value(value, NULL);
- DEBUG("VALUE:<%p> %f, MAX: %f, MIN: %f", value, current, max, min);
+ DEBUG("VALUE:<%p> %f, MAX: %f, MIN: %f", value,
+ atspi_value_get_current_value(value, NULL),
+ atspi_value_get_maximum_value(value, NULL),
+ atspi_value_get_minimum_value(value, NULL));
g_object_unref(value);
}
}
DEBUG("END");
return ret;
}
-
{
DEBUG("--------------------- VCONF_init START ---------------------");
- int ret = 0;
-
Screen_Reader_Vconf_Data_t *vconf_data = screen_reader_vconf_data_create();
vconf_data->keys = NULL;
vconf_data->read_description = true;
vconf_keylist_free(vconf_data->keys);
// ----------------------------------------------------------------------------------
- ret = get_key_values(vconf_data);
-
+ int ret = get_key_values(vconf_data);
if (ret != 0) {
DEBUG("Could not set data from vconf: %d", ret);
}
static void _handle_long_press(void);
static void _handle_state_change(void);
-static void
-_playback_completed_cb(int id, void *user_data)
+static void _playback_completed_cb(int id, void *user_data)
{
- const char *path = (const char*)user_data;
- DEBUG("WAV Player", "Completed! [id:%d, path:%s]", id, path);
+ DEBUG("WAV Player", "Completed! [id:%d, path:%s]", id, (const char*) user_data);
}
static char *_get_sound_path(const char *file_path)
SET(CMAKE_EXPORT_COMPILE_COMMANDS "OFF")
-to beginning of CMakeListst.txt in any subdirectory, which is not part of project's binary (testing and so on). Build the project, it will create compile_commands.json in project's build directory (for example ~/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/BUILD/org.tizen.screen-reader-0.0.8/compile_commands.json). Copy it back to project's source directory - it will be needed in a second. Run:
+to beginning of CMakeListst.txt in any subdirectory, which is not part of project's binary (testing and so on). Build the project, it will create compile_commands.json in project's build directory (for example ~/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/BUILD/org.tizen.screen-reader-0.0.8/compile_commands.json). Copy it back to project's source directory - it will be needed in a second.
+Durgin building and all following process flag DEBUG_PRINTING_LEVEL=4 has to be set (look at CMakeList.txt or include/logger.h), it enables all log macros and make generation of mock for all neccessary functions possible.
+Run:
tests2/wrappers/generate_wrappers.py parse --command compile_commands.json --output out --define TIZEN_GTEST
using ::testing::SetArgPointee;
using ::testing::StrEq;
using ::testing::_;
+using ::testing::AnyNumber;
class ScreenReaderUtilsFixture : public ::testing::Test {
protected:
AtspiComponent *comp_;
bool display_parent_info_;
- mock_atspi_accessible_get_child_count m_atspi_accessible_get_child_count;
mock_atspi_accessible_get_component_iface m_atspi_accessible_get_component_iface;
- mock_atspi_component_get_highlight_index m_atspi_component_get_highlight_index;
- mock_atspi_accessible_get_index_in_parent m_atspi_accessible_get_index_in_parent;
- mock_atspi_accessible_get_object_locale m_atspi_accessible_get_object_locale;
AtspiAccessible *newAtspiAccessibleObject() {
if (obj_)
mock__debug_display_win_screen m_display_win_screen;
mock__debug_display_object_ifaces m_display_ifaces;
+ mock_atspi_accessible_get_child_count m_atspi_accessible_get_child_count;
+ mock_atspi_component_get_highlight_index m_atspi_component_get_highlight_index;
+ mock_atspi_accessible_get_index_in_parent m_atspi_accessible_get_index_in_parent;
+ mock_atspi_accessible_get_object_locale m_atspi_accessible_get_object_locale;
+
void CallDependenciesWithoutParentInfo() {
EXPECT_FUNCTION_CALL(m_display_name, (obj_)).Times(1);
EXPECT_FUNCTION_CALL(m_display_role, (obj_)).Times(1);
EXPECT_FUNCTION_CALL(m_display_description, (obj_)).Times(1);
- EXPECT_FUNCTION_CALL(m_atspi_accessible_get_child_count, (obj_, nullptr)).Times(1);
+ EXPECT_FUNCTION_CALL(m_atspi_accessible_get_child_count, (obj_, nullptr)).Times(AnyNumber());
EXPECT_FUNCTION_CALL(m_atspi_accessible_get_component_iface, (obj_)).Times(1);
- EXPECT_FUNCTION_CALL(m_atspi_component_get_highlight_index, (nullptr, nullptr)).Times(1);
- EXPECT_FUNCTION_CALL(m_atspi_accessible_get_index_in_parent, (obj_, nullptr)).Times(1);
+ EXPECT_FUNCTION_CALL(m_atspi_component_get_highlight_index, (_, nullptr)).Times(AnyNumber());
+ EXPECT_FUNCTION_CALL(m_atspi_accessible_get_index_in_parent, (obj_, nullptr)).Times(AnyNumber());
EXPECT_FUNCTION_CALL(m_display_iface_values, (obj_)).Times(1);
EXPECT_FUNCTION_CALL(m_display_states, (obj_)).Times(1);
- EXPECT_FUNCTION_CALL(m_atspi_accessible_get_object_locale, (obj_, nullptr)).Times(1);
+ EXPECT_FUNCTION_CALL(m_atspi_accessible_get_object_locale, (obj_, nullptr)).Times(AnyNumber());
EXPECT_FUNCTION_CALL(m_display_rect_screen, (nullptr)).Times(1);
EXPECT_FUNCTION_CALL(m_display_win_screen, (nullptr)).Times(1);
EXPECT_FUNCTION_CALL(m_display_ifaces, (obj_)).Times(1);
using ::testing::SetArgPointee;
using ::testing::StrEq;
using ::testing::_;
+using ::testing::AnyNumber;
class ScreenReaderVconfFixture : public ::testing::Test {
protected:
}
void expectBenignVconfKeynodeCall() {
// Apparently the vconf_keynode_get_* get non-const pointer to a keynode.
- EXPECT_FUNCTION_CALL(m_vconf_keynode_get_bool, (keynode))
- .WillOnce(Return(111)).RetiresOnSaturation();
+ EXPECT_FUNCTION_CALL(m_vconf_keynode_get_bool, (keynode)).Times(AnyNumber());
}
void prepVconfGetBoolRegisterCb(const char *key, bool retVal, bool value) {
EXPECT_FUNCTION_CALL(m_vconf_get_bool, (StrEq(key), _))
#include "mocked_app_tracker.h"
-IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_callback_register, app_tracker_callback_register, void(AtspiAccessible *, AppTrackerEventCB, void *));
-IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_callback_unregister, app_tracker_callback_unregister, void(AtspiAccessible *, AppTrackerEventCB, void *));
-IMPLEMENT_FUNCTION_MOCK0(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *());
+IMPLEMENT_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *));
+IMPLEMENT_FUNCTION_MOCK0(mock_app_tracker_create, app_tracker_create, App_Tracker_Data *());
+IMPLEMENT_FUNCTION_MOCK1(mock_app_tracker_destroy, app_tracker_destroy, void(App_Tracker_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *(Service_Data *, AppTrackerEventCB, DefaultLabelCB));
IMPLEMENT_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB, App_Tracker_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_unregister, app_tracker_new_obj_highlighted_callback_unregister, void(AppTrackerEventCB, App_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool));
+IMPLEMENT_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *());
+IMPLEMENT_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
+IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int));
-IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *));
IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int));
IMPLEMENT_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int));
IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *());
+IMPLEMENT_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *));
IMPLEMENT_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType));
+IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *());
+IMPLEMENT_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_top_win_get, window_tracker_top_win_get, AtspiAccessible *(Window_Tracker_Data *));
extern "C" {
#include "app_tracker.h"
#include "screen_reader_tts.h"
-#include "screen_reader_vconf.h"
+#include "window_tracker.h"
#include <ctype.h>
#include "keyboard_tracker.h"
+#include "navigator.h"
}
#include <cmock/cmock.h>
-struct _app_tracker_data;
+typedef struct _app_tracker_data App_Tracker_Data;
+typedef struct SubTreeRootData SubTreeRootData;
+typedef struct EventCallbackData EventCallbackData;
struct _app_tracker_data {
- GList * _roots;
+ SubTreeRootData * active_window_context;
AtspiEventListener * _listener;
AppTrackerEventCB _new_obj_highlighted_callback;
+ Ecore_Timer * read_timer;
+};
+struct SubTreeRootData {
+ AtspiAccessible * root;
+ GList * modals;
+ EventCallbackData * view_content_changed_ecd;
+ guint timer;
+ DefaultLabelCB default_label_func;
+ char * default_label;
+ guint default_label_timer;
+};
+struct EventCallbackData {
+ AppTrackerEventCB func;
+ AtspiAccessible * root;
+ void * user_data;
};
-DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_register, app_tracker_callback_register, void(AtspiAccessible *, AppTrackerEventCB, void *)); // include/app_tracker.h
-DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_unregister, app_tracker_callback_unregister, void(AtspiAccessible *, AppTrackerEventCB, void *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK0(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *()); // src/app_tracker.c
+extern "C" App_Tracker_Data * app_tracker_create();
+extern "C" void app_tracker_destroy(App_Tracker_Data * app);
+DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK0(mock_app_tracker_create, app_tracker_create, App_Tracker_Data *()); // src/app_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_app_tracker_destroy, app_tracker_destroy, void(App_Tracker_Data *)); // src/app_tracker.c
+DECLARE_FUNCTION_MOCK3(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *(Service_Data *, AppTrackerEventCB, DefaultLabelCB)); // src/app_tracker.c
DECLARE_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB, App_Tracker_Data *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_unregister, app_tracker_new_obj_highlighted_callback_unregister, void(AppTrackerEventCB, App_Tracker_Data *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *)); // include/app_tracker.h
-DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *)); // src/app_tracker.c
+DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *()); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // src/keyboard_tracker.c
+DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // src/keyboard_tracker.c
DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *()); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // src/window_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // src/window_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_window_tracker_top_win_get, window_tracker_top_win_get, AtspiAccessible *(Window_Tracker_Data *)); // include/window_tracker.h
}
#include <cmock/cmock.h>
-struct _direct_reading_data;
+typedef struct _direct_reading_data Reading_Adapter;
struct _direct_reading_data {
Eldbus_Connection * conn;
Eldbus_Service_Interface * iface;
extern "C" void _get_a11y_address(void * data, const Eldbus_Message * msg, Eldbus_Pending * pending);
DECLARE_FUNCTION_MOCK3(mock__get_a11y_address, _get_a11y_address, void(void *, const Eldbus_Message *, Eldbus_Pending *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // src/dbus_direct_reading_adapter.c
+DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // include/dbus_direct_reading_adapter.h
+DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // include/dbus_direct_reading_adapter.h
DECLARE_FUNCTION_MOCK1(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void(Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // include/dbus_direct_reading_adapter.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
IMPLEMENT_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture));
IMPLEMENT_FUNCTION_MOCK3(mock__on_get_a11y_address, _on_get_a11y_address, void(void *, const Eldbus_Message *, Eldbus_Pending *));
-IMPLEMENT_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *));
IMPLEMENT_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *());
IMPLEMENT_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *));
-IMPLEMENT_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
-IMPLEMENT_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *));
}
#include <cmock/cmock.h>
-struct _gesture_adapter_data;
+typedef struct _gesture_adapter_data Gesture_Adapter;
struct _gesture_adapter_data {
Eldbus_Connection * conn;
Eldbus_Service_Interface * service;
};
extern "C" void _on_get_a11y_address(void * data, const Eldbus_Message * msg, Eldbus_Pending * pending);
-DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // src/dbus_gesture_adapter.c
DECLARE_FUNCTION_MOCK3(mock__on_get_a11y_address, _on_get_a11y_address, void(void *, const Eldbus_Message *, Eldbus_Pending *)); // src/dbus_gesture_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // include/screen_reader_gestures.h
-DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // src/dbus_gesture_adapter.c
DECLARE_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *()); // include/dbus_gesture_adapter.h
-DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // src/dbus_gesture_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
#include "mocked_elm_access_adapter.h"
-IMPLEMENT_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_activate, elm_access_adaptor_emit_activate, void(Ecore_Wl_Window *, int, int));
-IMPLEMENT_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_read, elm_access_adaptor_emit_read, void(Ecore_Wl_Window *, int, int));
-
}
#include <cmock/cmock.h>
-DECLARE_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_activate, elm_access_adaptor_emit_activate, void(Ecore_Wl_Window *, int, int)); // src/elm_access_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_read, elm_access_adaptor_emit_read, void(Ecore_Wl_Window *, int, int)); // include/elm_access_adapter.h
-
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_name, atspi_accessible_get_name, gchar *(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_object_locale, atspi_accessible_get_object_locale, const gchar *(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_parent, atspi_accessible_get_parent, AtspiAccessible *(AtspiAccessible *, GError **));
-IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_process_id, atspi_accessible_get_process_id, guint(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_relation_set, atspi_accessible_get_relation_set, GArray *(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_role, atspi_accessible_get_role, AtspiRole(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_role_name, atspi_accessible_get_role_name, gchar *(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_selection_iface, atspi_accessible_get_selection_iface, AtspiSelection *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_state_set, atspi_accessible_get_state_set, AtspiStateSet *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_text_iface, atspi_accessible_get_text_iface, AtspiText *(AtspiAccessible *));
-IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_toolkit_name, atspi_accessible_get_toolkit_name, gchar *(AtspiAccessible *, GError **));
IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_value_iface, atspi_accessible_get_value_iface, AtspiValue *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK3(mock_atspi_action_do_action, atspi_action_do_action, gboolean(AtspiAction *, gint, GError **));
IMPLEMENT_FUNCTION_MOCK3(mock_atspi_action_get_action_name, atspi_action_get_action_name, gchar *(AtspiAction *, gint, GError **));
IMPLEMENT_FUNCTION_MOCK2(mock_atspi_event_listener_new_simple, atspi_event_listener_new_simple, AtspiEventListener *(AtspiEventListenerSimpleCB, GDestroyNotify));
IMPLEMENT_FUNCTION_MOCK3(mock_atspi_event_listener_register, atspi_event_listener_register, gboolean(AtspiEventListener *, const gchar *, GError **));
IMPLEMENT_FUNCTION_MOCK0(mock_atspi_exit, atspi_exit, int());
-IMPLEMENT_FUNCTION_MOCK1(mock_atspi_get_desktop, atspi_get_desktop, AtspiAccessible *(gint));
IMPLEMENT_FUNCTION_MOCK0(mock_atspi_init, atspi_init, int());
IMPLEMENT_FUNCTION_MOCK9(mock_atspi_match_rule_new, atspi_match_rule_new, AtspiMatchRule *(AtspiStateSet *, AtspiCollectionMatchType, GHashTable *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, gboolean));
IMPLEMENT_FUNCTION_MOCK6(mock_atspi_register_keystroke_listener, atspi_register_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, AtspiKeyListenerSyncType, GError **));
IMPLEMENT_FUNCTION_MOCK1(mock_device_haptic_close, device_haptic_close, int(haptic_device_h));
IMPLEMENT_FUNCTION_MOCK1(mock_device_haptic_get_count, device_haptic_get_count, int(int *));
IMPLEMENT_FUNCTION_MOCK2(mock_device_haptic_open, device_haptic_open, int(int, haptic_device_h *));
-IMPLEMENT_FUNCTION_MOCK2(mock_device_haptic_stop, device_haptic_stop, int(haptic_device_h, haptic_effect_h));
IMPLEMENT_FUNCTION_MOCK4(mock_device_haptic_vibrate, device_haptic_vibrate, int(haptic_device_h, int, int, haptic_effect_h *));
IMPLEMENT_FUNCTION_MOCK2(mock_device_remove_callback, device_remove_callback, int(device_callback_e, device_changed_cb));
+IMPLEMENT_FUNCTION_MOCK0(mock_ecore_time_get, ecore_time_get, double());
+IMPLEMENT_FUNCTION_MOCK3(mock_ecore_timer_add, ecore_timer_add, Ecore_Timer *(double, Ecore_Task_Cb, const void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_ecore_timer_del, ecore_timer_del, void *(Ecore_Timer *));
IMPLEMENT_FUNCTION_MOCK1(mock_eina_array_grow, eina_array_grow, Eina_Bool(Eina_Array *));
IMPLEMENT_FUNCTION_MOCK3(mock_eina_hash_add, eina_hash_add, Eina_Bool(Eina_Hash *, const void *, const void *));
IMPLEMENT_FUNCTION_MOCK2(mock_eina_hash_del_by_key, eina_hash_del_by_key, Eina_Bool(Eina_Hash *, const void *));
IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_proxy_get, eldbus_proxy_get, Eldbus_Proxy *(Eldbus_Object *, const char *));
IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_proxy_method_call_new, eldbus_proxy_method_call_new, Eldbus_Message *(Eldbus_Proxy *, const char *));
IMPLEMENT_FUNCTION_MOCK5(mock_eldbus_proxy_send, eldbus_proxy_send, Eldbus_Pending *(Eldbus_Proxy *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double));
-IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_proxy_send_and_block, eldbus_proxy_send_and_block, Eldbus_Message *(Eldbus_Proxy *, Eldbus_Message *, double));
IMPLEMENT_FUNCTION_MOCK4(mock_eldbus_proxy_signal_handler_add, eldbus_proxy_signal_handler_add, Eldbus_Signal_Handler *(Eldbus_Proxy *, const char *, Eldbus_Signal_Cb, const void *));
IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_service_interface_register, eldbus_service_interface_register, Eldbus_Service_Interface *(Eldbus_Connection *, const char *, const Eldbus_Service_Interface_Desc *));
IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_service_object_unregister, eldbus_service_object_unregister, void(Eldbus_Service_Interface *));
IMPLEMENT_FUNCTION_MOCK1(mock_fclose, fclose, int(FILE *));
IMPLEMENT_FUNCTION_MOCK2(mock_fopen, fopen, FILE *(const char *, const char *));
IMPLEMENT_FUNCTION_MOCK2(mock_fputs, fputs, int(const char *, FILE *));
-IMPLEMENT_FUNCTION_MOCK1(mock_free, free, void(void *));
+IMPLEMENT_FUNCTION_MOCK3(mock_g_array_append_vals, g_array_append_vals, GArray *(GArray *, gconstpointer, guint));
IMPLEMENT_FUNCTION_MOCK2(mock_g_array_free, g_array_free, gchar *(GArray *, gboolean));
+IMPLEMENT_FUNCTION_MOCK3(mock_g_array_new, g_array_new, GArray *(gboolean, gboolean, guint));
IMPLEMENT_FUNCTION_MOCK2(mock_g_array_set_clear_func, g_array_set_clear_func, void(GArray *, GDestroyNotify));
IMPLEMENT_FUNCTION_MOCK1(mock_g_array_unref, g_array_unref, void(GArray *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_async_queue_unref, g_async_queue_unref, void(GAsyncQueue *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_hmac_unref, g_hmac_unref, void(GHmac *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_io_channel_unref, g_io_channel_unref, void(GIOChannel *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_key_file_unref, g_key_file_unref, void(GKeyFile *));
-IMPLEMENT_FUNCTION_MOCK2(mock_g_list_append, g_list_append, GList *(GList *, gpointer));
IMPLEMENT_FUNCTION_MOCK2(mock_g_list_delete_link, g_list_delete_link, GList *(GList *, GList *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_list_free, g_list_free, void(GList *));
IMPLEMENT_FUNCTION_MOCK2(mock_g_list_free_full, g_list_free_full, void(GList *, GDestroyNotify));
-IMPLEMENT_FUNCTION_MOCK1(mock_g_list_last, g_list_last, GList *(GList *));
-IMPLEMENT_FUNCTION_MOCK2(mock_g_list_remove, g_list_remove, GList *(GList *, gconstpointer));
+IMPLEMENT_FUNCTION_MOCK1(mock_g_list_length, g_list_length, guint(GList *));
+IMPLEMENT_FUNCTION_MOCK2(mock_g_list_prepend, g_list_prepend, GList *(GList *, gpointer));
IMPLEMENT_FUNCTION_MOCK4(mock_g_logv, g_logv, void(const gchar *, GLogLevelFlags, const gchar *, va_list));
IMPLEMENT_FUNCTION_MOCK1(mock_g_main_context_unref, g_main_context_unref, void(GMainContext *));
IMPLEMENT_FUNCTION_MOCK1(mock_g_main_loop_unref, g_main_loop_unref, void(GMainLoop *));
IMPLEMENT_FUNCTION_MOCK2(mock_gettimeofday, gettimeofday, int(struct timeval *, __timezone_ptr_t));
IMPLEMENT_FUNCTION_MOCK1(mock_localtime, localtime, struct tm *(const time_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_lstat, lstat, int(const char *, struct stat *));
-IMPLEMENT_FUNCTION_MOCK1(mock_malloc, malloc, void *(size_t));
-IMPLEMENT_FUNCTION_MOCK3(mock_memcpy, memcpy, void *(void *, const void *, size_t));
-IMPLEMENT_FUNCTION_MOCK3(mock_memset, memset, void *(void *, int, size_t));
IMPLEMENT_FUNCTION_MOCK1(mock_notification_free_list, notification_free_list, int(notification_list_h));
IMPLEMENT_FUNCTION_MOCK3(mock_notification_get_list, notification_get_list, int(notification_type_e, int, notification_list_h *));
IMPLEMENT_FUNCTION_MOCK3(mock_notification_get_text, notification_get_text, int(notification_h, notification_text_type_e, char **));
#pragma once
extern "C" {
-#include <ecore-wayland-1/Ecore_Wayland.h>
-#include <libintl.h>
-#include <dlog/dlog.h>
-#include <string.h>
#include <atspi/atspi.h>
+#include <eina-1/Eina.h>
+#include <stdbool.h>
#include <Eldbus.h>
#include <tts.h>
-#include <ctype.h>
-#include <Ecore_Evas.h>
+#include <libintl.h>
+#include <dlog/dlog.h>
#include <ecore-1/Ecore.h>
-#include <wav_player.h>
+#include <assert.h>
+#include <ecore-wayland-1/Ecore_Wayland.h>
+#include <string.h>
#include <device/battery.h>
#include <device/display.h>
#include <device/callback.h>
#include <wifi.h>
#include <notification.h>
#include <notification_list.h>
+#include <device/haptic.h>
+#include <stdio.h>
+#include <Ecore_Evas.h>
+#include <wav_player.h>
+#include <ctype.h>
+#include <Elementary.h>
#include <time.h>
#include <signal.h>
#include <err.h>
#include <execinfo.h>
#include <appcore-efl.h>
-#include <Elementary.h>
#include <app.h>
#include <stdlib.h>
-#include <stdbool.h>
-#include <assert.h>
-#include <device/haptic.h>
-#include <stdio.h>
-#include <eina-1/Eina.h>
+#include <eina-1/eina/eina_types.h>
}
#include <cmock/cmock.h>
-DECLARE_FUNCTION_MOCK1(mock__Exit, _Exit, void(int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK4(mock__eina_crc, _eina_crc, unsigned int(const char *, int, unsigned int, Eina_Bool)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_crc.x
-DECLARE_FUNCTION_MOCK4(mock__eina_unicode_utf8_next_get, _eina_unicode_utf8_next_get, Eina_Unicode(int, unsigned char, const char *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_unicode.x
-DECLARE_FUNCTION_MOCK1(mock_abs, abs, int(int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK4(mock_appcore_efl_main, appcore_efl_main, int(const char *, int *, char ***, struct appcore_ops *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/appcore/appcore-efl.h
-DECLARE_FUNCTION_MOCK1(mock_atoi, atoi, int(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_action_iface, atspi_accessible_get_action_iface, AtspiAction *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_attributes, atspi_accessible_get_attributes, GHashTable *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_accessible_get_child_at_index, atspi_accessible_get_child_at_index, AtspiAccessible *(AtspiAccessible *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_child_count, atspi_accessible_get_child_count, gint(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_collection_iface, atspi_accessible_get_collection_iface, AtspiCollection *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_component_iface, atspi_accessible_get_component_iface, AtspiComponent *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_description, atspi_accessible_get_description, gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_editable_text_iface, atspi_accessible_get_editable_text_iface, AtspiEditableText *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_index_in_parent, atspi_accessible_get_index_in_parent, gint(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_interfaces, atspi_accessible_get_interfaces, GArray *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_localized_role_name, atspi_accessible_get_localized_role_name, gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_name, atspi_accessible_get_name, gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_object_locale, atspi_accessible_get_object_locale, const gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_parent, atspi_accessible_get_parent, AtspiAccessible *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_process_id, atspi_accessible_get_process_id, guint(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_relation_set, atspi_accessible_get_relation_set, GArray *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_role, atspi_accessible_get_role, AtspiRole(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_role_name, atspi_accessible_get_role_name, gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_selection, atspi_accessible_get_selection, AtspiSelection *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_selection_iface, atspi_accessible_get_selection_iface, AtspiSelection *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_state_set, atspi_accessible_get_state_set, AtspiStateSet *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_text_iface, atspi_accessible_get_text_iface, AtspiText *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_toolkit_name, atspi_accessible_get_toolkit_name, gchar *(AtspiAccessible *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_value_iface, atspi_accessible_get_value_iface, AtspiValue *(AtspiAccessible *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_action_do_action, atspi_action_do_action, gboolean(AtspiAction *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_action_get_action_name, atspi_action_get_action_name, gchar *(AtspiAction *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_action_get_n_actions, atspi_action_get_n_actions, gint(AtspiAction *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_action_get_name, atspi_action_get_name, gchar *(AtspiAction *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
-DECLARE_FUNCTION_MOCK6(mock_atspi_collection_get_matches, atspi_collection_get_matches, GArray *(AtspiCollection *, AtspiMatchRule *, AtspiCollectionSortOrder, gint, gboolean, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-collection.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_component_clear_highlight, atspi_component_clear_highlight, gboolean(AtspiComponent *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK5(mock_atspi_component_contains, atspi_component_contains, gboolean(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK5(mock_atspi_component_get_accessible_at_point, atspi_component_get_accessible_at_point, AtspiAccessible *(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_component_get_extents, atspi_component_get_extents, AtspiRect *(AtspiComponent *, AtspiCoordType, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_component_get_highlight_index, atspi_component_get_highlight_index, int(AtspiComponent *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK0(mock_atspi_component_get_type, atspi_component_get_type, GType()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_component_grab_focus, atspi_component_grab_focus, gboolean(AtspiComponent *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_component_grab_highlight, atspi_component_grab_highlight, gboolean(AtspiComponent *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
-DECLARE_FUNCTION_MOCK5(mock_atspi_deregister_keystroke_listener, atspi_deregister_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-registry.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_device_listener_new, atspi_device_listener_new, AtspiDeviceListener *(AtspiDeviceListenerCB, void *, GDestroyNotify)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-device-listener.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_deregister, atspi_event_listener_deregister, gboolean(AtspiEventListener *, const gchar *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_new, atspi_event_listener_new, AtspiEventListener *(AtspiEventListenerCB, gpointer, GDestroyNotify)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_event_listener_new_simple, atspi_event_listener_new_simple, AtspiEventListener *(AtspiEventListenerSimpleCB, GDestroyNotify)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_register, atspi_event_listener_register, gboolean(AtspiEventListener *, const gchar *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
-DECLARE_FUNCTION_MOCK0(mock_atspi_exit, atspi_exit, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-misc.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_get_desktop, atspi_get_desktop, AtspiAccessible *(gint)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-registry.h
-DECLARE_FUNCTION_MOCK0(mock_atspi_init, atspi_init, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-misc.h
-DECLARE_FUNCTION_MOCK9(mock_atspi_match_rule_new, atspi_match_rule_new, AtspiMatchRule *(AtspiStateSet *, AtspiCollectionMatchType, GHashTable *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, gboolean)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-matchrule.h
-DECLARE_FUNCTION_MOCK6(mock_atspi_register_keystroke_listener, atspi_register_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, AtspiKeyListenerSyncType, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-registry.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_relation_get_n_targets, atspi_relation_get_n_targets, gint(AtspiRelation *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_relation_get_relation_type, atspi_relation_get_relation_type, AtspiRelationType(AtspiRelation *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_relation_get_target, atspi_relation_get_target, AtspiAccessible *(AtspiRelation *, gint)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_selection_deselect_child, atspi_selection_deselect_child, gboolean(AtspiSelection *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_selection_get_n_selected_children, atspi_selection_get_n_selected_children, gint(AtspiSelection *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_selection_is_child_selected, atspi_selection_is_child_selected, gboolean(AtspiSelection *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_selection_select_child, atspi_selection_select_child, gboolean(AtspiSelection *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_state_set_add, atspi_state_set_add, void(AtspiStateSet *, AtspiStateType)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_state_set_contains, atspi_state_set_contains, gboolean(AtspiStateSet *, AtspiStateType)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_state_set_get_states, atspi_state_set_get_states, GArray *(AtspiStateSet *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
-DECLARE_FUNCTION_MOCK1(mock_atspi_state_set_new, atspi_state_set_new, AtspiStateSet *(GArray *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_text_get_caret_offset, atspi_text_get_caret_offset, gint(AtspiText *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_text_get_character_count, atspi_text_get_character_count, gint(AtspiText *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
-DECLARE_FUNCTION_MOCK4(mock_atspi_text_get_text, atspi_text_get_text, gchar *(AtspiText *, gint, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_text_set_caret_offset, atspi_text_set_caret_offset, gboolean(AtspiText *, gint, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_current_value, atspi_value_get_current_value, gdouble(AtspiValue *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_maximum_value, atspi_value_get_maximum_value, gdouble(AtspiValue *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_minimum_increment, atspi_value_get_minimum_increment, gdouble(AtspiValue *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
-DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_minimum_value, atspi_value_get_minimum_value, gdouble(AtspiValue *, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
-DECLARE_FUNCTION_MOCK3(mock_atspi_value_set_current_value, atspi_value_set_current_value, gboolean(AtspiValue *, gdouble, GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
-DECLARE_FUNCTION_MOCK2(mock_backtrace, backtrace, int(void **, int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/execinfo.h
-DECLARE_FUNCTION_MOCK2(mock_backtrace_symbols, backtrace_symbols, char **(void *const *, int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/execinfo.h
-DECLARE_FUNCTION_MOCK2(mock_bt_adapter_foreach_bonded_device, bt_adapter_foreach_bonded_device, int(bt_adapter_bonded_device_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
-DECLARE_FUNCTION_MOCK1(mock_bt_adapter_get_state, bt_adapter_get_state, int(bt_adapter_state_e *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
-DECLARE_FUNCTION_MOCK0(mock_bt_deinitialize, bt_deinitialize, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
-DECLARE_FUNCTION_MOCK0(mock_bt_initialize, bt_initialize, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
-DECLARE_FUNCTION_MOCK2(mock_clock_gettime, clock_gettime, int(clockid_t, struct timespec *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
-DECLARE_FUNCTION_MOCK3(mock_device_add_callback, device_add_callback, int(device_callback_e, device_changed_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/callback.h
-DECLARE_FUNCTION_MOCK1(mock_device_battery_get_level_status, device_battery_get_level_status, int(device_battery_level_e *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
-DECLARE_FUNCTION_MOCK1(mock_device_battery_get_percent, device_battery_get_percent, int(int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
-DECLARE_FUNCTION_MOCK1(mock_device_battery_is_charging, device_battery_is_charging, int(_Bool *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
-DECLARE_FUNCTION_MOCK1(mock_device_display_get_state, device_display_get_state, int(display_state_e *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/display.h
-DECLARE_FUNCTION_MOCK1(mock_device_haptic_close, device_haptic_close, int(haptic_device_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
-DECLARE_FUNCTION_MOCK1(mock_device_haptic_get_count, device_haptic_get_count, int(int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
-DECLARE_FUNCTION_MOCK2(mock_device_haptic_open, device_haptic_open, int(int, haptic_device_h *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
-DECLARE_FUNCTION_MOCK2(mock_device_haptic_stop, device_haptic_stop, int(haptic_device_h, haptic_effect_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
-DECLARE_FUNCTION_MOCK4(mock_device_haptic_vibrate, device_haptic_vibrate, int(haptic_device_h, int, int, haptic_effect_h *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
-DECLARE_FUNCTION_MOCK2(mock_device_remove_callback, device_remove_callback, int(device_callback_e, device_changed_cb)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/callback.h
-DECLARE_FUNCTION_MOCK1(mock_eina_array_grow, eina_array_grow, Eina_Bool(Eina_Array *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_array.x
-DECLARE_FUNCTION_MOCK3(mock_eina_hash_add, eina_hash_add, Eina_Bool(Eina_Hash *, const void *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
-DECLARE_FUNCTION_MOCK2(mock_eina_hash_del_by_key, eina_hash_del_by_key, Eina_Bool(Eina_Hash *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
-DECLARE_FUNCTION_MOCK2(mock_eina_hash_find, eina_hash_find, void *(const Eina_Hash *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
-DECLARE_FUNCTION_MOCK1(mock_eina_hash_population, eina_hash_population, int(const Eina_Hash *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
-DECLARE_FUNCTION_MOCK3(mock_eina_inarray_alloc_at, eina_inarray_alloc_at, void *(Eina_Inarray *, unsigned int, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
-DECLARE_FUNCTION_MOCK1(mock_eina_inarray_count, eina_inarray_count, unsigned int(const Eina_Inarray *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
-DECLARE_FUNCTION_MOCK2(mock_eina_inarray_nth, eina_inarray_nth, void *(const Eina_Inarray *, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
-DECLARE_FUNCTION_MOCK2(mock_eina_inarray_remove_at, eina_inarray_remove_at, Eina_Bool(Eina_Inarray *, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
-DECLARE_FUNCTION_MOCK2(mock_eina_list_append, eina_list_append, Eina_List *(Eina_List *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK3(mock_eina_list_append_relative_list, eina_list_append_relative_list, Eina_List *(Eina_List *, const void *, Eina_List *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK2(mock_eina_list_nth_list, eina_list_nth_list, Eina_List *(const Eina_List *, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK2(mock_eina_list_prepend, eina_list_prepend, Eina_List *(Eina_List *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK2(mock_eina_list_remove, eina_list_remove, Eina_List *(Eina_List *, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK2(mock_eina_list_remove_list, eina_list_remove_list, Eina_List *(Eina_List *, Eina_List *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
-DECLARE_FUNCTION_MOCK0(mock_eina_log_color_disable_get, eina_log_color_disable_get, Eina_Bool()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
-DECLARE_FUNCTION_MOCK1(mock_eina_log_domain_registered_level_get, eina_log_domain_registered_level_get, int(int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
-DECLARE_FUNCTION_MOCK0(mock_eina_log_level_get, eina_log_level_get, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
-DECLARE_FUNCTION_MOCK7(mock_eina_str_join_len, eina_str_join_len, size_t(char *, size_t, char, const char *, size_t, const char *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_str.h
-DECLARE_FUNCTION_MOCK4(mock_eina_str_split_full, eina_str_split_full, char **(const char *, const char *, int, unsigned int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_str.h
-DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_free, eina_strbuf_free, void(Eina_Strbuf *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
-DECLARE_FUNCTION_MOCK0(mock_eina_strbuf_new, eina_strbuf_new, Eina_Strbuf *()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
-DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_string_free, eina_strbuf_string_free, void(Eina_Strbuf *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
-DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_string_steal, eina_strbuf_string_steal, char *(Eina_Strbuf *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
-DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_add, eina_stringshare_add, Eina_Stringshare *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
-DECLARE_FUNCTION_MOCK2(mock_eina_stringshare_add_length, eina_stringshare_add_length, Eina_Stringshare *(const char *, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
-DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_del, eina_stringshare_del, void(Eina_Stringshare *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
-DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_ref, eina_stringshare_ref, Eina_Stringshare *(Eina_Stringshare *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
-DECLARE_FUNCTION_MOCK2(mock_eina_unicode_unicode_to_utf8, eina_unicode_unicode_to_utf8, char *(const Eina_Unicode *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_unicode.h
-DECLARE_FUNCTION_MOCK1(mock_eina_ustringshare_add, eina_ustringshare_add, const Eina_Unicode *(const Eina_Unicode *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
-DECLARE_FUNCTION_MOCK2(mock_eina_ustringshare_add_length, eina_ustringshare_add_length, const Eina_Unicode *(const Eina_Unicode *, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
-DECLARE_FUNCTION_MOCK1(mock_eina_ustringshare_del, eina_ustringshare_del, void(const Eina_Unicode *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
-DECLARE_FUNCTION_MOCK2(mock_eina_value_copy, eina_value_copy, Eina_Bool(const Eina_Value *, Eina_Value *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
-DECLARE_FUNCTION_MOCK1(mock_eina_value_inner_alloc, eina_value_inner_alloc, void *(size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
-DECLARE_FUNCTION_MOCK2(mock_eina_value_inner_free, eina_value_inner_free, void(size_t, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
-DECLARE_FUNCTION_MOCK1(mock_eina_value_new, eina_value_new, Eina_Value *(const Eina_Value_Type *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
-DECLARE_FUNCTION_MOCK2(mock_eina_value_struct_member_find, eina_value_struct_member_find, const Eina_Value_Struct_Member *(const Eina_Value_Struct *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
-DECLARE_FUNCTION_MOCK1(mock_eina_value_type_check, eina_value_type_check, Eina_Bool(const Eina_Value_Type *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_address_connection_get, eldbus_address_connection_get, Eldbus_Connection *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_connection_get, eldbus_connection_get, Eldbus_Connection *(Eldbus_Connection_Type)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
-DECLARE_FUNCTION_MOCK5(mock_eldbus_connection_send, eldbus_connection_send, Eldbus_Pending *(Eldbus_Connection *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_connection_unref, eldbus_connection_unref, void(Eldbus_Connection *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
-DECLARE_FUNCTION_MOCK0(mock_eldbus_init, eldbus_init, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/Eldbus.h
-DECLARE_FUNCTION_MOCK3(mock_eldbus_message_error_get, eldbus_message_error_get, Eina_Bool(const Eldbus_Message *, const char **, const char **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK2(mock_eldbus_message_iter_container_close, eldbus_message_iter_container_close, Eina_Bool(Eldbus_Message_Iter *, Eldbus_Message_Iter *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK3(mock_eldbus_message_iter_container_new, eldbus_message_iter_container_new, Eldbus_Message_Iter *(Eldbus_Message_Iter *, int, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_message_iter_get, eldbus_message_iter_get, Eldbus_Message_Iter *(const Eldbus_Message *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK4(mock_eldbus_message_method_call_new, eldbus_message_method_call_new, Eldbus_Message *(const char *, const char *, const char *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_message_method_return_new, eldbus_message_method_return_new, Eldbus_Message *(const Eldbus_Message *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_message_ref, eldbus_message_ref, Eldbus_Message *(Eldbus_Message *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_message_unref, eldbus_message_unref, void(Eldbus_Message *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
-DECLARE_FUNCTION_MOCK4(mock_eldbus_name_release, eldbus_name_release, Eldbus_Pending *(Eldbus_Connection *, const char *, Eldbus_Message_Cb, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_freedesktop.h
-DECLARE_FUNCTION_MOCK5(mock_eldbus_name_request, eldbus_name_request, Eldbus_Pending *(Eldbus_Connection *, const char *, unsigned int, Eldbus_Message_Cb, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_freedesktop.h
-DECLARE_FUNCTION_MOCK3(mock_eldbus_object_get, eldbus_object_get, Eldbus_Object *(Eldbus_Connection *, const char *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_object.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_object_unref, eldbus_object_unref, void(Eldbus_Object *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_object.h
-DECLARE_FUNCTION_MOCK2(mock_eldbus_proxy_get, eldbus_proxy_get, Eldbus_Proxy *(Eldbus_Object *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
-DECLARE_FUNCTION_MOCK2(mock_eldbus_proxy_method_call_new, eldbus_proxy_method_call_new, Eldbus_Message *(Eldbus_Proxy *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
-DECLARE_FUNCTION_MOCK5(mock_eldbus_proxy_send, eldbus_proxy_send, Eldbus_Pending *(Eldbus_Proxy *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
-DECLARE_FUNCTION_MOCK3(mock_eldbus_proxy_send_and_block, eldbus_proxy_send_and_block, Eldbus_Message *(Eldbus_Proxy *, Eldbus_Message *, double)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
-DECLARE_FUNCTION_MOCK4(mock_eldbus_proxy_signal_handler_add, eldbus_proxy_signal_handler_add, Eldbus_Signal_Handler *(Eldbus_Proxy *, const char *, Eldbus_Signal_Cb, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
-DECLARE_FUNCTION_MOCK3(mock_eldbus_service_interface_register, eldbus_service_interface_register, Eldbus_Service_Interface *(Eldbus_Connection *, const char *, const Eldbus_Service_Interface_Desc *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_service.h
-DECLARE_FUNCTION_MOCK1(mock_eldbus_service_object_unregister, eldbus_service_object_unregister, void(Eldbus_Service_Interface *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_service.h
-DECLARE_FUNCTION_MOCK0(mock_eldbus_shutdown, eldbus_shutdown, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/Eldbus.h
-DECLARE_FUNCTION_MOCK2(mock_elm_init, elm_init, int(int, char **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elm_general.h
-DECLARE_FUNCTION_MOCK6(mock_elm_naviframe_item_push, elm_naviframe_item_push, Elm_Object_Item *(Evas_Object *, const char *, Evas_Object *, Evas_Object *, Evas_Object *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elm_naviframe.eo.legacy.h
-DECLARE_FUNCTION_MOCK3(mock_elm_naviframe_item_title_enabled_set, elm_naviframe_item_title_enabled_set, void(Elm_Object_Item *, Eina_Bool, Eina_Bool)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elm_naviframe_item.eo.legacy.h
-DECLARE_FUNCTION_MOCK1(mock_fabs, fabs, double(double)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/bits/mathcalls.h
-DECLARE_FUNCTION_MOCK1(mock_fclose, fclose, int(FILE *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
-DECLARE_FUNCTION_MOCK2(mock_fopen, fopen, FILE *(const char *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
-DECLARE_FUNCTION_MOCK2(mock_fputs, fputs, int(const char *, FILE *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
-DECLARE_FUNCTION_MOCK1(mock_free, free, void(void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK2(mock_g_array_free, g_array_free, gchar *(GArray *, gboolean)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
-DECLARE_FUNCTION_MOCK2(mock_g_array_set_clear_func, g_array_set_clear_func, void(GArray *, GDestroyNotify)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
-DECLARE_FUNCTION_MOCK1(mock_g_array_unref, g_array_unref, void(GArray *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
-DECLARE_FUNCTION_MOCK1(mock_g_async_queue_unref, g_async_queue_unref, void(GAsyncQueue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gasyncqueue.h
-DECLARE_FUNCTION_MOCK1(mock_g_bookmark_file_free, g_bookmark_file_free, void(GBookmarkFile *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gbookmarkfile.h
-DECLARE_FUNCTION_MOCK1(mock_g_byte_array_unref, g_byte_array_unref, void(GByteArray *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
-DECLARE_FUNCTION_MOCK1(mock_g_bytes_unref, g_bytes_unref, void(GBytes *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gbytes.h
-DECLARE_FUNCTION_MOCK1(mock_g_checksum_free, g_checksum_free, void(GChecksum *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gchecksum.h
-DECLARE_FUNCTION_MOCK1(mock_g_clear_error, g_clear_error, void(GError **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gerror.h
-DECLARE_FUNCTION_MOCK1(mock_g_cond_clear, g_cond_clear, void(GCond *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
-DECLARE_FUNCTION_MOCK1(mock_g_date_time_unref, g_date_time_unref, void(GDateTime *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gdatetime.h
-DECLARE_FUNCTION_MOCK1(mock_g_dir_close, g_dir_close, void(GDir *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gdir.h
-DECLARE_FUNCTION_MOCK1(mock_g_error_free, g_error_free, void(GError *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gerror.h
-DECLARE_FUNCTION_MOCK1(mock_g_free, g_free, void(gpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmem.h
-DECLARE_FUNCTION_MOCK2(mock_g_hash_table_lookup, g_hash_table_lookup, gpointer(GHashTable *, gconstpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghash.h
-DECLARE_FUNCTION_MOCK1(mock_g_hash_table_unref, g_hash_table_unref, void(GHashTable *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghash.h
-DECLARE_FUNCTION_MOCK1(mock_g_hmac_unref, g_hmac_unref, void(GHmac *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghmac.h
-DECLARE_FUNCTION_MOCK1(mock_g_io_channel_unref, g_io_channel_unref, void(GIOChannel *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/giochannel.h
-DECLARE_FUNCTION_MOCK1(mock_g_key_file_unref, g_key_file_unref, void(GKeyFile *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gkeyfile.h
-DECLARE_FUNCTION_MOCK2(mock_g_list_append, g_list_append, GList *(GList *, gpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK2(mock_g_list_delete_link, g_list_delete_link, GList *(GList *, GList *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK1(mock_g_list_free, g_list_free, void(GList *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK2(mock_g_list_free_full, g_list_free_full, void(GList *, GDestroyNotify)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK1(mock_g_list_last, g_list_last, GList *(GList *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK2(mock_g_list_remove, g_list_remove, GList *(GList *, gconstpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
-DECLARE_FUNCTION_MOCK4(mock_g_logv, g_logv, void(const gchar *, GLogLevelFlags, const gchar *, va_list)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmessages.h
-DECLARE_FUNCTION_MOCK1(mock_g_main_context_unref, g_main_context_unref, void(GMainContext *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
-DECLARE_FUNCTION_MOCK1(mock_g_main_loop_unref, g_main_loop_unref, void(GMainLoop *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
-DECLARE_FUNCTION_MOCK2(mock_g_malloc_n, g_malloc_n, gpointer(gsize, gsize)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmem.h
-DECLARE_FUNCTION_MOCK1(mock_g_mapped_file_unref, g_mapped_file_unref, void(GMappedFile *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmappedfile.h
-DECLARE_FUNCTION_MOCK1(mock_g_markup_parse_context_unref, g_markup_parse_context_unref, void(GMarkupParseContext *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmarkup.h
-DECLARE_FUNCTION_MOCK1(mock_g_match_info_unref, g_match_info_unref, void(GMatchInfo *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gregex.h
-DECLARE_FUNCTION_MOCK1(mock_g_mutex_clear, g_mutex_clear, void(GMutex *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
-DECLARE_FUNCTION_MOCK1(mock_g_mutex_lock, g_mutex_lock, void(GMutex *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
-DECLARE_FUNCTION_MOCK1(mock_g_mutex_unlock, g_mutex_unlock, void(GMutex *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
-DECLARE_FUNCTION_MOCK1(mock_g_node_destroy, g_node_destroy, void(GNode *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gnode.h
-DECLARE_FUNCTION_MOCK1(mock_g_object_ref, g_object_ref, gpointer(gpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gobject.h
-DECLARE_FUNCTION_MOCK1(mock_g_object_unref, g_object_unref, void(gpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gobject.h
-DECLARE_FUNCTION_MOCK1(mock_g_option_context_free, g_option_context_free, void(GOptionContext *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/goption.h
-DECLARE_FUNCTION_MOCK1(mock_g_option_group_unref, g_option_group_unref, void(GOptionGroup *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/goption.h
-DECLARE_FUNCTION_MOCK1(mock_g_pattern_spec_free, g_pattern_spec_free, void(GPatternSpec *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gpattern.h
-DECLARE_FUNCTION_MOCK1(mock_g_ptr_array_unref, g_ptr_array_unref, void(GPtrArray *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
-DECLARE_FUNCTION_MOCK1(mock_g_queue_clear, g_queue_clear, void(GQueue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gqueue.h
-DECLARE_FUNCTION_MOCK1(mock_g_queue_free, g_queue_free, void(GQueue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gqueue.h
-DECLARE_FUNCTION_MOCK1(mock_g_rand_free, g_rand_free, void(GRand *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/grand.h
-DECLARE_FUNCTION_MOCK1(mock_g_regex_unref, g_regex_unref, void(GRegex *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gregex.h
-DECLARE_FUNCTION_MOCK1(mock_g_scanner_destroy, g_scanner_destroy, void(GScanner *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gscanner.h
-DECLARE_FUNCTION_MOCK1(mock_g_sequence_free, g_sequence_free, void(GSequence *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gsequence.h
-DECLARE_FUNCTION_MOCK1(mock_g_slist_free, g_slist_free, void(GSList *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gslist.h
-DECLARE_FUNCTION_MOCK1(mock_g_source_remove, g_source_remove, gboolean(guint)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
-DECLARE_FUNCTION_MOCK1(mock_g_source_unref, g_source_unref, void(GSource *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
-DECLARE_FUNCTION_MOCK1(mock_g_strfreev, g_strfreev, void(gchar **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstrfuncs.h
-DECLARE_FUNCTION_MOCK1(mock_g_string_chunk_free, g_string_chunk_free, void(GStringChunk *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstringchunk.h
-DECLARE_FUNCTION_MOCK3(mock_g_string_insert_c, g_string_insert_c, GString *(GString *, gssize, gchar)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstring.h
-DECLARE_FUNCTION_MOCK1(mock_g_thread_unref, g_thread_unref, void(GThread *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
-DECLARE_FUNCTION_MOCK1(mock_g_time_zone_unref, g_time_zone_unref, void(GTimeZone *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtimezone.h
-DECLARE_FUNCTION_MOCK3(mock_g_timeout_add, g_timeout_add, guint(guint, GSourceFunc, gpointer)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
-DECLARE_FUNCTION_MOCK1(mock_g_timer_destroy, g_timer_destroy, void(GTimer *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtimer.h
-DECLARE_FUNCTION_MOCK1(mock_g_tree_unref, g_tree_unref, void(GTree *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtree.h
-DECLARE_FUNCTION_MOCK2(mock_g_type_check_instance_is_a, g_type_check_instance_is_a, gboolean(GTypeInstance *, GType)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gtype.h
-DECLARE_FUNCTION_MOCK1(mock_g_value_get_boxed, g_value_get_boxed, gpointer(const GValue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gboxed.h
-DECLARE_FUNCTION_MOCK1(mock_g_value_get_string, g_value_get_string, const gchar *(const GValue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gvaluetypes.h
-DECLARE_FUNCTION_MOCK1(mock_g_value_unset, g_value_unset, void(GValue *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gvalue.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_builder_clear, g_variant_builder_clear, void(GVariantBuilder *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_builder_unref, g_variant_builder_unref, void(GVariantBuilder *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_dict_clear, g_variant_dict_clear, void(GVariantDict *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_dict_unref, g_variant_dict_unref, void(GVariantDict *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_iter_free, g_variant_iter_free, void(GVariantIter *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_type_free, g_variant_type_free, void(GVariantType *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvarianttype.h
-DECLARE_FUNCTION_MOCK1(mock_g_variant_unref, g_variant_unref, void(GVariant *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
-DECLARE_FUNCTION_MOCK0(mock_getpid, getpid, __pid_t()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/unistd.h
-DECLARE_FUNCTION_MOCK1(mock_gettext, gettext, char *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/libintl.h
-DECLARE_FUNCTION_MOCK2(mock_gettimeofday, gettimeofday, int(struct timeval *, __timezone_ptr_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sys/time.h
-DECLARE_FUNCTION_MOCK1(mock_localtime, localtime, struct tm *(const time_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
-DECLARE_FUNCTION_MOCK2(mock_lstat, lstat, int(const char *, struct stat *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sys/stat.h
-DECLARE_FUNCTION_MOCK1(mock_malloc, malloc, void *(size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK3(mock_memcpy, memcpy, void *(void *, const void *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK3(mock_memset, memset, void *(void *, int, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK1(mock_notification_free_list, notification_free_list, int(notification_list_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
-DECLARE_FUNCTION_MOCK3(mock_notification_get_list, notification_get_list, int(notification_type_e, int, notification_list_h *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
-DECLARE_FUNCTION_MOCK3(mock_notification_get_text, notification_get_text, int(notification_h, notification_text_type_e, char **)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification.h
-DECLARE_FUNCTION_MOCK1(mock_notification_list_get_data, notification_list_get_data, notification_h(notification_list_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
-DECLARE_FUNCTION_MOCK1(mock_notification_list_get_head, notification_list_get_head, notification_list_h(notification_list_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
-DECLARE_FUNCTION_MOCK1(mock_notification_list_get_next, notification_list_get_next, notification_list_h(notification_list_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
-DECLARE_FUNCTION_MOCK0(mock_sched_yield, sched_yield, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sched.h
-DECLARE_FUNCTION_MOCK1(mock_sem_destroy, sem_destroy, int(sem_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
-DECLARE_FUNCTION_MOCK3(mock_sem_init, sem_init, int(sem_t *, int, unsigned int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
-DECLARE_FUNCTION_MOCK1(mock_sem_post, sem_post, int(sem_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
-DECLARE_FUNCTION_MOCK1(mock_sem_wait, sem_wait, int(sem_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
-DECLARE_FUNCTION_MOCK3(mock_setenv, setenv, int(const char *, const char *, int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK3(mock_sigaction, sigaction, int(int, const struct sigaction *, struct sigaction *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
-DECLARE_FUNCTION_MOCK2(mock_sigaltstack, sigaltstack, int(const struct sigaltstack *, struct sigaltstack *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
-DECLARE_FUNCTION_MOCK1(mock_sigemptyset, sigemptyset, int(sigset_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
-DECLARE_FUNCTION_MOCK2(mock_strcmp, strcmp, int(const char *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK1(mock_strdup, strdup, char *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK4(mock_strftime, strftime, size_t(char *, size_t, const char *, const struct tm *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
-DECLARE_FUNCTION_MOCK3(mock_strncat, strncat, char *(char *, const char *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK3(mock_strncmp, strncmp, int(const char *, const char *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK3(mock_strncpy, strncpy, char *(char *, const char *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK2(mock_strnlen, strnlen, size_t(const char *, size_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
-DECLARE_FUNCTION_MOCK0(mock_tel_get_cp_name_list, tel_get_cp_name_list, char **()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
-DECLARE_FUNCTION_MOCK3(mock_tel_get_property_int, tel_get_property_int, int(TapiHandle *, const char *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
-DECLARE_FUNCTION_MOCK1(mock_tel_init, tel_init, TapiHandle *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
-DECLARE_FUNCTION_MOCK1(mock_time, time, time_t(time_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
-DECLARE_FUNCTION_MOCK6(mock_tts_add_text, tts_add_text, int(tts_h, const char *, const char *, int, int, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_create, tts_create, int(tts_h *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_destroy, tts_destroy, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK3(mock_tts_foreach_supported_voices, tts_foreach_supported_voices, int(tts_h, tts_supported_voice_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_get_state, tts_get_state, int(tts_h, tts_state_e *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_pause, tts_pause, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_play, tts_play, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_prepare, tts_prepare, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_set_mode, tts_set_mode, int(tts_h, tts_mode_e)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK3(mock_tts_set_state_changed_cb, tts_set_state_changed_cb, int(tts_h, tts_state_changed_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK3(mock_tts_set_utterance_completed_cb, tts_set_utterance_completed_cb, int(tts_h, tts_utterance_completed_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK3(mock_tts_set_utterance_started_cb, tts_set_utterance_started_cb, int(tts_h, tts_utterance_started_cb, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_stop, tts_stop, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_unprepare, tts_unprepare, int(tts_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
-DECLARE_FUNCTION_MOCK0(mock_ui_app_exit, ui_app_exit, void()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/appfw/app.h
-DECLARE_FUNCTION_MOCK1(mock_unsetenv, unsetenv, int(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
-DECLARE_FUNCTION_MOCK2(mock_vconf_get_bool, vconf_get_bool, int(const char *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK2(mock_vconf_get_int, vconf_get_int, int(const char *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK1(mock_vconf_get_str, vconf_get_str, char *(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK2(mock_vconf_ignore_key_changed, vconf_ignore_key_changed, int(const char *, vconf_callback_fn)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK1(mock_vconf_keylist_free, vconf_keylist_free, int(keylist_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK1(mock_vconf_keynode_get_bool, vconf_keynode_get_bool, int(keynode_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK1(mock_vconf_keynode_get_str, vconf_keynode_get_str, char *(keynode_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK3(mock_vconf_notify_key_changed, vconf_notify_key_changed, int(const char *, vconf_callback_fn, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK1(mock_vconf_set, vconf_set, int(keylist_t *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
-DECLARE_FUNCTION_MOCK5(mock_wav_player_start, wav_player_start, int(const char *, sound_type_e, wav_player_playback_completed_cb, void *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/media/wav_player.h
-DECLARE_FUNCTION_MOCK1(mock_wifi_ap_destroy, wifi_ap_destroy, int(wifi_ap_h)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK2(mock_wifi_ap_get_rssi, wifi_ap_get_rssi, int(wifi_ap_h, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK0(mock_wifi_deinitialize, wifi_deinitialize, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK1(mock_wifi_get_connected_ap, wifi_get_connected_ap, int(wifi_ap_h *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK0(mock_wifi_initialize, wifi_initialize, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK1(mock_wifi_is_activated, wifi_is_activated, int(_Bool *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
-DECLARE_FUNCTION_MOCK3(mock_wl_proxy_add_listener, wl_proxy_add_listener, int(struct wl_proxy *, void (**)(void), void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
-DECLARE_FUNCTION_MOCK1(mock_wl_proxy_destroy, wl_proxy_destroy, void(struct wl_proxy *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
-DECLARE_FUNCTION_MOCK1(mock_wl_proxy_get_user_data, wl_proxy_get_user_data, void *(struct wl_proxy *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
-DECLARE_FUNCTION_MOCK1(mock_wl_proxy_get_version, wl_proxy_get_version, uint32_t(struct wl_proxy *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
-DECLARE_FUNCTION_MOCK2(mock_wl_proxy_set_user_data, wl_proxy_set_user_data, void(struct wl_proxy *, void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
+DECLARE_FUNCTION_MOCK1(mock__Exit, _Exit, void(int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
+DECLARE_FUNCTION_MOCK4(mock__eina_crc, _eina_crc, unsigned int(const char *, int, unsigned int, Eina_Bool)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_crc.x
+DECLARE_FUNCTION_MOCK4(mock__eina_unicode_utf8_next_get, _eina_unicode_utf8_next_get, Eina_Unicode(int, unsigned char, const char *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_unicode.x
+DECLARE_FUNCTION_MOCK1(mock_abs, abs, int(int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
+DECLARE_FUNCTION_MOCK4(mock_appcore_efl_main, appcore_efl_main, int(const char *, int *, char ***, struct appcore_ops *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/appcore/appcore-efl.h
+DECLARE_FUNCTION_MOCK1(mock_atoi, atoi, int(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_action_iface, atspi_accessible_get_action_iface, AtspiAction *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_attributes, atspi_accessible_get_attributes, GHashTable *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_accessible_get_child_at_index, atspi_accessible_get_child_at_index, AtspiAccessible *(AtspiAccessible *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_child_count, atspi_accessible_get_child_count, gint(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_collection_iface, atspi_accessible_get_collection_iface, AtspiCollection *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_component_iface, atspi_accessible_get_component_iface, AtspiComponent *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_description, atspi_accessible_get_description, gchar *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_editable_text_iface, atspi_accessible_get_editable_text_iface, AtspiEditableText *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_index_in_parent, atspi_accessible_get_index_in_parent, gint(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_interfaces, atspi_accessible_get_interfaces, GArray *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_localized_role_name, atspi_accessible_get_localized_role_name, gchar *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_name, atspi_accessible_get_name, gchar *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_object_locale, atspi_accessible_get_object_locale, const gchar *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_parent, atspi_accessible_get_parent, AtspiAccessible *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_relation_set, atspi_accessible_get_relation_set, GArray *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_role, atspi_accessible_get_role, AtspiRole(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_accessible_get_role_name, atspi_accessible_get_role_name, gchar *(AtspiAccessible *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_selection, atspi_accessible_get_selection, AtspiSelection *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_selection_iface, atspi_accessible_get_selection_iface, AtspiSelection *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_state_set, atspi_accessible_get_state_set, AtspiStateSet *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_text_iface, atspi_accessible_get_text_iface, AtspiText *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_accessible_get_value_iface, atspi_accessible_get_value_iface, AtspiValue *(AtspiAccessible *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-accessible.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_action_do_action, atspi_action_do_action, gboolean(AtspiAction *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_action_get_action_name, atspi_action_get_action_name, gchar *(AtspiAction *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_action_get_n_actions, atspi_action_get_n_actions, gint(AtspiAction *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_action_get_name, atspi_action_get_name, gchar *(AtspiAction *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-action.h
+DECLARE_FUNCTION_MOCK6(mock_atspi_collection_get_matches, atspi_collection_get_matches, GArray *(AtspiCollection *, AtspiMatchRule *, AtspiCollectionSortOrder, gint, gboolean, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-collection.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_component_clear_highlight, atspi_component_clear_highlight, gboolean(AtspiComponent *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK5(mock_atspi_component_contains, atspi_component_contains, gboolean(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK5(mock_atspi_component_get_accessible_at_point, atspi_component_get_accessible_at_point, AtspiAccessible *(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_component_get_extents, atspi_component_get_extents, AtspiRect *(AtspiComponent *, AtspiCoordType, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_component_get_highlight_index, atspi_component_get_highlight_index, int(AtspiComponent *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK0(mock_atspi_component_get_type, atspi_component_get_type, GType()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_component_grab_focus, atspi_component_grab_focus, gboolean(AtspiComponent *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_component_grab_highlight, atspi_component_grab_highlight, gboolean(AtspiComponent *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-component.h
+DECLARE_FUNCTION_MOCK5(mock_atspi_deregister_keystroke_listener, atspi_deregister_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-registry.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_device_listener_new, atspi_device_listener_new, AtspiDeviceListener *(AtspiDeviceListenerCB, void *, GDestroyNotify)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-device-listener.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_deregister, atspi_event_listener_deregister, gboolean(AtspiEventListener *, const gchar *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_new, atspi_event_listener_new, AtspiEventListener *(AtspiEventListenerCB, gpointer, GDestroyNotify)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_event_listener_new_simple, atspi_event_listener_new_simple, AtspiEventListener *(AtspiEventListenerSimpleCB, GDestroyNotify)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_event_listener_register, atspi_event_listener_register, gboolean(AtspiEventListener *, const gchar *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-event-listener.h
+DECLARE_FUNCTION_MOCK0(mock_atspi_exit, atspi_exit, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-misc.h
+DECLARE_FUNCTION_MOCK0(mock_atspi_init, atspi_init, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-misc.h
+DECLARE_FUNCTION_MOCK9(mock_atspi_match_rule_new, atspi_match_rule_new, AtspiMatchRule *(AtspiStateSet *, AtspiCollectionMatchType, GHashTable *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, gboolean)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-matchrule.h
+DECLARE_FUNCTION_MOCK6(mock_atspi_register_keystroke_listener, atspi_register_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, AtspiKeyListenerSyncType, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-registry.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_relation_get_n_targets, atspi_relation_get_n_targets, gint(AtspiRelation *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_relation_get_relation_type, atspi_relation_get_relation_type, AtspiRelationType(AtspiRelation *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_relation_get_target, atspi_relation_get_target, AtspiAccessible *(AtspiRelation *, gint)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-relation.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_selection_deselect_child, atspi_selection_deselect_child, gboolean(AtspiSelection *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_selection_get_n_selected_children, atspi_selection_get_n_selected_children, gint(AtspiSelection *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_selection_is_child_selected, atspi_selection_is_child_selected, gboolean(AtspiSelection *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_selection_select_child, atspi_selection_select_child, gboolean(AtspiSelection *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-selection.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_state_set_add, atspi_state_set_add, void(AtspiStateSet *, AtspiStateType)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_state_set_contains, atspi_state_set_contains, gboolean(AtspiStateSet *, AtspiStateType)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_state_set_get_states, atspi_state_set_get_states, GArray *(AtspiStateSet *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
+DECLARE_FUNCTION_MOCK1(mock_atspi_state_set_new, atspi_state_set_new, AtspiStateSet *(GArray *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-stateset.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_text_get_caret_offset, atspi_text_get_caret_offset, gint(AtspiText *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_text_get_character_count, atspi_text_get_character_count, gint(AtspiText *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
+DECLARE_FUNCTION_MOCK4(mock_atspi_text_get_text, atspi_text_get_text, gchar *(AtspiText *, gint, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_text_set_caret_offset, atspi_text_set_caret_offset, gboolean(AtspiText *, gint, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-text.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_current_value, atspi_value_get_current_value, gdouble(AtspiValue *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_maximum_value, atspi_value_get_maximum_value, gdouble(AtspiValue *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_minimum_increment, atspi_value_get_minimum_increment, gdouble(AtspiValue *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
+DECLARE_FUNCTION_MOCK2(mock_atspi_value_get_minimum_value, atspi_value_get_minimum_value, gdouble(AtspiValue *, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
+DECLARE_FUNCTION_MOCK3(mock_atspi_value_set_current_value, atspi_value_set_current_value, gboolean(AtspiValue *, gdouble, GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/at-spi-2.0/atspi/atspi-value.h
+DECLARE_FUNCTION_MOCK2(mock_backtrace, backtrace, int(void **, int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/execinfo.h
+DECLARE_FUNCTION_MOCK2(mock_backtrace_symbols, backtrace_symbols, char **(void *const *, int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/execinfo.h
+DECLARE_FUNCTION_MOCK2(mock_bt_adapter_foreach_bonded_device, bt_adapter_foreach_bonded_device, int(bt_adapter_bonded_device_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
+DECLARE_FUNCTION_MOCK1(mock_bt_adapter_get_state, bt_adapter_get_state, int(bt_adapter_state_e *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
+DECLARE_FUNCTION_MOCK0(mock_bt_deinitialize, bt_deinitialize, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
+DECLARE_FUNCTION_MOCK0(mock_bt_initialize, bt_initialize, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/bluetooth.h
+DECLARE_FUNCTION_MOCK2(mock_clock_gettime, clock_gettime, int(clockid_t, struct timespec *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
+DECLARE_FUNCTION_MOCK3(mock_device_add_callback, device_add_callback, int(device_callback_e, device_changed_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/callback.h
+DECLARE_FUNCTION_MOCK1(mock_device_battery_get_level_status, device_battery_get_level_status, int(device_battery_level_e *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
+DECLARE_FUNCTION_MOCK1(mock_device_battery_get_percent, device_battery_get_percent, int(int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
+DECLARE_FUNCTION_MOCK1(mock_device_battery_is_charging, device_battery_is_charging, int(_Bool *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/battery.h
+DECLARE_FUNCTION_MOCK1(mock_device_display_get_state, device_display_get_state, int(display_state_e *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/display.h
+DECLARE_FUNCTION_MOCK1(mock_device_haptic_close, device_haptic_close, int(haptic_device_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
+DECLARE_FUNCTION_MOCK1(mock_device_haptic_get_count, device_haptic_get_count, int(int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
+DECLARE_FUNCTION_MOCK2(mock_device_haptic_open, device_haptic_open, int(int, haptic_device_h *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
+DECLARE_FUNCTION_MOCK4(mock_device_haptic_vibrate, device_haptic_vibrate, int(haptic_device_h, int, int, haptic_effect_h *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/haptic.h
+DECLARE_FUNCTION_MOCK2(mock_device_remove_callback, device_remove_callback, int(device_callback_e, device_changed_cb)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/device/callback.h
+DECLARE_FUNCTION_MOCK0(mock_ecore_time_get, ecore_time_get, double()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Common.h
+DECLARE_FUNCTION_MOCK3(mock_ecore_timer_add, ecore_timer_add, Ecore_Timer *(double, Ecore_Task_Cb, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Legacy.h
+DECLARE_FUNCTION_MOCK1(mock_ecore_timer_del, ecore_timer_del, void *(Ecore_Timer *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Legacy.h
+DECLARE_FUNCTION_MOCK1(mock_eina_array_grow, eina_array_grow, Eina_Bool(Eina_Array *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_array.x
+DECLARE_FUNCTION_MOCK3(mock_eina_hash_add, eina_hash_add, Eina_Bool(Eina_Hash *, const void *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
+DECLARE_FUNCTION_MOCK2(mock_eina_hash_del_by_key, eina_hash_del_by_key, Eina_Bool(Eina_Hash *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
+DECLARE_FUNCTION_MOCK2(mock_eina_hash_find, eina_hash_find, void *(const Eina_Hash *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
+DECLARE_FUNCTION_MOCK1(mock_eina_hash_population, eina_hash_population, int(const Eina_Hash *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_hash.h
+DECLARE_FUNCTION_MOCK3(mock_eina_inarray_alloc_at, eina_inarray_alloc_at, void *(Eina_Inarray *, unsigned int, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
+DECLARE_FUNCTION_MOCK1(mock_eina_inarray_count, eina_inarray_count, unsigned int(const Eina_Inarray *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
+DECLARE_FUNCTION_MOCK2(mock_eina_inarray_nth, eina_inarray_nth, void *(const Eina_Inarray *, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
+DECLARE_FUNCTION_MOCK2(mock_eina_inarray_remove_at, eina_inarray_remove_at, Eina_Bool(Eina_Inarray *, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inarray.h
+DECLARE_FUNCTION_MOCK2(mock_eina_list_append, eina_list_append, Eina_List *(Eina_List *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK3(mock_eina_list_append_relative_list, eina_list_append_relative_list, Eina_List *(Eina_List *, const void *, Eina_List *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK2(mock_eina_list_nth_list, eina_list_nth_list, Eina_List *(const Eina_List *, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK2(mock_eina_list_prepend, eina_list_prepend, Eina_List *(Eina_List *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK2(mock_eina_list_remove, eina_list_remove, Eina_List *(Eina_List *, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK2(mock_eina_list_remove_list, eina_list_remove_list, Eina_List *(Eina_List *, Eina_List *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_list.h
+DECLARE_FUNCTION_MOCK0(mock_eina_log_color_disable_get, eina_log_color_disable_get, Eina_Bool()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
+DECLARE_FUNCTION_MOCK1(mock_eina_log_domain_registered_level_get, eina_log_domain_registered_level_get, int(int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
+DECLARE_FUNCTION_MOCK0(mock_eina_log_level_get, eina_log_level_get, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_log.h
+DECLARE_FUNCTION_MOCK7(mock_eina_str_join_len, eina_str_join_len, size_t(char *, size_t, char, const char *, size_t, const char *, size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_str.h
+DECLARE_FUNCTION_MOCK4(mock_eina_str_split_full, eina_str_split_full, char **(const char *, const char *, int, unsigned int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_str.h
+DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_free, eina_strbuf_free, void(Eina_Strbuf *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
+DECLARE_FUNCTION_MOCK0(mock_eina_strbuf_new, eina_strbuf_new, Eina_Strbuf *()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
+DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_string_free, eina_strbuf_string_free, void(Eina_Strbuf *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
+DECLARE_FUNCTION_MOCK1(mock_eina_strbuf_string_steal, eina_strbuf_string_steal, char *(Eina_Strbuf *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_strbuf.h
+DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_add, eina_stringshare_add, Eina_Stringshare *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
+DECLARE_FUNCTION_MOCK2(mock_eina_stringshare_add_length, eina_stringshare_add_length, Eina_Stringshare *(const char *, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
+DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_del, eina_stringshare_del, void(Eina_Stringshare *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
+DECLARE_FUNCTION_MOCK1(mock_eina_stringshare_ref, eina_stringshare_ref, Eina_Stringshare *(Eina_Stringshare *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_stringshare.h
+DECLARE_FUNCTION_MOCK2(mock_eina_unicode_unicode_to_utf8, eina_unicode_unicode_to_utf8, char *(const Eina_Unicode *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_unicode.h
+DECLARE_FUNCTION_MOCK1(mock_eina_ustringshare_add, eina_ustringshare_add, const Eina_Unicode *(const Eina_Unicode *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
+DECLARE_FUNCTION_MOCK2(mock_eina_ustringshare_add_length, eina_ustringshare_add_length, const Eina_Unicode *(const Eina_Unicode *, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
+DECLARE_FUNCTION_MOCK1(mock_eina_ustringshare_del, eina_ustringshare_del, void(const Eina_Unicode *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_ustringshare.h
+DECLARE_FUNCTION_MOCK2(mock_eina_value_copy, eina_value_copy, Eina_Bool(const Eina_Value *, Eina_Value *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
+DECLARE_FUNCTION_MOCK1(mock_eina_value_inner_alloc, eina_value_inner_alloc, void *(size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
+DECLARE_FUNCTION_MOCK2(mock_eina_value_inner_free, eina_value_inner_free, void(size_t, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
+DECLARE_FUNCTION_MOCK1(mock_eina_value_new, eina_value_new, Eina_Value *(const Eina_Value_Type *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
+DECLARE_FUNCTION_MOCK2(mock_eina_value_struct_member_find, eina_value_struct_member_find, const Eina_Value_Struct_Member *(const Eina_Value_Struct *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_inline_value.x
+DECLARE_FUNCTION_MOCK1(mock_eina_value_type_check, eina_value_type_check, Eina_Bool(const Eina_Value_Type *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eina-1/eina/eina_value.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_address_connection_get, eldbus_address_connection_get, Eldbus_Connection *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_connection_get, eldbus_connection_get, Eldbus_Connection *(Eldbus_Connection_Type)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
+DECLARE_FUNCTION_MOCK5(mock_eldbus_connection_send, eldbus_connection_send, Eldbus_Pending *(Eldbus_Connection *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_connection_unref, eldbus_connection_unref, void(Eldbus_Connection *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_connection.h
+DECLARE_FUNCTION_MOCK0(mock_eldbus_init, eldbus_init, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/Eldbus.h
+DECLARE_FUNCTION_MOCK3(mock_eldbus_message_error_get, eldbus_message_error_get, Eina_Bool(const Eldbus_Message *, const char **, const char **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK2(mock_eldbus_message_iter_container_close, eldbus_message_iter_container_close, Eina_Bool(Eldbus_Message_Iter *, Eldbus_Message_Iter *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK3(mock_eldbus_message_iter_container_new, eldbus_message_iter_container_new, Eldbus_Message_Iter *(Eldbus_Message_Iter *, int, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_message_iter_get, eldbus_message_iter_get, Eldbus_Message_Iter *(const Eldbus_Message *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK4(mock_eldbus_message_method_call_new, eldbus_message_method_call_new, Eldbus_Message *(const char *, const char *, const char *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_message_method_return_new, eldbus_message_method_return_new, Eldbus_Message *(const Eldbus_Message *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_message_ref, eldbus_message_ref, Eldbus_Message *(Eldbus_Message *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_message_unref, eldbus_message_unref, void(Eldbus_Message *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.h
+DECLARE_FUNCTION_MOCK4(mock_eldbus_name_release, eldbus_name_release, Eldbus_Pending *(Eldbus_Connection *, const char *, Eldbus_Message_Cb, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_freedesktop.h
+DECLARE_FUNCTION_MOCK5(mock_eldbus_name_request, eldbus_name_request, Eldbus_Pending *(Eldbus_Connection *, const char *, unsigned int, Eldbus_Message_Cb, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_freedesktop.h
+DECLARE_FUNCTION_MOCK3(mock_eldbus_object_get, eldbus_object_get, Eldbus_Object *(Eldbus_Connection *, const char *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_object.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_object_unref, eldbus_object_unref, void(Eldbus_Object *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_object.h
+DECLARE_FUNCTION_MOCK2(mock_eldbus_proxy_get, eldbus_proxy_get, Eldbus_Proxy *(Eldbus_Object *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
+DECLARE_FUNCTION_MOCK2(mock_eldbus_proxy_method_call_new, eldbus_proxy_method_call_new, Eldbus_Message *(Eldbus_Proxy *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
+DECLARE_FUNCTION_MOCK5(mock_eldbus_proxy_send, eldbus_proxy_send, Eldbus_Pending *(Eldbus_Proxy *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
+DECLARE_FUNCTION_MOCK4(mock_eldbus_proxy_signal_handler_add, eldbus_proxy_signal_handler_add, Eldbus_Signal_Handler *(Eldbus_Proxy *, const char *, Eldbus_Signal_Cb, const void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_proxy.h
+DECLARE_FUNCTION_MOCK3(mock_eldbus_service_interface_register, eldbus_service_interface_register, Eldbus_Service_Interface *(Eldbus_Connection *, const char *, const Eldbus_Service_Interface_Desc *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_service.h
+DECLARE_FUNCTION_MOCK1(mock_eldbus_service_object_unregister, eldbus_service_object_unregister, void(Eldbus_Service_Interface *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_service.h
+DECLARE_FUNCTION_MOCK0(mock_eldbus_shutdown, eldbus_shutdown, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/Eldbus.h
+DECLARE_FUNCTION_MOCK2(mock_elm_init, elm_init, int(int, char **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elm_general.h
+DECLARE_FUNCTION_MOCK6(mock_elm_naviframe_item_push, elm_naviframe_item_push, Elm_Object_Item *(Evas_Object *, const char *, Evas_Object *, Evas_Object *, Evas_Object *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elm_naviframe.eo.legacy.h
+DECLARE_FUNCTION_MOCK3(mock_elm_naviframe_item_title_enabled_set, elm_naviframe_item_title_enabled_set, void(Elm_Object_Item *, Eina_Bool, Eina_Bool)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/elementary-1/elc_naviframe_common.h
+DECLARE_FUNCTION_MOCK1(mock_fabs, fabs, double(double)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/bits/mathcalls.h
+DECLARE_FUNCTION_MOCK1(mock_fclose, fclose, int(FILE *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
+DECLARE_FUNCTION_MOCK2(mock_fopen, fopen, FILE *(const char *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
+DECLARE_FUNCTION_MOCK2(mock_fputs, fputs, int(const char *, FILE *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.h
+DECLARE_FUNCTION_MOCK3(mock_g_array_append_vals, g_array_append_vals, GArray *(GArray *, gconstpointer, guint)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK2(mock_g_array_free, g_array_free, gchar *(GArray *, gboolean)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK3(mock_g_array_new, g_array_new, GArray *(gboolean, gboolean, guint)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK2(mock_g_array_set_clear_func, g_array_set_clear_func, void(GArray *, GDestroyNotify)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK1(mock_g_array_unref, g_array_unref, void(GArray *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK1(mock_g_async_queue_unref, g_async_queue_unref, void(GAsyncQueue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gasyncqueue.h
+DECLARE_FUNCTION_MOCK1(mock_g_bookmark_file_free, g_bookmark_file_free, void(GBookmarkFile *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gbookmarkfile.h
+DECLARE_FUNCTION_MOCK1(mock_g_byte_array_unref, g_byte_array_unref, void(GByteArray *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK1(mock_g_bytes_unref, g_bytes_unref, void(GBytes *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gbytes.h
+DECLARE_FUNCTION_MOCK1(mock_g_checksum_free, g_checksum_free, void(GChecksum *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gchecksum.h
+DECLARE_FUNCTION_MOCK1(mock_g_clear_error, g_clear_error, void(GError **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gerror.h
+DECLARE_FUNCTION_MOCK1(mock_g_cond_clear, g_cond_clear, void(GCond *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
+DECLARE_FUNCTION_MOCK1(mock_g_date_time_unref, g_date_time_unref, void(GDateTime *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gdatetime.h
+DECLARE_FUNCTION_MOCK1(mock_g_dir_close, g_dir_close, void(GDir *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gdir.h
+DECLARE_FUNCTION_MOCK1(mock_g_error_free, g_error_free, void(GError *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gerror.h
+DECLARE_FUNCTION_MOCK1(mock_g_free, g_free, void(gpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmem.h
+DECLARE_FUNCTION_MOCK2(mock_g_hash_table_lookup, g_hash_table_lookup, gpointer(GHashTable *, gconstpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghash.h
+DECLARE_FUNCTION_MOCK1(mock_g_hash_table_unref, g_hash_table_unref, void(GHashTable *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghash.h
+DECLARE_FUNCTION_MOCK1(mock_g_hmac_unref, g_hmac_unref, void(GHmac *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/ghmac.h
+DECLARE_FUNCTION_MOCK1(mock_g_io_channel_unref, g_io_channel_unref, void(GIOChannel *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/giochannel.h
+DECLARE_FUNCTION_MOCK1(mock_g_key_file_unref, g_key_file_unref, void(GKeyFile *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gkeyfile.h
+DECLARE_FUNCTION_MOCK2(mock_g_list_delete_link, g_list_delete_link, GList *(GList *, GList *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
+DECLARE_FUNCTION_MOCK1(mock_g_list_free, g_list_free, void(GList *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
+DECLARE_FUNCTION_MOCK2(mock_g_list_free_full, g_list_free_full, void(GList *, GDestroyNotify)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
+DECLARE_FUNCTION_MOCK1(mock_g_list_length, g_list_length, guint(GList *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
+DECLARE_FUNCTION_MOCK2(mock_g_list_prepend, g_list_prepend, GList *(GList *, gpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/glist.h
+DECLARE_FUNCTION_MOCK4(mock_g_logv, g_logv, void(const gchar *, GLogLevelFlags, const gchar *, va_list)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmessages.h
+DECLARE_FUNCTION_MOCK1(mock_g_main_context_unref, g_main_context_unref, void(GMainContext *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
+DECLARE_FUNCTION_MOCK1(mock_g_main_loop_unref, g_main_loop_unref, void(GMainLoop *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
+DECLARE_FUNCTION_MOCK2(mock_g_malloc_n, g_malloc_n, gpointer(gsize, gsize)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmem.h
+DECLARE_FUNCTION_MOCK1(mock_g_mapped_file_unref, g_mapped_file_unref, void(GMappedFile *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmappedfile.h
+DECLARE_FUNCTION_MOCK1(mock_g_markup_parse_context_unref, g_markup_parse_context_unref, void(GMarkupParseContext *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmarkup.h
+DECLARE_FUNCTION_MOCK1(mock_g_match_info_unref, g_match_info_unref, void(GMatchInfo *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gregex.h
+DECLARE_FUNCTION_MOCK1(mock_g_mutex_clear, g_mutex_clear, void(GMutex *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
+DECLARE_FUNCTION_MOCK1(mock_g_mutex_lock, g_mutex_lock, void(GMutex *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
+DECLARE_FUNCTION_MOCK1(mock_g_mutex_unlock, g_mutex_unlock, void(GMutex *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
+DECLARE_FUNCTION_MOCK1(mock_g_node_destroy, g_node_destroy, void(GNode *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gnode.h
+DECLARE_FUNCTION_MOCK1(mock_g_object_ref, g_object_ref, gpointer(gpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gobject.h
+DECLARE_FUNCTION_MOCK1(mock_g_object_unref, g_object_unref, void(gpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gobject.h
+DECLARE_FUNCTION_MOCK1(mock_g_option_context_free, g_option_context_free, void(GOptionContext *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/goption.h
+DECLARE_FUNCTION_MOCK1(mock_g_option_group_unref, g_option_group_unref, void(GOptionGroup *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/goption.h
+DECLARE_FUNCTION_MOCK1(mock_g_pattern_spec_free, g_pattern_spec_free, void(GPatternSpec *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gpattern.h
+DECLARE_FUNCTION_MOCK1(mock_g_ptr_array_unref, g_ptr_array_unref, void(GPtrArray *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/garray.h
+DECLARE_FUNCTION_MOCK1(mock_g_queue_clear, g_queue_clear, void(GQueue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gqueue.h
+DECLARE_FUNCTION_MOCK1(mock_g_queue_free, g_queue_free, void(GQueue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gqueue.h
+DECLARE_FUNCTION_MOCK1(mock_g_rand_free, g_rand_free, void(GRand *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/grand.h
+DECLARE_FUNCTION_MOCK1(mock_g_regex_unref, g_regex_unref, void(GRegex *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gregex.h
+DECLARE_FUNCTION_MOCK1(mock_g_scanner_destroy, g_scanner_destroy, void(GScanner *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gscanner.h
+DECLARE_FUNCTION_MOCK1(mock_g_sequence_free, g_sequence_free, void(GSequence *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gsequence.h
+DECLARE_FUNCTION_MOCK1(mock_g_slist_free, g_slist_free, void(GSList *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gslist.h
+DECLARE_FUNCTION_MOCK1(mock_g_source_remove, g_source_remove, gboolean(guint)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
+DECLARE_FUNCTION_MOCK1(mock_g_source_unref, g_source_unref, void(GSource *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
+DECLARE_FUNCTION_MOCK1(mock_g_strfreev, g_strfreev, void(gchar **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstrfuncs.h
+DECLARE_FUNCTION_MOCK1(mock_g_string_chunk_free, g_string_chunk_free, void(GStringChunk *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstringchunk.h
+DECLARE_FUNCTION_MOCK3(mock_g_string_insert_c, g_string_insert_c, GString *(GString *, gssize, gchar)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gstring.h
+DECLARE_FUNCTION_MOCK1(mock_g_thread_unref, g_thread_unref, void(GThread *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gthread.h
+DECLARE_FUNCTION_MOCK1(mock_g_time_zone_unref, g_time_zone_unref, void(GTimeZone *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtimezone.h
+DECLARE_FUNCTION_MOCK3(mock_g_timeout_add, g_timeout_add, guint(guint, GSourceFunc, gpointer)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gmain.h
+DECLARE_FUNCTION_MOCK1(mock_g_timer_destroy, g_timer_destroy, void(GTimer *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtimer.h
+DECLARE_FUNCTION_MOCK1(mock_g_tree_unref, g_tree_unref, void(GTree *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gtree.h
+DECLARE_FUNCTION_MOCK2(mock_g_type_check_instance_is_a, g_type_check_instance_is_a, gboolean(GTypeInstance *, GType)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gtype.h
+DECLARE_FUNCTION_MOCK1(mock_g_value_get_boxed, g_value_get_boxed, gpointer(const GValue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gboxed.h
+DECLARE_FUNCTION_MOCK1(mock_g_value_get_string, g_value_get_string, const gchar *(const GValue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gvaluetypes.h
+DECLARE_FUNCTION_MOCK1(mock_g_value_unset, g_value_unset, void(GValue *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/gobject/gvalue.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_builder_clear, g_variant_builder_clear, void(GVariantBuilder *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_builder_unref, g_variant_builder_unref, void(GVariantBuilder *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_dict_clear, g_variant_dict_clear, void(GVariantDict *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_dict_unref, g_variant_dict_unref, void(GVariantDict *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_iter_free, g_variant_iter_free, void(GVariantIter *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_type_free, g_variant_type_free, void(GVariantType *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvarianttype.h
+DECLARE_FUNCTION_MOCK1(mock_g_variant_unref, g_variant_unref, void(GVariant *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/glib-2.0/glib/gvariant.h
+DECLARE_FUNCTION_MOCK0(mock_getpid, getpid, __pid_t()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/unistd.h
+DECLARE_FUNCTION_MOCK1(mock_gettext, gettext, char *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/libintl.h
+DECLARE_FUNCTION_MOCK2(mock_gettimeofday, gettimeofday, int(struct timeval *, __timezone_ptr_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sys/time.h
+DECLARE_FUNCTION_MOCK1(mock_localtime, localtime, struct tm *(const time_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
+DECLARE_FUNCTION_MOCK2(mock_lstat, lstat, int(const char *, struct stat *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sys/stat.h
+DECLARE_FUNCTION_MOCK1(mock_notification_free_list, notification_free_list, int(notification_list_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
+DECLARE_FUNCTION_MOCK3(mock_notification_get_list, notification_get_list, int(notification_type_e, int, notification_list_h *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
+DECLARE_FUNCTION_MOCK3(mock_notification_get_text, notification_get_text, int(notification_h, notification_text_type_e, char **)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification.h
+DECLARE_FUNCTION_MOCK1(mock_notification_list_get_data, notification_list_get_data, notification_h(notification_list_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
+DECLARE_FUNCTION_MOCK1(mock_notification_list_get_head, notification_list_get_head, notification_list_h(notification_list_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
+DECLARE_FUNCTION_MOCK1(mock_notification_list_get_next, notification_list_get_next, notification_list_h(notification_list_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/notification/notification_list.h
+DECLARE_FUNCTION_MOCK0(mock_sched_yield, sched_yield, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/sched.h
+DECLARE_FUNCTION_MOCK1(mock_sem_destroy, sem_destroy, int(sem_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
+DECLARE_FUNCTION_MOCK3(mock_sem_init, sem_init, int(sem_t *, int, unsigned int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
+DECLARE_FUNCTION_MOCK1(mock_sem_post, sem_post, int(sem_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
+DECLARE_FUNCTION_MOCK1(mock_sem_wait, sem_wait, int(sem_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/semaphore.h
+DECLARE_FUNCTION_MOCK3(mock_setenv, setenv, int(const char *, const char *, int)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
+DECLARE_FUNCTION_MOCK3(mock_sigaction, sigaction, int(int, const struct sigaction *, struct sigaction *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
+DECLARE_FUNCTION_MOCK2(mock_sigaltstack, sigaltstack, int(const struct sigaltstack *, struct sigaltstack *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
+DECLARE_FUNCTION_MOCK1(mock_sigemptyset, sigemptyset, int(sigset_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/signal.h
+DECLARE_FUNCTION_MOCK2(mock_strcmp, strcmp, int(const char *, const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK1(mock_strdup, strdup, char *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK4(mock_strftime, strftime, size_t(char *, size_t, const char *, const struct tm *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
+DECLARE_FUNCTION_MOCK3(mock_strncat, strncat, char *(char *, const char *, size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK3(mock_strncmp, strncmp, int(const char *, const char *, size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK3(mock_strncpy, strncpy, char *(char *, const char *, size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK2(mock_strnlen, strnlen, size_t(const char *, size_t)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/string.h
+DECLARE_FUNCTION_MOCK0(mock_tel_get_cp_name_list, tel_get_cp_name_list, char **()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
+DECLARE_FUNCTION_MOCK3(mock_tel_get_property_int, tel_get_property_int, int(TapiHandle *, const char *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
+DECLARE_FUNCTION_MOCK1(mock_tel_init, tel_init, TapiHandle *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/telephony-client/tapi_common.h
+DECLARE_FUNCTION_MOCK1(mock_time, time, time_t(time_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/time.h
+DECLARE_FUNCTION_MOCK6(mock_tts_add_text, tts_add_text, int(tts_h, const char *, const char *, int, int, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_create, tts_create, int(tts_h *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_destroy, tts_destroy, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_foreach_supported_voices, tts_foreach_supported_voices, int(tts_h, tts_supported_voice_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK2(mock_tts_get_state, tts_get_state, int(tts_h, tts_state_e *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause, tts_pause, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_play, tts_play, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_prepare, tts_prepare, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK2(mock_tts_set_mode, tts_set_mode, int(tts_h, tts_mode_e)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_set_state_changed_cb, tts_set_state_changed_cb, int(tts_h, tts_state_changed_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_set_utterance_completed_cb, tts_set_utterance_completed_cb, int(tts_h, tts_utterance_completed_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_set_utterance_started_cb, tts_set_utterance_started_cb, int(tts_h, tts_utterance_started_cb, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop, tts_stop, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_unprepare, tts_unprepare, int(tts_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/tts.h
+DECLARE_FUNCTION_MOCK0(mock_ui_app_exit, ui_app_exit, void()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/appfw/app.h
+DECLARE_FUNCTION_MOCK1(mock_unsetenv, unsetenv, int(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdlib.h
+DECLARE_FUNCTION_MOCK2(mock_vconf_get_bool, vconf_get_bool, int(const char *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK2(mock_vconf_get_int, vconf_get_int, int(const char *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_get_str, vconf_get_str, char *(const char *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK2(mock_vconf_ignore_key_changed, vconf_ignore_key_changed, int(const char *, vconf_callback_fn)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_keylist_free, vconf_keylist_free, int(keylist_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_keynode_get_bool, vconf_keynode_get_bool, int(keynode_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_keynode_get_str, vconf_keynode_get_str, char *(keynode_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK3(mock_vconf_notify_key_changed, vconf_notify_key_changed, int(const char *, vconf_callback_fn, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_set, vconf_set, int(keylist_t *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/vconf/vconf.h
+DECLARE_FUNCTION_MOCK5(mock_wav_player_start, wav_player_start, int(const char *, sound_type_e, wav_player_playback_completed_cb, void *, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/media/wav_player.h
+DECLARE_FUNCTION_MOCK1(mock_wifi_ap_destroy, wifi_ap_destroy, int(wifi_ap_h)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK2(mock_wifi_ap_get_rssi, wifi_ap_get_rssi, int(wifi_ap_h, int *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK0(mock_wifi_deinitialize, wifi_deinitialize, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK1(mock_wifi_get_connected_ap, wifi_get_connected_ap, int(wifi_ap_h *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK0(mock_wifi_initialize, wifi_initialize, int()); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK1(mock_wifi_is_activated, wifi_is_activated, int(_Bool *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/network/wifi.h
+DECLARE_FUNCTION_MOCK3(mock_wl_proxy_add_listener, wl_proxy_add_listener, int(struct wl_proxy *, void (**)(void), void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
+DECLARE_FUNCTION_MOCK1(mock_wl_proxy_destroy, wl_proxy_destroy, void(struct wl_proxy *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
+DECLARE_FUNCTION_MOCK1(mock_wl_proxy_get_user_data, wl_proxy_get_user_data, void *(struct wl_proxy *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
+DECLARE_FUNCTION_MOCK1(mock_wl_proxy_get_version, wl_proxy_get_version, uint32_t(struct wl_proxy *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
+DECLARE_FUNCTION_MOCK2(mock_wl_proxy_set_user_data, wl_proxy_set_user_data, void(struct wl_proxy *, void *)); // /home/m.wachowicz/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h
IMPLEMENT_FUNCTION_MOCK4(mock__directional_depth_first_search, _directional_depth_first_search, AtspiAccessible *(AtspiAccessible *, AtspiAccessible *, int, Eina_Bool (*)(AtspiAccessible *)));
IMPLEMENT_FUNCTION_MOCK1(mock__first, _first, AtspiAccessible *(Flat_Navi_Context *));
-IMPLEMENT_FUNCTION_MOCK2(mock__get_child, _get_child, AtspiAccessible *(AtspiAccessible *, int));
IMPLEMENT_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock__last, _last, AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK2(mock__next, _next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock__object_has_modal_state, _object_has_modal_state, int(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK2(mock__prev, _prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *(AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *());
IMPLEMENT_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **));
-IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_current_children_count_visible_get, flat_navi_context_current_children_count_visible_get, int(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *));
-IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first_get, flat_navi_context_first_get, const AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int));
extern "C" AtspiAccessible * _directional_depth_first_search(AtspiAccessible * root, AtspiAccessible * start, int next_sibling_idx_modifier, Eina_Bool (*stop_condition)(AtspiAccessible *));
extern "C" AtspiAccessible * _first(Flat_Navi_Context * ctx);
-extern "C" AtspiAccessible * _get_child(AtspiAccessible * obj, int i);
extern "C" AtspiAccessible * _last(Flat_Navi_Context * ctx);
extern "C" AtspiAccessible * _next(Flat_Navi_Context * ctx, Screen_Reader_Vconf_Data_t * vconf_data);
extern "C" int _object_has_modal_state(AtspiAccessible * obj);
extern "C" AtspiAccessible * _prev(Flat_Navi_Context * ctx, Screen_Reader_Vconf_Data_t * vconf_data);
-extern "C" int flat_navi_context_current_children_count_visible_get(Flat_Navi_Context * ctx);
DECLARE_FUNCTION_MOCK4(mock__directional_depth_first_search, _directional_depth_first_search, AtspiAccessible *(AtspiAccessible *, AtspiAccessible *, int, Eina_Bool (*)(AtspiAccessible *))); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock__first, _first, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK2(mock__get_child, _get_child, AtspiAccessible *(AtspiAccessible *, int)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock__last, _last, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK2(mock__next, _next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock__object_has_modal_state, _object_has_modal_state, int(AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK2(mock__prev, _prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *(AtspiAccessible *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_children_count_visible_get, flat_navi_context_current_children_count_visible_get, int(Flat_Navi_Context *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *()); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first_get, flat_navi_context_first_get, const AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *()); // include/smart_notification.h
-DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // src/smart_notification.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // include/smart_notification.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int));
-IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *));
IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int));
IMPLEMENT_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int));
IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *));
IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *));
}
#include <cmock/cmock.h>
-struct _Keyboard_Tracker_Data;
+typedef struct _Keyboard_Tracker_Data Keyboard_Tracker_Data;
struct _Keyboard_Tracker_Data {
AtspiDeviceListener * listener;
AtspiDeviceListener * async_listener;
int prev_keyboard_state;
};
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // src/keyboard_tracker.c
+DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // src/keyboard_tracker.c
DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *()); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *)); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // include/window_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // src/window_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // src/window_tracker.c
DECLARE_FUNCTION_MOCK1(mock_window_tracker_top_win_get, window_tracker_top_win_get, AtspiAccessible *(Window_Tracker_Data *)); // include/window_tracker.h
#include "mocked_main.h"
-IMPLEMENT_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *));
+IMPLEMENT_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *));
IMPLEMENT_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *));
IMPLEMENT_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *());
IMPLEMENT_FUNCTION_MOCK1(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void(Reading_Adapter *));
-IMPLEMENT_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *));
+IMPLEMENT_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal));
IMPLEMENT_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int));
-IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *));
IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int));
IMPLEMENT_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int));
IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_main, main, int(int, char **));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_posix_print_stack_trace, posix_print_stack_trace, void(FILE *));
IMPLEMENT_FUNCTION_MOCK3(mock_posix_signal_handler, posix_signal_handler, void(int, siginfo_t *, void *));
IMPLEMENT_FUNCTION_MOCK3(mock_print_warning, print_warning, void(int, siginfo_t *, FILE *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_get, screen_reader_switch_enabled_get, Eina_Bool(Eina_Bool *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_set, screen_reader_switch_enabled_set, Eina_Bool(Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK0(mock_set_signal_handler, set_signal_handler, void());
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
-IMPLEMENT_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
#include <vconf.h>
#include <app.h>
#include "navigator.h"
-#include "screen_reader_gestures.h"
#include "keyboard_tracker.h"
#include "logger.h"
#include "screen_reader_switch.h"
extern "C" void posix_signal_handler(int sig, siginfo_t * siginfo, void * context);
extern "C" void print_warning(int sig, siginfo_t * siginfo, FILE * log_file);
extern "C" void set_signal_handler();
-DECLARE_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // include/screen_reader_gestures.h
-DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // src/dbus_direct_reading_adapter.c
+DECLARE_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // include/dbus_direct_reading_adapter.h
+DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // include/dbus_direct_reading_adapter.h
DECLARE_FUNCTION_MOCK1(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void(Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // include/dbus_direct_reading_adapter.h
+DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // src/keyboard_tracker.c
+DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // src/keyboard_tracker.c
DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *()); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // src/keyboard_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // include/keyboard_tracker.h
DECLARE_FUNCTION_MOCK2(mock_main, main, int(int, char **)); // src/main.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_posix_print_stack_trace, posix_print_stack_trace, void(FILE *)); // src/main.c
DECLARE_FUNCTION_MOCK3(mock_posix_signal_handler, posix_signal_handler, void(int, siginfo_t *, void *)); // src/main.c
DECLARE_FUNCTION_MOCK3(mock_print_warning, print_warning, void(int, siginfo_t *, FILE *)); // src/main.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_get, screen_reader_switch_enabled_get, Eina_Bool(Eina_Bool *)); // include/screen_reader_switch.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_set, screen_reader_switch_enabled_set, Eina_Bool(Eina_Bool)); // src/screen_reader_switch.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool)); // src/screen_reader_switch.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool)); // include/screen_reader_switch.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
DECLARE_FUNCTION_MOCK0(mock_set_signal_handler, set_signal_handler, void()); // src/main.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
IMPLEMENT_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture));
IMPLEMENT_FUNCTION_MOCK1(mock__get_main_window, _get_main_window, AtspiAction *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *));
IMPLEMENT_FUNCTION_MOCK3(mock_add_slider_description, add_slider_description, void(char *, uint, AtspiAccessible *));
-IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_callback_register, app_tracker_callback_register, void(AtspiAccessible *, AppTrackerEventCB, void *));
-IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_callback_unregister, app_tracker_callback_unregister, void(AtspiAccessible *, AppTrackerEventCB, void *));
-IMPLEMENT_FUNCTION_MOCK0(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *());
+IMPLEMENT_FUNCTION_MOCK3(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *(Service_Data *, AppTrackerEventCB, DefaultLabelCB));
IMPLEMENT_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB, App_Tracker_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_unregister, app_tracker_new_obj_highlighted_callback_unregister, void(AppTrackerEventCB, App_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK5(mock_auto_review_highlight_set, auto_review_highlight_set, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK5(mock_auto_review_highlight_top, auto_review_highlight_top, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_clear, clear, void(gpointer));
-IMPLEMENT_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *));
IMPLEMENT_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *());
IMPLEMENT_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *));
IMPLEMENT_FUNCTION_MOCK1(mock_device_missed_events_get, device_missed_events_get, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_device_signal_strenght_get, device_signal_strenght_get, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_device_time_get, device_time_get, void(Service_Data *));
-IMPLEMENT_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_activate, elm_access_adaptor_emit_activate, void(Ecore_Wl_Window *, int, int));
-IMPLEMENT_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_read, elm_access_adaptor_emit_read, void(Ecore_Wl_Window *, int, int));
-IMPLEMENT_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *(AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *());
IMPLEMENT_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *));
-IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first_get, flat_navi_context_first_get, const AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *));
+IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType));
IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_generate_description_trait, generate_description_trait, char *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_generate_role_trait, generate_role_trait, char *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_generate_state_trait, generate_state_trait, char *(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK3(mock_generate_text_for_relation_objects, generate_text_for_relation_objects, char *(AtspiAccessible *, AtspiRelationType, char *(*)(AtspiAccessible *)));
+IMPLEMENT_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_get_accuracy, get_accuracy, int(double, int));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int));
-IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *));
IMPLEMENT_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int));
IMPLEMENT_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int));
IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_navigator_gestures_tracker_register, navigator_gestures_tracker_register, void(GestureCB, void *));
+IMPLEMENT_FUNCTION_MOCK0(mock_navigator_create, navigator_create, Navigator_Data *());
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_destroy, navigator_destroy, void(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_gestures_tracker_register, navigator_gestures_tracker_register, void(Navigator_Data *, GestureCB, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_gestures_tracker_unregister, navigator_gestures_tracker_unregister, void(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int));
IMPLEMENT_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *));
-IMPLEMENT_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType));
IMPLEMENT_FUNCTION_MOCK1(mock_system_notifications_init, system_notifications_init, Screen_Reader_System_Data_t *(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_system_notifications_shutdown, system_notifications_shutdown, void(Screen_Reader_System_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_test_debug, test_debug, void(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *());
+IMPLEMENT_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *));
IMPLEMENT_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType));
-IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *));
IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *));
#include "screen_reader_system.h"
#include "screen_reader_haptic.h"
#include "screen_reader_tts.h"
-#include "screen_reader_gestures.h"
#include "dbus_gesture_adapter.h"
#include "elm_access_adapter.h"
}
#include <cmock/cmock.h>
-struct _Navigator_Data;
-struct point_t;
- struct point_t {
+typedef struct _Navigator_Data Navigator_Data;
+typedef struct point_t point_t;
+struct point_t {
int x;
int y;
};
point_t gesture_start_p;
point_t last_focus;
point_t last_pos;
+ point_t scroll_pos;
AtspiAccessible * current_obj;
AtspiComponent * current_comp;
AtspiAccessible * top_window;
int last_hover_event_time;
AtspiAccessible * focused_object;
_Bool auto_review_on;
+ Eldbus_Connection * connection;
+ Gesture_Info gi;
};
extern "C" AtspiAction * _get_main_window(Flat_Navi_Context * context);
extern "C" char * generate_state_trait(AtspiAccessible * obj);
extern "C" char * generate_text_for_relation_objects(AtspiAccessible * obj, AtspiRelationType search, char * (*text_generate_cb)(AtspiAccessible *));
extern "C" int get_accuracy(double val, int max_accuracy);
-extern "C" void navigator_gestures_tracker_register(GestureCB gesture_cb, void * data);
-extern "C" void test_debug(AtspiAccessible * current_widget);
-DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // include/dbus_gesture_adapter.h
+extern "C" Navigator_Data * navigator_create();
+extern "C" void navigator_destroy(Navigator_Data * nd);
+extern "C" void navigator_gestures_tracker_register(Navigator_Data * nd, GestureCB gesture_cb, void * data);
+extern "C" void navigator_gestures_tracker_unregister(Navigator_Data * nd);
+DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // src/dbus_gesture_adapter.c
DECLARE_FUNCTION_MOCK1(mock__get_main_window, _get_main_window, AtspiAction *(Flat_Navi_Context *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *)); // include/navigator.h
DECLARE_FUNCTION_MOCK3(mock_add_slider_description, add_slider_description, void(char *, uint, AtspiAccessible *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_register, app_tracker_callback_register, void(AtspiAccessible *, AppTrackerEventCB, void *)); // include/app_tracker.h
-DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_unregister, app_tracker_callback_unregister, void(AtspiAccessible *, AppTrackerEventCB, void *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK0(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *()); // src/app_tracker.c
+DECLARE_FUNCTION_MOCK3(mock_app_tracker_init, app_tracker_init, App_Tracker_Data *(Service_Data *, AppTrackerEventCB, DefaultLabelCB)); // src/app_tracker.c
DECLARE_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB, App_Tracker_Data *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK2(mock_app_tracker_new_obj_highlighted_callback_unregister, app_tracker_new_obj_highlighted_callback_unregister, void(AppTrackerEventCB, App_Tracker_Data *)); // src/app_tracker.c
-DECLARE_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *)); // include/app_tracker.h
+DECLARE_FUNCTION_MOCK1(mock_app_tracker_shutdown, app_tracker_shutdown, void(App_Tracker_Data *)); // src/app_tracker.c
DECLARE_FUNCTION_MOCK5(mock_auto_review_highlight_set, auto_review_highlight_set, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *)); // src/navigator.c
DECLARE_FUNCTION_MOCK5(mock_auto_review_highlight_top, auto_review_highlight_top, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_clear, clear, void(gpointer)); // src/navigator.c
-DECLARE_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // include/screen_reader_gestures.h
-DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // src/dbus_gesture_adapter.c
DECLARE_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *()); // include/dbus_gesture_adapter.h
-DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // src/dbus_gesture_adapter.c
-DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // include/screen_reader_utils.h
-DECLARE_FUNCTION_MOCK1(mock_device_battery_get, device_battery_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK1(mock_device_battery_get, device_battery_get, void(Service_Data *)); // src/screen_reader_system.c
DECLARE_FUNCTION_MOCK1(mock_device_bluetooth_get, device_bluetooth_get, void(Service_Data *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_device_date_get, device_date_get, void(Service_Data *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_device_missed_events_get, device_missed_events_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK1(mock_device_date_get, device_date_get, void(Service_Data *)); // src/screen_reader_system.c
+DECLARE_FUNCTION_MOCK1(mock_device_missed_events_get, device_missed_events_get, void(Service_Data *)); // src/screen_reader_system.c
DECLARE_FUNCTION_MOCK1(mock_device_signal_strenght_get, device_signal_strenght_get, void(Service_Data *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_device_time_get, device_time_get, void(Service_Data *)); // src/screen_reader_system.c
-DECLARE_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_activate, elm_access_adaptor_emit_activate, void(Ecore_Wl_Window *, int, int)); // src/elm_access_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_elm_access_adaptor_emit_read, elm_access_adaptor_emit_read, void(Ecore_Wl_Window *, int, int)); // include/elm_access_adapter.h
-DECLARE_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *(AtspiAccessible *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
-DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK1(mock_device_time_get, device_time_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK0(mock_flat_navi_context_create, flat_navi_context_create, Flat_Navi_Context *()); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(Flat_Navi_Context *, gint, gint, AtspiAccessible **)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first_get, flat_navi_context_first_get, const AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(Flat_Navi_Context *)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // include/flat_navi.h
-DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *)); // include/flat_navi.h
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(Flat_Navi_Context *, Screen_Reader_Vconf_Data_t *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(Flat_Navi_Context *)); // src/flat_navi.c
+DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_setup, flat_navi_context_setup, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType)); // include/flat_navi.h
DECLARE_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(Flat_Navi_Context *, AtspiAccessible *)); // src/flat_navi.c
DECLARE_FUNCTION_MOCK1(mock_generate_description_trait, generate_description_trait, char *(AtspiAccessible *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_generate_role_trait, generate_role_trait, char *(AtspiAccessible *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_generate_state_trait, generate_state_trait, char *(AtspiAccessible *)); // src/navigator.c
DECLARE_FUNCTION_MOCK3(mock_generate_text_for_relation_objects, generate_text_for_relation_objects, char *(AtspiAccessible *, AtspiRelationType, char *(*)(AtspiAccessible *))); // src/navigator.c
+DECLARE_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *)); // src/navigator.c
DECLARE_FUNCTION_MOCK2(mock_get_accuracy, get_accuracy, int(double, int)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *()); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *)); // include/screen_reader_haptic.h
-DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_get, keyboard_geometry_get, Eina_Bool(const Keyboard_Tracker_Data *, int *, int *, int *, int *)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK3(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(Service_Data *, int, int)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK5(mock_keyboard_geometry_set, keyboard_geometry_set, void(Keyboard_Tracker_Data *, int, int, int, int)); // src/keyboard_tracker.c
+DECLARE_FUNCTION_MOCK4(mock_keyboard_signal_emit, keyboard_signal_emit, void(Keyboard_Tracker_Data *, int, int, int)); // src/keyboard_tracker.c
DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, Keyboard_Tracker_Data *()); // include/keyboard_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // src/keyboard_tracker.c
-DECLARE_FUNCTION_MOCK2(mock_navigator_gestures_tracker_register, navigator_gestures_tracker_register, void(GestureCB, void *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // include/navigator.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void(Keyboard_Tracker_Data *)); // include/keyboard_tracker.h
+DECLARE_FUNCTION_MOCK0(mock_navigator_create, navigator_create, Navigator_Data *()); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_destroy, navigator_destroy, void(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK3(mock_navigator_gestures_tracker_register, navigator_gestures_tracker_register, void(Navigator_Data *, GestureCB, void *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_gestures_tracker_unregister, navigator_gestures_tracker_unregister, void(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *()); // include/smart_notification.h
-DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // src/smart_notification.c
-DECLARE_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_system_notifications_init, system_notifications_init, Screen_Reader_System_Data_t *(Service_Data *)); // src/screen_reader_system.c
+DECLARE_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK1(mock_system_notifications_init, system_notifications_init, Screen_Reader_System_Data_t *(Service_Data *)); // include/screen_reader_system.h
DECLARE_FUNCTION_MOCK1(mock_system_notifications_shutdown, system_notifications_shutdown, void(Screen_Reader_System_Data_t *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_test_debug, test_debug, void(AtspiAccessible *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // src/screen_reader_utils.c
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *)); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // include/window_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // src/window_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // src/window_tracker.c
DECLARE_FUNCTION_MOCK1(mock_window_tracker_top_win_get, window_tracker_top_win_get, AtspiAccessible *(Window_Tracker_Data *)); // include/window_tracker.h
#include "mocked_screen_reader.h"
IMPLEMENT_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture));
-IMPLEMENT_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *));
IMPLEMENT_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *());
IMPLEMENT_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *));
-IMPLEMENT_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *));
-IMPLEMENT_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
}
#include <cmock/cmock.h>
-DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // include/dbus_gesture_adapter.h
-DECLARE_FUNCTION_MOCK3(mock_continue_scroll, continue_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // include/screen_reader_gestures.h
-DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // include/dbus_gesture_adapter.h
+DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // src/dbus_gesture_adapter.c
+DECLARE_FUNCTION_MOCK2(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *, Gesture_Adapter *)); // src/dbus_gesture_adapter.c
DECLARE_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, Gesture_Adapter *()); // include/dbus_gesture_adapter.h
-DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // src/dbus_gesture_adapter.c
-DECLARE_FUNCTION_MOCK3(mock_end_scroll, end_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void(Gesture_Adapter *)); // include/dbus_gesture_adapter.h
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *)); // src/screen_reader_spi.c
-DECLARE_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *)); // src/screen_reader_spi.c
-DECLARE_FUNCTION_MOCK3(mock_start_scroll, start_scroll, void(int, int, Screen_Reader_Gestures_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
IMPLEMENT_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int));
}
#include <cmock/cmock.h>
-struct _screen_reader_haptic_data;
+typedef struct _screen_reader_haptic_data Haptic_Data;
struct _screen_reader_haptic_data {
haptic_device_h handle;
haptic_effect_h effect_handle;
};
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *()); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *)); // include/screen_reader_haptic.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *()); // include/smart_notification.h
-DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // src/smart_notification.c
+DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // include/smart_notification.h
#include "mocked_screen_reader_spi.h"
+IMPLEMENT_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *));
IMPLEMENT_FUNCTION_MOCK1(mock_allow_recursive_name, allow_recursive_name, _Bool(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock_generate_description_for_subtree, generate_description_for_subtree, char *(AtspiAccessible *));
+IMPLEMENT_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
}
#include <cmock/cmock.h>
-struct Screen_Reader_Spi_Data_s;
-struct Screen_Reader_Spi_Data_s {
- Eina_Bool ignore_next_caret_move;
- AtspiEventListener * spi_listener;
- AtspiAccessible * currently_focused;
- int last_caret_position;
-};
-
extern "C" _Bool allow_recursive_name(AtspiAccessible * obj);
extern "C" char * generate_description_for_subtree(AtspiAccessible * obj);
+DECLARE_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *)); // include/navigator.h
DECLARE_FUNCTION_MOCK1(mock_allow_recursive_name, allow_recursive_name, _Bool(AtspiAccessible *)); // src/screen_reader_spi.c
DECLARE_FUNCTION_MOCK1(mock_generate_description_for_subtree, generate_description_for_subtree, char *(AtspiAccessible *)); // src/screen_reader_spi.c
+DECLARE_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // include/navigator.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *)); // src/screen_reader_spi.c
-DECLARE_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *)); // src/screen_reader_spi.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
#include "mocked_screen_reader_switch.h"
-IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_get, screen_reader_switch_enabled_get, Eina_Bool(Eina_Bool *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_set, screen_reader_switch_enabled_set, Eina_Bool(Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool));
}
#include <cmock/cmock.h>
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_get, screen_reader_switch_enabled_get, Eina_Bool(Eina_Bool *)); // include/screen_reader_switch.h
DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_set, screen_reader_switch_enabled_set, Eina_Bool(Eina_Bool)); // src/screen_reader_switch.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool)); // src/screen_reader_switch.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_wm_enabled_set, screen_reader_switch_wm_enabled_set, Eina_Bool(Eina_Bool)); // include/screen_reader_switch.h
}
#include <cmock/cmock.h>
-struct Screen_Reader_System_Data_s;
+typedef struct Screen_Reader_System_Data_s Screen_Reader_System_Data_t;
struct Screen_Reader_System_Data_s {
TapiHandle * tapi_handle[3];
};
extern "C" char * device_error_to_string(int e);
-DECLARE_FUNCTION_MOCK1(mock_device_battery_get, device_battery_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK1(mock_device_battery_get, device_battery_get, void(Service_Data *)); // src/screen_reader_system.c
DECLARE_FUNCTION_MOCK1(mock_device_bluetooth_get, device_bluetooth_get, void(Service_Data *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_device_date_get, device_date_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK1(mock_device_date_get, device_date_get, void(Service_Data *)); // src/screen_reader_system.c
DECLARE_FUNCTION_MOCK1(mock_device_error_to_string, device_error_to_string, char *(int)); // src/screen_reader_system.c
-DECLARE_FUNCTION_MOCK1(mock_device_missed_events_get, device_missed_events_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK1(mock_device_missed_events_get, device_missed_events_get, void(Service_Data *)); // src/screen_reader_system.c
DECLARE_FUNCTION_MOCK1(mock_device_signal_strenght_get, device_signal_strenght_get, void(Service_Data *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK1(mock_device_time_get, device_time_get, void(Service_Data *)); // src/screen_reader_system.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_device_time_get, device_time_get, void(Service_Data *)); // include/screen_reader_system.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *()); // include/smart_notification.h
-DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // src/smart_notification.c
+DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_system_notifications_init, system_notifications_init, Screen_Reader_System_Data_t *(Service_Data *)); // src/screen_reader_system.c
+DECLARE_FUNCTION_MOCK1(mock_system_notifications_init, system_notifications_init, Screen_Reader_System_Data_t *(Service_Data *)); // include/screen_reader_system.h
DECLARE_FUNCTION_MOCK1(mock_system_notifications_shutdown, system_notifications_shutdown, void(Screen_Reader_System_Data_t *)); // include/screen_reader_system.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
IMPLEMENT_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *));
IMPLEMENT_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *());
IMPLEMENT_FUNCTION_MOCK1(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void(Reading_Adapter *));
+IMPLEMENT_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK4(mock_get_supported_voices_cb, get_supported_voices_cb, _Bool(tts_h, const char *, int, void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType));
IMPLEMENT_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool));
IMPLEMENT_FUNCTION_MOCK1(mock_update_supported_voices, update_supported_voices, Eina_Bool(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *());
+IMPLEMENT_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *));
+IMPLEMENT_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType));
#include <atspi/atspi.h>
#include "screen_reader_tts.h"
#include "screen_reader_vconf.h"
+#include "screen_reader_utils.h"
#include "dbus_direct_reading_adapter.h"
}
#include <cmock/cmock.h>
-struct Screen_Reader_Tts_Data_s;
+typedef struct Screen_Reader_Tts_Data_s Screen_Reader_Tts_Data_t;
struct Screen_Reader_Tts_Data_s {
Eina_Bool pause_state;
Eina_List * read_command_queue;
extern "C" Eina_Bool update_supported_voices(void * data);
DECLARE_FUNCTION_MOCK2(mock_can_be_discarded, can_be_discarded, Eina_Bool(Screen_Reader_Tts_Data_t *, const Read_Command *)); // src/screen_reader_tts.c
DECLARE_FUNCTION_MOCK2(mock_can_discard, can_discard, Eina_Bool(const Read_Command *, const Read_Command *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
-DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // src/dbus_direct_reading_adapter.c
+DECLARE_FUNCTION_MOCK3(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, const void *, Reading_Adapter *)); // include/dbus_direct_reading_adapter.h
+DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, Reading_Adapter *()); // include/dbus_direct_reading_adapter.h
DECLARE_FUNCTION_MOCK1(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void(Reading_Adapter *)); // src/dbus_direct_reading_adapter.c
+DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // src/dbus_direct_reading_adapter.c
+DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // include/dbus_direct_reading_adapter.h
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK4(mock_get_supported_voices_cb, get_supported_voices_cb, _Bool(tts_h, const char *, int, void *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK1(mock_update_supported_voices, update_supported_voices, Eina_Bool(void *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // include/screen_reader_utils.h
IMPLEMENT_FUNCTION_MOCK1(mock__debug_display_object_states, _debug_display_object_states, void(AtspiAccessible *));
IMPLEMENT_FUNCTION_MOCK1(mock__debug_display_rect_screen, _debug_display_rect_screen, void(AtspiComponent *));
IMPLEMENT_FUNCTION_MOCK1(mock__debug_display_win_screen, _debug_display_win_screen, void(AtspiComponent *));
-IMPLEMENT_FUNCTION_MOCK1(mock__state_to_char, _state_to_char, char *(AtspiStateType));
IMPLEMENT_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool));
+IMPLEMENT_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType));
+IMPLEMENT_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *));
IMPLEMENT_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType));
extern "C" void _debug_display_object_states(AtspiAccessible * obj);
extern "C" void _debug_display_rect_screen(AtspiComponent * comp);
extern "C" void _debug_display_win_screen(AtspiComponent * comp);
-extern "C" char * _state_to_char(AtspiStateType state);
DECLARE_FUNCTION_MOCK1(mock__debug_display_object_description, _debug_display_object_description, void(AtspiAccessible *)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock__debug_display_object_iface_values, _debug_display_object_iface_values, void(AtspiAccessible *)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock__debug_display_object_ifaces, _debug_display_object_ifaces, void(AtspiAccessible *)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock__debug_display_object_states, _debug_display_object_states, void(AtspiAccessible *)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock__debug_display_rect_screen, _debug_display_rect_screen, void(AtspiComponent *)); // src/screen_reader_utils.c
DECLARE_FUNCTION_MOCK1(mock__debug_display_win_screen, _debug_display_win_screen, void(AtspiComponent *)); // src/screen_reader_utils.c
-DECLARE_FUNCTION_MOCK1(mock__state_to_char, _state_to_char, char *(AtspiStateType)); // src/screen_reader_utils.c
-DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // include/screen_reader_utils.h
-DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_debug_display_info_about_object, debug_display_info_about_object, void(AtspiAccessible *, _Bool)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK1(mock_state_to_char, state_to_char, char *(AtspiStateType)); // include/screen_reader_utils.h
+DECLARE_FUNCTION_MOCK2(mock_widget_do_action, widget_do_action, Eina_Bool(AtspiAccessible *, char *)); // src/screen_reader_utils.c
+DECLARE_FUNCTION_MOCK2(mock_widget_has_state, widget_has_state, _Bool(AtspiAccessible *, AtspiStateType)); // include/screen_reader_utils.h
IMPLEMENT_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_keyboard_feedback, _set_vconf_key_changed_callback_reader_keyboard_feedback, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_sound_feedback, _set_vconf_key_changed_callback_reader_sound_feedback, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock__unset_vconf_callback, _unset_vconf_callback, int(const char *, vconf_callback_fn));
+IMPLEMENT_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *));
IMPLEMENT_FUNCTION_MOCK2(mock_display_language_cb, display_language_cb, void(keynode_t *, void *));
+IMPLEMENT_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_key_values, get_key_values, int(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *));
-IMPLEMENT_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_haptic_changed_cb, haptic_changed_cb, void(keynode_t *, void *));
IMPLEMENT_FUNCTION_MOCK2(mock_keyboard_feedback_cb, keyboard_feedback_cb, void(keynode_t *, void *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *));
+IMPLEMENT_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *));
IMPLEMENT_FUNCTION_MOCK2(mock_reader_description_cb, reader_description_cb, void(keynode_t *, void *));
IMPLEMENT_FUNCTION_MOCK0(mock_screen_reader_vconf_data_create, screen_reader_vconf_data_create, Screen_Reader_Vconf_Data_t *());
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_vconf_data_destroy, screen_reader_vconf_data_destroy, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK2(mock_sound_feedback_cb, sound_feedback_cb, void(keynode_t *, void *));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *));
-IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *));
IMPLEMENT_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *));
IMPLEMENT_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *());
}
#include <cmock/cmock.h>
-struct Screen_Reader_Vconf_Data_s;
+typedef struct Screen_Reader_Vconf_Data_s Screen_Reader_Vconf_Data_t;
struct Screen_Reader_Vconf_Data_s {
keylist_t * keys;
_Bool read_description;
DECLARE_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_keyboard_feedback, _set_vconf_key_changed_callback_reader_keyboard_feedback, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_sound_feedback, _set_vconf_key_changed_callback_reader_sound_feedback, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK2(mock__unset_vconf_callback, _unset_vconf_callback, int(const char *, vconf_callback_fn)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK6(mock__widget_scroll, _widget_scroll, void(Navigator_Data *, Screen_Reader_Vconf_Data_t *, Haptic_Data *, Screen_Reader_Tts_Data_t *, Flat_Navi_Context *, Gesture_Info *)); // include/navigator.h
DECLARE_FUNCTION_MOCK2(mock_display_language_cb, display_language_cb, void(keynode_t *, void *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK2(mock_generate_what_to_read, generate_what_to_read, char *(AtspiAccessible *, Screen_Reader_Vconf_Data_t *)); // src/navigator.c
DECLARE_FUNCTION_MOCK1(mock_get_haptic, get_haptic, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
DECLARE_FUNCTION_MOCK1(mock_get_key_values, get_key_values, int(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_get_sound_feedback, get_sound_feedback, _Bool(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_get_tracking_signal_name, get_tracking_signal_name, char *(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK2(mock_haptic_changed_cb, haptic_changed_cb, void(keynode_t *, void *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK2(mock_keyboard_feedback_cb, keyboard_feedback_cb, void(keynode_t *, void *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // src/navigator.c
-DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_current_object, navigator_get_current_object, AtspiAccessible *(Navigator_Data *)); // src/navigator.c
+DECLARE_FUNCTION_MOCK1(mock_navigator_get_gesture_info, navigator_get_gesture_info, Gesture_Info *(Navigator_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK3(mock_navigator_get_scroll_pos, navigator_get_scroll_pos, void(Navigator_Data *, int *, int *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_init, navigator_init, Navigator_Data *(Service_Data *)); // include/navigator.h
+DECLARE_FUNCTION_MOCK1(mock_navigator_shutdown, navigator_shutdown, void(Service_Data *)); // src/navigator.c
DECLARE_FUNCTION_MOCK2(mock_reader_description_cb, reader_description_cb, void(keynode_t *, void *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
DECLARE_FUNCTION_MOCK0(mock_screen_reader_vconf_data_create, screen_reader_vconf_data_create, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK1(mock_screen_reader_vconf_data_destroy, screen_reader_vconf_data_destroy, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
DECLARE_FUNCTION_MOCK2(mock_sound_feedback_cb, sound_feedback_cb, void(keynode_t *, void *)); // src/screen_reader_vconf.c
-DECLARE_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *)); // src/screen_reader_spi.c
-DECLARE_FUNCTION_MOCK1(mock_spi_init, spi_init, Screen_Reader_Spi_Data_t *(Service_Data *)); // include/screen_reader_spi.h
-DECLARE_FUNCTION_MOCK1(mock_spi_shutdown, spi_shutdown, void(Screen_Reader_Spi_Data_t *)); // src/screen_reader_spi.c
-DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // include/screen_reader_vconf.h
-DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK1(mock_vconf_exit, vconf_exit, void(Screen_Reader_Vconf_Data_t *)); // src/screen_reader_vconf.c
+DECLARE_FUNCTION_MOCK0(mock_vconf_init, vconf_init, Screen_Reader_Vconf_Data_t *()); // include/screen_reader_vconf.h
IMPLEMENT_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *));
-IMPLEMENT_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void)));
#include <cmock/cmock.h>
extern "C" void get_realized_items_count(AtspiAccessible * scrollable_object, int * start_idx, int * end_idx);
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
DECLARE_FUNCTION_MOCK3(mock_get_realized_items_count, get_realized_items_count, void(AtspiAccessible *, int *, int *)); // src/smart_notification.c
DECLARE_FUNCTION_MOCK0(mock_haptic_module_init, haptic_module_init, Haptic_Data *()); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // src/screen_reader_haptic.c
-DECLARE_FUNCTION_MOCK1(mock_haptic_vibrate_stop, haptic_vibrate_stop, void(Haptic_Data *)); // include/screen_reader_haptic.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_haptic_module_shutdown, haptic_module_shutdown, void(Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK3(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int, Haptic_Data *)); // include/screen_reader_haptic.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Reader_Tts_Data_t *, void (*)(void))); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, Smart_Notification_Data *()); // include/smart_notification.h
-DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // src/smart_notification.c
+DECLARE_FUNCTION_MOCK1(mock_smart_notification_shutdown, smart_notification_shutdown, void(Smart_Notification_Data *)); // include/smart_notification.h
DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK0(mock_tts_init, tts_init, Screen_Reader_Tts_Data_t *()); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_pause_get, tts_pause_get, Eina_Bool(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
DECLARE_FUNCTION_MOCK2(mock_tts_pause_set, tts_pause_set, Eina_Bool(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
-DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
-DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK2(mock_tts_purge, tts_purge, void(Screen_Reader_Tts_Data_t *, Eina_Bool)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK3(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool, Screen_Reader_Tts_Data_t *)); // src/screen_reader_tts.c
+DECLARE_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *, Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
+DECLARE_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts_Data_t *)); // include/screen_reader_tts.h
IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *());
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *));
IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *));
-IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *));
IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *());
IMPLEMENT_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *));
IMPLEMENT_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *));
}
#include <cmock/cmock.h>
-struct _Window_Tracker_Data;
+typedef struct _Window_Tracker_Data Window_Tracker_Data;
struct _Window_Tracker_Data {
Window_Tracker_Cb user_cb;
void * user_data;
AtspiAccessible * top_win;
};
-DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // include/screen_reader.h
-DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // src/screen_reader.c
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_active_window_request, window_tracker_active_window_request, void(Window_Tracker_Data *)); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // src/window_tracker.c
-DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // include/window_tracker.h
-DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // src/screen_reader.c
+DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // include/screen_reader.h
+DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, Window_Tracker_Data *()); // include/window_tracker.h
+DECLARE_FUNCTION_MOCK3(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Data *, Window_Tracker_Cb, void *)); // src/window_tracker.c
+DECLARE_FUNCTION_MOCK1(mock_window_tracker_shutdown, window_tracker_shutdown, void(Window_Tracker_Data *)); // src/window_tracker.c
DECLARE_FUNCTION_MOCK1(mock_window_tracker_top_win_get, window_tracker_top_win_get, AtspiAccessible *(Window_Tracker_Data *)); // include/window_tracker.h