Minor debug improvements - add timestamp (in seconds) to log entries and log levels 57/118457/11
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Thu, 9 Mar 2017 17:15:35 +0000 (18:15 +0100)
committerMariusz <m.wachowicz@partner.samsung.com>
Thu, 23 Mar 2017 09:39:31 +0000 (10:39 +0100)
Change-Id: Ib4e7b0a1be36c768071050fe44f18b1cddb97175

47 files changed:
CMakeLists.txt
include/common_helpers.h
include/logger.h
src/navigator.c
src/screen_reader_tts.c
src/screen_reader_utils.c
src/screen_reader_vconf.c
src/smart_notification.c
tests2/readme.txt
tests2/screen_reader_utils.cpp
tests2/screen_reader_vconf.cpp
tests2/wrappers/mocked_app_tracker.cpp
tests2/wrappers/mocked_app_tracker.h
tests2/wrappers/mocked_dbus_direct_reading_adapter.h
tests2/wrappers/mocked_dbus_gesture_adapter.cpp
tests2/wrappers/mocked_dbus_gesture_adapter.h
tests2/wrappers/mocked_elm_access_adapter.cpp
tests2/wrappers/mocked_elm_access_adapter.h
tests2/wrappers/mocked_external.cpp
tests2/wrappers/mocked_external.h
tests2/wrappers/mocked_flat_navi.cpp
tests2/wrappers/mocked_flat_navi.h
tests2/wrappers/mocked_keyboard_tracker.cpp
tests2/wrappers/mocked_keyboard_tracker.h
tests2/wrappers/mocked_main.cpp
tests2/wrappers/mocked_main.h
tests2/wrappers/mocked_navigator.cpp
tests2/wrappers/mocked_navigator.h
tests2/wrappers/mocked_screen_reader.cpp
tests2/wrappers/mocked_screen_reader.h
tests2/wrappers/mocked_screen_reader_haptic.cpp
tests2/wrappers/mocked_screen_reader_haptic.h
tests2/wrappers/mocked_screen_reader_spi.cpp
tests2/wrappers/mocked_screen_reader_spi.h
tests2/wrappers/mocked_screen_reader_switch.cpp
tests2/wrappers/mocked_screen_reader_switch.h
tests2/wrappers/mocked_screen_reader_system.h
tests2/wrappers/mocked_screen_reader_tts.cpp
tests2/wrappers/mocked_screen_reader_tts.h
tests2/wrappers/mocked_screen_reader_utils.cpp
tests2/wrappers/mocked_screen_reader_utils.h
tests2/wrappers/mocked_screen_reader_vconf.cpp
tests2/wrappers/mocked_screen_reader_vconf.h
tests2/wrappers/mocked_smart_notification.cpp
tests2/wrappers/mocked_smart_notification.h
tests2/wrappers/mocked_window_tracker.cpp
tests2/wrappers/mocked_window_tracker.h

index 1d45b042e2b411cba041d1df678e26fd6d67ebb0..9548e749f624d11e13eae3c5c3bc51aee87c302d 100755 (executable)
@@ -82,6 +82,9 @@ SET(CMAKE_CXX_FLAGS_DUMP "${CMAKE_CXX_FLAGS}")
 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")
index 28fb9d802ab3c02cb19664d4b51a4fb7e39756d1..dc4814ff39a2efa8a46bbd0b17ec7a249fe2198e 100644 (file)
@@ -46,8 +46,8 @@
                LOGE(fmt, ##__VA_ARGS__);
 
 #define PLOGI(fmt, ...) \
-               LOGI(fmt, ##__VA_ARGS__);\
+               LOGI(fmt, ##__VA_ARGS__);
+
 #endif
 
 #endif /* COMMON_HELPERS_H_ */
index f9d6a0d19a44a9a28d7112c08f3ce04eeb4ba064..298f8092afae8cb6975489996eaf2daf250e8213 100644 (file)
@@ -4,16 +4,71 @@
 #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"
 
index 0fe7b9d555f9f7704388ab64fed189f1ea73512e..28bfe3bdae0057b9095b8455dd9816908d6a7adb 100644 (file)
@@ -2035,10 +2035,11 @@ static void _move_slider(Navigator_Data *nd, Screen_Reader_Vconf_Data_t *vconf_d
                        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) {
index b5953b3b52bfa91cc3fb45f9ae59de5433a79d93..66c1dcea0e0979ac3665590cf5a3bcd788af3188 100644 (file)
@@ -68,6 +68,8 @@ typedef enum _Play_Read_Command_Status {
         _error = NULL;\
    }
 
+DEBUG_CODE(
+
 static const char *sprintf_command(Read_Command *command)
 {
        static char buffer[80];
@@ -145,6 +147,7 @@ static const char *get_tts_state(tts_state_e r)
        }
 }
 
+) /* DEBUG_CODE */
 //-------------------------------------------------------------------------------------------------
 
 void set_utterance_cb(Screen_Reader_Tts_Data_t *tts_data, utterance_completed_f uter_cb)
@@ -193,7 +196,7 @@ static void  _reading_status_notify(Signal signal, Read_Command *command)
        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 {
@@ -291,7 +294,7 @@ static Read_Command *get_read_command_from_queue(Screen_Reader_Tts_Data_t *tts_d
                        // 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 {
@@ -585,10 +588,7 @@ static void tts_speak_do(Screen_Reader_Tts_Data_t *tts_data)
                        // 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");
@@ -636,7 +636,7 @@ static void compress_command_queue(Eina_List **command_queue, Read_Command *new_
        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);
@@ -653,9 +653,7 @@ tts_speak_customized(char *text_to_speak, Eina_Bool want_discard_previous_readin
                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;
        }
 
@@ -664,12 +662,7 @@ tts_speak_customized(char *text_to_speak, Eina_Bool want_discard_previous_readin
                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;
@@ -729,7 +722,7 @@ static void tts_utt_completed_cb(tts_h tts, int utt_id, void *user_data)
        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;
@@ -785,7 +778,7 @@ Screen_Reader_Tts_Data_t *tts_init(void)
        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
 
@@ -793,8 +786,10 @@ Screen_Reader_Tts_Data_t *tts_init(void)
        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);
@@ -918,7 +913,7 @@ void state_changed_cb(tts_h tts, tts_state_e previous, tts_state_e current, void
                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));
 
 
index 370d8220ef1bd549d2cc1566b9d7e88eaf0d8c4f..9179673b1d01538161a7347941e518c8c666b4ba 100644 (file)
@@ -143,10 +143,10 @@ TIZEN_PROD_STATIC void _debug_display_object_iface_values(AtspiAccessible *obj)
 {
        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);
        }
 }
@@ -321,4 +321,3 @@ Eina_Bool widget_do_action(AtspiAccessible *obj, char *expected_action)
        DEBUG("END");
        return ret;
 }
-
index 6b6254160e91341aaaf9e0055e7315f789e21c7b..ab490b03ac08775fee52ac00107ae2aa687f0bf4 100644 (file)
@@ -349,8 +349,6 @@ Screen_Reader_Vconf_Data_t *vconf_init(void)
 {
        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;
@@ -374,8 +372,7 @@ Screen_Reader_Vconf_Data_t *vconf_init(void)
        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);
        }
index c3d214f213781d3cbd795a6cb4ed56b69018b55d..48d8a9d5457f0c269b58045cb8d79c5ebfaa8826 100644 (file)
@@ -37,11 +37,9 @@ static void _handle_contextual_menu(void);
 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)
index a7487f7b1e8f5a8bcfab76291a41b46dd7daa9db..da085ee4bc1aaac80b144304326a694ea7e5fde8 100644 (file)
@@ -31,7 +31,9 @@ to beginning of your CMakeLists.txt and add
 
 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
 
index 6d00c80fa300408ed114860a9a32683a8e6db13f..78fdce0e29dfa6a54c74a0c4468f366d2a163540 100644 (file)
@@ -9,6 +9,7 @@ using ::testing::Return;
 using ::testing::SetArgPointee;
 using ::testing::StrEq;
 using ::testing::_;
+using ::testing::AnyNumber;
 
 class ScreenReaderUtilsFixture : public ::testing::Test {
 protected:
@@ -53,11 +54,7 @@ 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_)
@@ -106,17 +103,22 @@ protected:
        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);
index d30d0e72f2c0fa179fbacc681013528d5c1775f5..6b6f2496f48dedfffa6830229c75381e3b20e2d4 100644 (file)
@@ -10,6 +10,7 @@ using ::testing::Return;
 using ::testing::SetArgPointee;
 using ::testing::StrEq;
 using ::testing::_;
+using ::testing::AnyNumber;
 
 class ScreenReaderVconfFixture : public ::testing::Test {
  protected:
@@ -73,8 +74,7 @@ class ScreenReaderVconfFixture : public ::testing::Test {
   }
   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), _))
index 7e0d80b93e5e900fe53c31b245fe0a26d8e760c9..73e9b64e8a4ba8789ffadbfa586a0947ffa83258 100644 (file)
@@ -1,28 +1,48 @@
 #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));
@@ -33,5 +53,10 @@ IMPLEMENT_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_C
 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 *));
 
index a5fb9b92deba72f4cb8e6e9cc882f482c0239f77..5c34a25763771c66e72c8b58420b756aeb78bccf 100644 (file)
@@ -3,51 +3,96 @@
 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
 
index 453db02a1625213846b4de397b4174a59ccf4f7e..8d2b13dfeaed29ae1094e0245e64ce3c62b1dcc9 100644 (file)
@@ -8,7 +8,7 @@ extern "C" {
 }
 #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;
@@ -18,21 +18,21 @@ struct _direct_reading_data {
 
 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
 
index 2b0caf16bc67277e59ac89e1d2f034fb54ba853b..526dc7187cb64cc5ab826ce43b5fb48b97d9096d 100644 (file)
@@ -2,13 +2,10 @@
 
 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 *));
 
index 01b6ebad5939eae97c1340a1e340f0d5c380debc..edd071f958bae735d854c6b0e28bb8b13cef75d1 100644 (file)
@@ -6,7 +6,7 @@ extern "C" {
 }
 #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;
@@ -15,15 +15,12 @@ struct _gesture_adapter_data {
 };
 
 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
 
index e812cbb4550883db99f4c2ae9897de92c9056c9b..695fc45a71361a990ed88be9ef8531bfd087c5a7 100644 (file)
@@ -1,5 +1,2 @@
 #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));
-
index 0abf812f1a0dec716963f77034637ca24b99ff68..ceef73c60069434a8aec923e1b5d92db33cf72c4 100644 (file)
@@ -6,6 +6,3 @@ extern "C" {
 }
 #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
-
index 279cb68f0b2f2b993e5f090ed9de36d835edee7e..24371655a822cb26538dc1f3ed6b2142a1ab8344 100644 (file)
@@ -20,7 +20,6 @@ IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_localized_role_name, atspi_ac
 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 **));
@@ -28,7 +27,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_selection, atspi_accessible_g
 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 **));
@@ -50,7 +48,6 @@ IMPLEMENT_FUNCTION_MOCK3(mock_atspi_event_listener_new, atspi_event_listener_new
 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 **));
@@ -89,9 +86,11 @@ IMPLEMENT_FUNCTION_MOCK1(mock_device_display_get_state, device_display_get_state
 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 *));
@@ -150,7 +149,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_object_unref, eldbus_object_unref, void(Eld
 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 *));
@@ -162,8 +160,9 @@ IMPLEMENT_FUNCTION_MOCK1(mock_fabs, fabs, double(double));
 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 *));
@@ -182,12 +181,11 @@ IMPLEMENT_FUNCTION_MOCK1(mock_g_hash_table_unref, g_hash_table_unref, void(GHash
 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 *));
@@ -238,9 +236,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_gettext, gettext, char *(const char *));
 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 **));
index 99293a4c6bea13e5b64f4d60699ea70e52c14f01..a86861b062733fcc50392270f263d351368c1aeb 100644 (file)
@@ -1,17 +1,17 @@
 #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>
@@ -22,324 +22,320 @@ extern "C" {
 #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
 
index 5fbd0032d31d05b858b5b8a09e9c2d0c3823002a..6a64e187234892bc3bebe2892d6e7fe2b76c1bd9 100644 (file)
@@ -2,25 +2,23 @@
 
 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 *));
@@ -28,7 +26,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_get_keyboard_feedback, get_keyboard_feedback, _Boo
 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));
index 0cb521bfba7626ec200a7b613162263a7e1b452a..1354044beb78a2d1cd6bfb5a06ba2150f84311a9 100644 (file)
@@ -8,46 +8,41 @@ extern "C" {
 
 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
 
index 6c49ae7ea88b9989d19812d2f22c51819ea16657..a0098c7dc6f84de041a790690ce8f3e3eeac37f7 100644 (file)
@@ -2,7 +2,6 @@
 
 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 *());
@@ -19,7 +18,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_tts_shutdown, tts_shutdown, void(Screen_Reader_Tts
 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 *));
index 749b2b5075dd124577163c7adfa4873923a39296..0c9a56a02aa454b551f66257c50f986480ff8518 100644 (file)
@@ -12,7 +12,7 @@ extern "C" {
 }
 #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;
@@ -25,28 +25,26 @@ struct _Keyboard_Tracker_Data {
        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
 
index a703208d23738e9fe7b9ab0c4d4bcba53059f052..60b33f50157d9e86da029f74b461cbc953487c7b 100644 (file)
@@ -1,32 +1,32 @@
 #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 *));
index 515294e9e79954cdf8f51e5e0a9b270a36a463d9..7b375d6ac44dc09ac20762d9df5a515adce4978d 100644 (file)
@@ -10,7 +10,6 @@ extern "C" {
 #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"
@@ -24,40 +23,40 @@ extern "C" void posix_print_stack_trace(FILE * log_file);
 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
 
index 61fc49dd53cef7631128b8e302f1f5362b860831..f2026bb0a5db7e97be22a8fb8f4c2483124b7cc0 100644 (file)
@@ -3,17 +3,14 @@
 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 *));
@@ -24,45 +21,46 @@ IMPLEMENT_FUNCTION_MOCK1(mock_device_date_get, device_date_get, void(Service_Dat
 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 *));
@@ -71,11 +69,10 @@ IMPLEMENT_FUNCTION_MOCK2(mock_set_utterance_cb, set_utterance_cb, void(Screen_Re
 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));
@@ -86,8 +83,8 @@ IMPLEMENT_FUNCTION_MOCK5(mock_tts_speak_customized, tts_speak_customized, Read_C
 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 *));
index 980ad65dc8cd18be1448ed49aacb00d66e4d052a..d368e4908cb1e532b4e27352a100c872841517c2 100644 (file)
@@ -15,15 +15,14 @@ extern "C" {
 #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;
 };
@@ -31,6 +30,7 @@ struct _Navigator_Data {
        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;
@@ -39,6 +39,8 @@ struct _Navigator_Data {
        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);
@@ -51,98 +53,97 @@ extern "C" char * generate_role_trait(AtspiAccessible * obj);
 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
 
index dc2ac22acb1855e3d599f70eafe7f36ea5390742..33ee4d73cd1cab92228cccb98fd97e911356783c 100644 (file)
@@ -1,25 +1,17 @@
 #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 *));
index 7be12c4ad1bcd9c76203cbf96708aea36569da12..6bfb9228f182df9f9751ffff76d99f5b65b9d6e2 100644 (file)
@@ -10,35 +10,27 @@ extern "C" {
 }
 #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
 
index 2390e1a95307a2fcfdd0b2b47bed75cacf7aec82..a71000b28deeb188a07041ef93895dddebd40503 100644 (file)
@@ -4,7 +4,6 @@ IMPLEMENT_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to
 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));
index 972a123367682dd8e280c6b056bb65958f1bbea3..41afa76dc1641a5c81268c72a66b338657464e80 100644 (file)
@@ -8,20 +8,19 @@ extern "C" {
 }
 #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
 
index 07fe689f9d8a3f1260497e80e199754d01483d64..0666d167b5010797527113ededcef6fe87d47e16 100644 (file)
@@ -1,22 +1,22 @@
 #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 *));
index 04041ba2671e1f5101a0a7326dd75f14cdc4b366..9a19f3f8925b5abad56dc97747455160b47a7a01 100644 (file)
@@ -9,42 +9,34 @@ extern "C" {
 }
 #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
 
index 1fa12bd39f57ba5a14dc224ae5653a94d2e3241b..d238d7ff3773214f27d92ac8f5e196a24e7c1d7e 100644 (file)
@@ -1,6 +1,5 @@
 #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));
 
index 518c93f21dcc7b90e9bfe6f4493d9f3bbb042c7f..f479e32b6dc6cabe3da4cdf072c9b0155c8ca87c 100644 (file)
@@ -6,7 +6,6 @@ extern "C" {
 }
 #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
 
index 4946c9ecf4f08e1feb54cdcd433d21c7c5f11c02..0349c7044e2259417219e05204cfc3f958ba64cc 100644 (file)
@@ -18,35 +18,35 @@ extern "C" {
 }
 #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
 
index 653845cb5c726a3f09e328147b05ec5963895beb..255714f1d1bf56a8780f02d47ec25ae2fd85734f 100644 (file)
@@ -5,6 +5,7 @@ IMPLEMENT_FUNCTION_MOCK2(mock_can_discard, can_discard, Eina_Bool(const Read_Com
 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 *());
@@ -12,11 +13,11 @@ IMPLEMENT_FUNCTION_MOCK1(mock_get_read_description, get_read_description, _Bool(
 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));
@@ -28,4 +29,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_tts_stop_set, tts_stop_set, void(Screen_Reader_Tts
 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));
 
index d5ea7db28f5c0fc6feadbc4979af7df8694c12af..c09825f6b38fad6eb9d39a3a27e7a1cb9bf047e5 100644 (file)
@@ -5,11 +5,12 @@ extern "C" {
 #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;
@@ -34,30 +35,33 @@ extern "C" _Bool get_supported_voices_cb(tts_h tts, const char * language, int v
 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
 
index 70d9457b9c03fd68776af9b00f2938e524be6337..9ea7763100acc6871470cd0e1ab2d59b6c3c6702 100644 (file)
@@ -9,7 +9,8 @@ IMPLEMENT_FUNCTION_MOCK1(mock__debug_display_object_role, _debug_display_object_
 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));
 
index d02d704585f664f7477a32a3fd47ef080913c3c7..cab033526f61de8fcdca1e6447ac057c5983bd8f 100644 (file)
@@ -16,7 +16,6 @@ extern "C" void _debug_display_object_role(AtspiAccessible * obj);
 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
@@ -26,7 +25,8 @@ DECLARE_FUNCTION_MOCK1(mock__debug_display_object_role, _debug_display_object_ro
 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
 
index d87ef682373b92d4a02dee0d5745a930d8b73a3f..f145b41ed15ac1e93944860a4d54937324aba871 100644 (file)
@@ -6,16 +6,20 @@ IMPLEMENT_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_haptic, _se
 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 *));
@@ -24,10 +28,6 @@ IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_ter
 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 *());
 
index 5c84e5ef0395d8d46186cf99e199576efd3bf003..15690b2ff3cbc5ec4afe63c04713c31027a3751e 100644 (file)
@@ -9,7 +9,7 @@ extern "C" {
 }
 #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;
@@ -41,28 +41,28 @@ DECLARE_FUNCTION_MOCK1(mock__set_vconf_key_changed_callback_reader_haptic, _set_
 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
 
index 20e5c98685be7e8a5aa1542007f8135b534e4802..6d59da6cddceda945e0ab4a3217c618b94ec9e35 100644 (file)
@@ -5,7 +5,6 @@ IMPLEMENT_FUNCTION_MOCK3(mock_get_realized_items_count, get_realized_items_count
 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)));
index 0be2bcddc414834ec4c7981c2c6c029fe720f4a7..44c85de2660cf2f58ee6f9b306f014e678b81d0f 100644 (file)
@@ -12,25 +12,24 @@ extern "C" {
 #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
 
index 41cf8fed799ec40b234ae4e29eebdc9ed514cf1d..9cb740768864278ed44b4545634ce06b27a4c0fd 100644 (file)
@@ -3,7 +3,6 @@
 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 *));
index 6fd770dc1b0e16dfd7c085c5b6fa6757d4b5d359..e3c4ffe7210f4efd9543c4042b21237eb90abc4c 100644 (file)
@@ -7,7 +7,7 @@ extern "C" {
 }
 #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;
@@ -16,12 +16,11 @@ struct _Window_Tracker_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