From: Radoslaw Cybulski Date: Thu, 29 Sep 2016 11:02:39 +0000 (+0200) Subject: add testing X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen-testing;p=platform%2Fcore%2Faccessibility%2Fscreen-reader.git add testing Change-Id: Ide04d2f4f8254690401440ef1e39b9f15096eb5b --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d1b38115..b150819c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,5 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.tizen.screen-reader.xml DESTINATIO ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/res/po) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/res/sounds) -# ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/tests) -# ADD_TEST(NAME smart_navi_tests COMMAND ${CMAKE_SOURCE_DIR}/tests/smart_navi_test_suite) +ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/tests2) # END OF A FILE diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt index 8d2b552e..d83a4152 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt @@ -4,6 +4,13 @@ project( googletest-distribution ) enable_testing() +if(NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fPIC") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") +endif() +if(NOT "${CMAKE_C_FLAGS}" MATCHES "-fPIC") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") +endif() + option(BUILD_GTEST "Builds the googletest subproject" OFF) #Note that googlemock target already builds googletest diff --git a/tests2/CMakeLists.txt b/tests2/CMakeLists.txt new file mode 100644 index 00000000..10e8a093 --- /dev/null +++ b/tests2/CMakeLists.txt @@ -0,0 +1,53 @@ +cmake_minimum_required(VERSION 2.8) + +# this CMake: +# - builds application to test in form of library (libcode.so) +# - builds testing library (libtestcode.so), which links libcode.so, googletest, c-mocktest and all requirements together +# - builds all source files in directory (recursively) as separate executable each, linked to libtestcode.so + +INCLUDE_DIRECTORIES(.) + +SET(CMOCKTEST_PATH "${CMAKE_SOURCE_DIR}/cmocktest") +SET(GOOGLETEST_PATH "${CMAKE_SOURCE_DIR}/googletest") +SET(TEST_INCLUDES_FLAGS "-I${CMAKE_SOURCE_DIR}/googletest/googletest/include -I${CMAKE_SOURCE_DIR}/googletest/googlemock/include -I${CMAKE_SOURCE_DIR}/cmocktest/include") + +#SET(CMAKE_VERBOSE_MAKEFILE "ON") + +# TODO: get googletest / c-mocktest out of repository into its own +# keep in mind, than googletest needs patch to add -fPIC argument to compile command +EXEC_PROGRAM("/bin/sh -c \"cd '${GOOGLETEST_PATH}' && cmake . -Dgtest_disable_pthreads=ON -DGTEST_HAS_PTHREAD=0 -DBUILD_SHARED_LIBS=OFF && make GTEST_HAS_PTHREAD=0\"" OUTPUT_VARIABLE RES) + +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TEST_INCLUDES_FLAGS} -DGTEST_HAS_PTHREAD=0") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TEST_INCLUDES_FLAGS} -DGTEST_HAS_PTHREAD=0") +SET(CMAKE_C_FLAGS "${SLP_DEBUG_FLAGS} ${SLP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} ${SLP_COMPILER_FLAGS} -fPIC -I../include") +SET(CMAKE_CXX_FLAGS "${SLP_DEBUG_FLAGS} ${SLP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${SLP_COMPILER_FLAGS} -fPIC -I../include") + +FILE(GLOB WRAPPERS_C_SRC "${CMAKE_SOURCE_DIR}/tests2/wrappers/*.cpp") + +ADD_LIBRARY(code SHARED ${SRCS}) +TARGET_LINK_LIBRARIES(code ${pkgs_LDFLAGS}) + +ADD_LIBRARY(testcode SHARED ${WRAPPERS_C_SRC}) +TARGET_LINK_LIBRARIES(testcode "-Wl,--no-as-needed -Wl,--start-group -L${CMAKE_SOURCE_DIR}/googletest/googlemock/gtest -L${CMAKE_SOURCE_DIR}/googletest/googlemock -L${LOC_DIR} -Wl,-rpath,${CMAKE_SOURCE_DIR}/tests2 -Wl,-rpath,${CMAKE_SOURCE_DIR}/googletest/googlemock -Wl,-rpath,${CMAKE_SOURCE_DIR}/googletest/googlemock/gtest" code gmock gtest dl) + +FILE(GLOB_RECURSE TEST_SRCS "*.cpp") +MATH(EXPR INDEX "0") +FOREACH(TEST_SRC ${TEST_SRCS}) + GET_FILENAME_COMPONENT(BASENAME ${TEST_SRC} NAME) + GET_FILENAME_COMPONENT(DIRNAME ${TEST_SRC} DIRECTORY) + GET_FILENAME_COMPONENT(BASEDIRNAME ${DIRNAME} NAME) + + # RC: ignore files in wrappers directory - those arent tests, only mock wrappers + IF(NOT "${TEST_SRC}" MATCHES "/wrappers/[^/]*$") + STRING(REPLACE ".cpp" "" NAME "${BASENAME}") + MATH(EXPR INDEX "${INDEX}+1") + + ADD_EXECUTABLE(test_${INDEX} ${TEST_SRC}) + TARGET_LINK_LIBRARIES(test_${INDEX} testcode) + SET_TARGET_PROPERTIES(test_${INDEX} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${DIRNAME}") + SET_TARGET_PROPERTIES(test_${INDEX} PROPERTIES RUNTIME_OUTPUT_NAME "test_${NAME}") + + ADD_TEST(NAME test_${INDEX} COMMAND ${DIRNAME}/test_${NAME}) + ENDIF(NOT "${TEST_SRC}" MATCHES "/wrappers/[^/]*$") +ENDFOREACH(TEST_SRC ${TEST_SRCS}) + diff --git a/tests2/main.cpp b/tests2/main.cpp new file mode 100644 index 00000000..1d739198 --- /dev/null +++ b/tests2/main.cpp @@ -0,0 +1,22 @@ +#include +#include +#include "wrappers/mocked.h" + +using namespace ::testing; + +TEST(FooTest, Example) { + Eina_Bool v = 0; + mock_eldbus_connection_get m_get; + mock_eldbus_init m_init; + + EXPECT_FUNCTION_CALL(m_init, ()).WillOnce(Return(0)); + EXPECT_FUNCTION_CALL(m_get, (ELDBUS_CONNECTION_TYPE_SYSTEM)).WillOnce(Return((Eldbus_Connection *)0)); + v = screen_reader_switch_wm_enabled_set(1); + EXPECT_FALSE(v); +} + +int main(int argc, char **argv) +{ + ::testing::InitGoogleTest(&argc,argv); + return RUN_ALL_TESTS(); +} diff --git a/tests2/subdir/test.cpp b/tests2/subdir/test.cpp new file mode 100644 index 00000000..1d739198 --- /dev/null +++ b/tests2/subdir/test.cpp @@ -0,0 +1,22 @@ +#include +#include +#include "wrappers/mocked.h" + +using namespace ::testing; + +TEST(FooTest, Example) { + Eina_Bool v = 0; + mock_eldbus_connection_get m_get; + mock_eldbus_init m_init; + + EXPECT_FUNCTION_CALL(m_init, ()).WillOnce(Return(0)); + EXPECT_FUNCTION_CALL(m_get, (ELDBUS_CONNECTION_TYPE_SYSTEM)).WillOnce(Return((Eldbus_Connection *)0)); + v = screen_reader_switch_wm_enabled_set(1); + EXPECT_FALSE(v); +} + +int main(int argc, char **argv) +{ + ::testing::InitGoogleTest(&argc,argv); + return RUN_ALL_TESTS(); +} diff --git a/tests2/wrappers/mocked.h b/tests2/wrappers/mocked.h new file mode 100644 index 00000000..d85e04dd --- /dev/null +++ b/tests2/wrappers/mocked.h @@ -0,0 +1,308 @@ +#ifndef MOCKED_H +#define MOCKED_H + +extern "C" { +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +} + +DECLARE_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); // /home/r.cybulski/work/screen-reader/include/dbus_gesture_adapter.h +DECLARE_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(AtspiAccessible *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_register, app_tracker_callback_register, void(AtspiAccessible *, AppTrackerEventCB, void *)); // /home/r.cybulski/work/screen-reader/src/app_tracker.c +DECLARE_FUNCTION_MOCK3(mock_app_tracker_callback_unregister, app_tracker_callback_unregister, void(AtspiAccessible *, AppTrackerEventCB, void *)); // /home/r.cybulski/work/screen-reader/src/app_tracker.c +DECLARE_FUNCTION_MOCK0(mock_app_tracker_init, app_tracker_init, int()); // /home/r.cybulski/work/screen-reader/include/app_tracker.h +DECLARE_FUNCTION_MOCK1(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB)); // /home/r.cybulski/work/screen-reader/src/app_tracker.c +DECLARE_FUNCTION_MOCK0(mock_app_tracker_shutdown, app_tracker_shutdown, void()); // /home/r.cybulski/work/screen-reader/src/app_tracker.c +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_MOCK2(mock_asprintf, asprintf, int(char **, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/stdio.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_continue_scroll, continue_scroll, void(int, int)); // /home/r.cybulski/work/screen-reader/src/navigator.c +DECLARE_FUNCTION_MOCK2(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, int)); // /home/r.cybulski/work/screen-reader/include/dbus_direct_reading_adapter.h +DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, int()); // /home/r.cybulski/work/screen-reader/include/dbus_direct_reading_adapter.h +DECLARE_FUNCTION_MOCK0(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void()); // /home/r.cybulski/work/screen-reader/src/dbus_direct_reading_adapter.c +DECLARE_FUNCTION_MOCK1(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *)); // /home/r.cybulski/work/screen-reader/src/dbus_gesture_adapter.c +DECLARE_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, void()); // /home/r.cybulski/work/screen-reader/src/dbus_gesture_adapter.c +DECLARE_FUNCTION_MOCK0(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void()); // /home/r.cybulski/work/screen-reader/src/dbus_gesture_adapter.c +DECLARE_FUNCTION_MOCK0(mock_device_battery_get, device_battery_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK0(mock_device_bluetooth_get, device_bluetooth_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK0(mock_device_date_get, device_date_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.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_MOCK0(mock_device_missed_events_get, device_missed_events_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK0(mock_device_signal_strenght_get, device_signal_strenght_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK0(mock_device_time_get, device_time_get, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK3(mock_dlog_print, dlog_print, int(log_priority, const char *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/dlog/dlog.h +DECLARE_FUNCTION_MOCK3(mock_ecore_event_handler_add, ecore_event_handler_add, Ecore_Event_Handler *(int, Ecore_Event_Handler_Cb, const void *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Common.h +DECLARE_FUNCTION_MOCK1(mock_ecore_event_handler_del, ecore_event_handler_del, void *(Ecore_Event_Handler *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Common.h +DECLARE_FUNCTION_MOCK0(mock_ecore_init, ecore_init, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Common.h +DECLARE_FUNCTION_MOCK0(mock_ecore_shutdown, ecore_shutdown, int()); // /home/r.cybulski/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/r.cybulski/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/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/Ecore_Legacy.h +DECLARE_FUNCTION_MOCK1(mock_ecore_timer_reset, ecore_timer_reset, void(Ecore_Timer *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-1/ecore_timer.eo.legacy.h +DECLARE_FUNCTION_MOCK1(mock_ecore_wl_init, ecore_wl_init, int(const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK2(mock_ecore_wl_screen_size_get, ecore_wl_screen_size_get, void(int *, int *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK0(mock_ecore_wl_shutdown, ecore_wl_shutdown, int()); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK1(mock_ecore_wl_window_free, ecore_wl_window_free, void(Ecore_Wl_Window *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK6(mock_ecore_wl_window_new, ecore_wl_window_new, Ecore_Wl_Window *(Ecore_Wl_Window *, int, int, int, int, int)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK1(mock_ecore_wl_window_raise, ecore_wl_window_raise, void(Ecore_Wl_Window *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +DECLARE_FUNCTION_MOCK1(mock_ecore_wl_window_show, ecore_wl_window_show, void(Ecore_Wl_Window *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/ecore-wayland-1/Ecore_Wayland.h +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_MOCK6(mock_eina_log_print, eina_log_print, void(int, Eina_Log_Level, const char *, const char *, int, const char *)); // /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_MOCK2(mock_eina_strbuf_append_printf, eina_strbuf_append_printf, Eina_Bool(Eina_Strbuf *, const char *)); // /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_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_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_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_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_MOCK2(mock_eldbus_message_arguments_append, eldbus_message_arguments_append, Eina_Bool(Eldbus_Message *, 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_arguments_get, eldbus_message_arguments_get, Eina_Bool(const Eldbus_Message *, const char *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/eldbus-1/eldbus_message.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_arguments_append, eldbus_message_iter_arguments_append, Eina_Bool(Eldbus_Message_Iter *, 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_arguments_get, eldbus_message_iter_arguments_get, Eina_Bool(Eldbus_Message_Iter *, 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_MOCK6(mock_eldbus_proxy_call, eldbus_proxy_call, Eldbus_Pending *(Eldbus_Proxy *, const char *, Eldbus_Message_Cb, const void *, double, 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_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_MOCK2(mock_eldbus_service_signal_emit, eldbus_service_signal_emit, Eina_Bool(const Eldbus_Service_Interface *, unsigned int)); // /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/elc_naviframe_common.h +DECLARE_FUNCTION_MOCK2(mock_end_scroll, end_scroll, void(int, int)); // /home/r.cybulski/work/screen-reader/src/navigator.c +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, FlatNaviContext *(AtspiAccessible *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(FlatNaviContext *, gint, gint, AtspiAccessible **)); // /home/r.cybulski/work/screen-reader/src/flat_navi.c +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(FlatNaviContext *, AtspiAccessible *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/src/flat_navi.c +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/src/flat_navi.c +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(FlatNaviContext *)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK2(mock_flat_navi_get_object_in_relation, flat_navi_get_object_in_relation, AtspiAccessible *(AtspiAccessible *, AtspiRelationType)); // /home/r.cybulski/work/screen-reader/include/flat_navi.h +DECLARE_FUNCTION_MOCK2(mock_flat_navi_is_valid, flat_navi_is_valid, Eina_Bool(FlatNaviContext *, AtspiAccessible *)); // /home/r.cybulski/work/screen-reader/src/flat_navi.c +DECLARE_FUNCTION_MOCK0(mock_get_pointer_to_service_data_struct, get_pointer_to_service_data_struct, Service_Data *()); // /home/r.cybulski/work/screen-reader/include/screen_reader.h +DECLARE_FUNCTION_MOCK1(mock_get_signal_name, get_signal_name, const char *(const Signal)); // /home/r.cybulski/work/screen-reader/include/dbus_direct_reading_adapter.h +DECLARE_FUNCTION_MOCK2(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int)); // /home/r.cybulski/work/screen-reader/include/screen_reader_haptic.h +DECLARE_FUNCTION_MOCK2(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(int, int)); // /home/r.cybulski/work/screen-reader/include/keyboard_tracker.h +DECLARE_FUNCTION_MOCK4(mock_keyboard_geometry_set, keyboard_geometry_set, void(int, int, int, int)); // /home/r.cybulski/work/screen-reader/src/keyboard_tracker.c +DECLARE_FUNCTION_MOCK3(mock_keyboard_signal_emit, keyboard_signal_emit, void(int, int, int)); // /home/r.cybulski/work/screen-reader/src/keyboard_tracker.c +DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, void()); // /home/r.cybulski/work/screen-reader/include/keyboard_tracker.h +DECLARE_FUNCTION_MOCK0(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void()); // /home/r.cybulski/work/screen-reader/include/keyboard_tracker.h +DECLARE_FUNCTION_MOCK0(mock_navigator_init, navigator_init, void()); // /home/r.cybulski/work/screen-reader/src/navigator.c +DECLARE_FUNCTION_MOCK0(mock_navigator_shutdown, navigator_shutdown, void()); // /home/r.cybulski/work/screen-reader/include/navigator.h +DECLARE_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); // /home/r.cybulski/work/screen-reader/include/screen_reader.h +DECLARE_FUNCTION_MOCK1(mock_screen_reader_switch_enabled_set, screen_reader_switch_enabled_set, Eina_Bool(Eina_Bool)); // /home/r.cybulski/work/screen-reader/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)); // /home/r.cybulski/work/screen-reader/src/screen_reader_switch.c +DECLARE_FUNCTION_MOCK1(mock_screen_reader_terminate_service, screen_reader_terminate_service, int(void *)); // /home/r.cybulski/work/screen-reader/include/screen_reader.h +DECLARE_FUNCTION_MOCK1(mock_set_utterance_cb, set_utterance_cb, void(void (*)(void))); // /home/r.cybulski/work/screen-reader/include/screen_reader_tts.h +DECLARE_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); // /home/r.cybulski/work/screen-reader/include/smart_notification.h +DECLARE_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, void()); // /home/r.cybulski/work/screen-reader/include/smart_notification.h +DECLARE_FUNCTION_MOCK0(mock_smart_notification_shutdown, smart_notification_shutdown, void()); // /home/r.cybulski/work/screen-reader/include/smart_notification.h +DECLARE_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, void *)); // /home/r.cybulski/work/screen-reader/include/screen_reader_spi.h +DECLARE_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *)); // /home/r.cybulski/work/screen-reader/src/screen_reader_spi.c +DECLARE_FUNCTION_MOCK2(mock_start_scroll, start_scroll, void(int, int)); // /home/r.cybulski/work/screen-reader/src/screen_reader_gestures.c +DECLARE_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); // /home/r.cybulski/work/screen-reader/src/screen_reader_tts.c +DECLARE_FUNCTION_MOCK0(mock_system_notifications_init, system_notifications_init, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.h +DECLARE_FUNCTION_MOCK0(mock_system_notifications_shutdown, system_notifications_shutdown, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_system.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_init, tts_init, _Bool(void *)); // /home/r.cybulski/work/screen-reader/include/screen_reader_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_MOCK0(mock_tts_pause_get, tts_pause_get, Eina_Bool()); // /home/r.cybulski/work/screen-reader/include/screen_reader_tts.h +DECLARE_FUNCTION_MOCK1(mock_tts_pause_set, tts_pause_set, Eina_Bool(Eina_Bool)); // /home/r.cybulski/work/screen-reader/include/screen_reader_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_MOCK2(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool)); // /home/r.cybulski/work/screen-reader/include/screen_reader_tts.h +DECLARE_FUNCTION_MOCK4(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *)); // /home/r.cybulski/work/screen-reader/include/screen_reader_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_MOCK0(mock_tts_stop_set, tts_stop_set, void()); // /home/r.cybulski/work/screen-reader/include/screen_reader_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_MOCK0(mock_vconf_exit, vconf_exit, void()); // /home/r.cybulski/work/screen-reader/src/screen_reader_vconf.c +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_init, vconf_init, _Bool(Service_Data *)); // /home/r.cybulski/work/screen-reader/src/screen_reader_vconf.c +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_MOCK0(mock_window_tracker_active_window_request, window_tracker_active_window_request, void()); // /home/r.cybulski/work/screen-reader/include/window_tracker.h +DECLARE_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, void()); // /home/r.cybulski/work/screen-reader/src/window_tracker.c +DECLARE_FUNCTION_MOCK2(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Cb, void *)); // /home/r.cybulski/work/screen-reader/include/window_tracker.h +DECLARE_FUNCTION_MOCK0(mock_window_tracker_shutdown, window_tracker_shutdown, void()); // /home/r.cybulski/work/screen-reader/src/window_tracker.c +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_marshal, wl_proxy_marshal, void(struct wl_proxy *, uint32_t)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h +DECLARE_FUNCTION_MOCK3(mock_wl_proxy_marshal_constructor, wl_proxy_marshal_constructor, struct wl_proxy *(struct wl_proxy *, uint32_t, const struct wl_interface *)); // /home/r.cybulski/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/include/wayland-client-core.h +DECLARE_FUNCTION_MOCK4(mock_wl_proxy_marshal_constructor_versioned, wl_proxy_marshal_constructor_versioned, struct wl_proxy *(struct wl_proxy *, uint32_t, const struct wl_interface *, uint32_t)); // /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 + +#endif diff --git a/tests2/wrappers/mocked01.cpp b/tests2/wrappers/mocked01.cpp new file mode 100644 index 00000000..684809a1 --- /dev/null +++ b/tests2/wrappers/mocked01.cpp @@ -0,0 +1,266 @@ +#include +#include +#include "mocked.h" + +IMPLEMENT_FUNCTION_MOCK1(mock__gesture_enum_to_string, _gesture_enum_to_string, const char *(Gesture)); +IMPLEMENT_FUNCTION_MOCK1(mock__has_activate_action, _has_activate_action, Eina_Bool(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, int()); +IMPLEMENT_FUNCTION_MOCK1(mock_app_tracker_new_obj_highlighted_callback_register, app_tracker_new_obj_highlighted_callback_register, void(AppTrackerEventCB)); +IMPLEMENT_FUNCTION_MOCK0(mock_app_tracker_shutdown, app_tracker_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK4(mock_appcore_efl_main, appcore_efl_main, int(const char *, int *, char ***, struct appcore_ops *)); +IMPLEMENT_FUNCTION_MOCK2(mock_asprintf, asprintf, int(char **, const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_action_iface, atspi_accessible_get_action_iface, AtspiAction *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_attributes, atspi_accessible_get_attributes, GHashTable *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_accessible_get_child_at_index, atspi_accessible_get_child_at_index, AtspiAccessible *(AtspiAccessible *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_child_count, atspi_accessible_get_child_count, gint(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_collection_iface, atspi_accessible_get_collection_iface, AtspiCollection *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_component_iface, atspi_accessible_get_component_iface, AtspiComponent *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_description, atspi_accessible_get_description, gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_editable_text_iface, atspi_accessible_get_editable_text_iface, AtspiEditableText *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_index_in_parent, atspi_accessible_get_index_in_parent, gint(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_interfaces, atspi_accessible_get_interfaces, GArray *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_localized_role_name, atspi_accessible_get_localized_role_name, gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_name, atspi_accessible_get_name, gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_object_locale, atspi_accessible_get_object_locale, const gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_parent, atspi_accessible_get_parent, AtspiAccessible *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_process_id, atspi_accessible_get_process_id, guint(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_relation_set, atspi_accessible_get_relation_set, GArray *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_role, atspi_accessible_get_role, AtspiRole(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_role_name, atspi_accessible_get_role_name, gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_selection, atspi_accessible_get_selection, AtspiSelection *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_selection_iface, atspi_accessible_get_selection_iface, AtspiSelection *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_state_set, atspi_accessible_get_state_set, AtspiStateSet *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_text_iface, atspi_accessible_get_text_iface, AtspiText *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_accessible_get_toolkit_name, atspi_accessible_get_toolkit_name, gchar *(AtspiAccessible *, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_accessible_get_value_iface, atspi_accessible_get_value_iface, AtspiValue *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_action_do_action, atspi_action_do_action, gboolean(AtspiAction *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_action_get_action_name, atspi_action_get_action_name, gchar *(AtspiAction *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_action_get_n_actions, atspi_action_get_n_actions, gint(AtspiAction *, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_action_get_name, atspi_action_get_name, gchar *(AtspiAction *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK6(mock_atspi_collection_get_matches, atspi_collection_get_matches, GArray *(AtspiCollection *, AtspiMatchRule *, AtspiCollectionSortOrder, gint, gboolean, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_component_clear_highlight, atspi_component_clear_highlight, gboolean(AtspiComponent *, GError **)); +IMPLEMENT_FUNCTION_MOCK5(mock_atspi_component_contains, atspi_component_contains, gboolean(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); +IMPLEMENT_FUNCTION_MOCK5(mock_atspi_component_get_accessible_at_point, atspi_component_get_accessible_at_point, AtspiAccessible *(AtspiComponent *, gint, gint, AtspiCoordType, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_component_get_extents, atspi_component_get_extents, AtspiRect *(AtspiComponent *, AtspiCoordType, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_component_get_highlight_index, atspi_component_get_highlight_index, int(AtspiComponent *, GError **)); +IMPLEMENT_FUNCTION_MOCK0(mock_atspi_component_get_type, atspi_component_get_type, GType()); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_component_grab_focus, atspi_component_grab_focus, gboolean(AtspiComponent *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_component_grab_highlight, atspi_component_grab_highlight, gboolean(AtspiComponent *, GError **)); +IMPLEMENT_FUNCTION_MOCK5(mock_atspi_deregister_keystroke_listener, atspi_deregister_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_device_listener_new, atspi_device_listener_new, AtspiDeviceListener *(AtspiDeviceListenerCB, void *, GDestroyNotify)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_event_listener_deregister, atspi_event_listener_deregister, gboolean(AtspiEventListener *, const gchar *, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_event_listener_new, atspi_event_listener_new, AtspiEventListener *(AtspiEventListenerCB, gpointer, GDestroyNotify)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_event_listener_new_simple, atspi_event_listener_new_simple, AtspiEventListener *(AtspiEventListenerSimpleCB, GDestroyNotify)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_event_listener_register, atspi_event_listener_register, gboolean(AtspiEventListener *, const gchar *, GError **)); +IMPLEMENT_FUNCTION_MOCK0(mock_atspi_exit, atspi_exit, int()); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_get_desktop, atspi_get_desktop, AtspiAccessible *(gint)); +IMPLEMENT_FUNCTION_MOCK0(mock_atspi_init, atspi_init, int()); +IMPLEMENT_FUNCTION_MOCK9(mock_atspi_match_rule_new, atspi_match_rule_new, AtspiMatchRule *(AtspiStateSet *, AtspiCollectionMatchType, GHashTable *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, GArray *, AtspiCollectionMatchType, gboolean)); +IMPLEMENT_FUNCTION_MOCK6(mock_atspi_register_keystroke_listener, atspi_register_keystroke_listener, gboolean(AtspiDeviceListener *, GArray *, AtspiKeyMaskType, AtspiKeyEventMask, AtspiKeyListenerSyncType, GError **)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_relation_get_n_targets, atspi_relation_get_n_targets, gint(AtspiRelation *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_relation_get_relation_type, atspi_relation_get_relation_type, AtspiRelationType(AtspiRelation *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_relation_get_target, atspi_relation_get_target, AtspiAccessible *(AtspiRelation *, gint)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_selection_deselect_child, atspi_selection_deselect_child, gboolean(AtspiSelection *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_selection_get_n_selected_children, atspi_selection_get_n_selected_children, gint(AtspiSelection *, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_selection_is_child_selected, atspi_selection_is_child_selected, gboolean(AtspiSelection *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_selection_select_child, atspi_selection_select_child, gboolean(AtspiSelection *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_state_set_add, atspi_state_set_add, void(AtspiStateSet *, AtspiStateType)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_state_set_contains, atspi_state_set_contains, gboolean(AtspiStateSet *, AtspiStateType)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_state_set_get_states, atspi_state_set_get_states, GArray *(AtspiStateSet *)); +IMPLEMENT_FUNCTION_MOCK1(mock_atspi_state_set_new, atspi_state_set_new, AtspiStateSet *(GArray *)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_text_get_caret_offset, atspi_text_get_caret_offset, gint(AtspiText *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_text_get_character_count, atspi_text_get_character_count, gint(AtspiText *, GError **)); +IMPLEMENT_FUNCTION_MOCK4(mock_atspi_text_get_text, atspi_text_get_text, gchar *(AtspiText *, gint, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_text_set_caret_offset, atspi_text_set_caret_offset, gboolean(AtspiText *, gint, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_value_get_current_value, atspi_value_get_current_value, gdouble(AtspiValue *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_value_get_maximum_value, atspi_value_get_maximum_value, gdouble(AtspiValue *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_value_get_minimum_increment, atspi_value_get_minimum_increment, gdouble(AtspiValue *, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_atspi_value_get_minimum_value, atspi_value_get_minimum_value, gdouble(AtspiValue *, GError **)); +IMPLEMENT_FUNCTION_MOCK3(mock_atspi_value_set_current_value, atspi_value_set_current_value, gboolean(AtspiValue *, gdouble, GError **)); +IMPLEMENT_FUNCTION_MOCK2(mock_backtrace, backtrace, int(void **, int)); +IMPLEMENT_FUNCTION_MOCK2(mock_continue_scroll, continue_scroll, void(int, int)); +IMPLEMENT_FUNCTION_MOCK2(mock_dbus_direct_reading_adapter_emit, dbus_direct_reading_adapter_emit, int(const Signal, int)); +IMPLEMENT_FUNCTION_MOCK0(mock_dbus_direct_reading_init, dbus_direct_reading_init, int()); +IMPLEMENT_FUNCTION_MOCK0(mock_dbus_direct_reading_shutdown, dbus_direct_reading_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK1(mock_dbus_gesture_adapter_emit, dbus_gesture_adapter_emit, void(const Gesture_Info *)); +IMPLEMENT_FUNCTION_MOCK0(mock_dbus_gesture_adapter_init, dbus_gesture_adapter_init, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_dbus_gesture_adapter_shutdown, dbus_gesture_adapter_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_device_battery_get, device_battery_get, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_device_bluetooth_get, device_bluetooth_get, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_device_date_get, device_date_get, void()); +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_MOCK0(mock_device_missed_events_get, device_missed_events_get, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_device_signal_strenght_get, device_signal_strenght_get, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_device_time_get, device_time_get, void()); +IMPLEMENT_FUNCTION_MOCK3(mock_dlog_print, dlog_print, int(log_priority, const char *, const char *)); +IMPLEMENT_FUNCTION_MOCK3(mock_ecore_event_handler_add, ecore_event_handler_add, Ecore_Event_Handler *(int, Ecore_Event_Handler_Cb, const void *)); +IMPLEMENT_FUNCTION_MOCK1(mock_ecore_event_handler_del, ecore_event_handler_del, void *(Ecore_Event_Handler *)); +IMPLEMENT_FUNCTION_MOCK0(mock_ecore_init, ecore_init, int()); +IMPLEMENT_FUNCTION_MOCK0(mock_ecore_shutdown, ecore_shutdown, int()); +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_ecore_timer_reset, ecore_timer_reset, void(Ecore_Timer *)); +IMPLEMENT_FUNCTION_MOCK1(mock_ecore_wl_init, ecore_wl_init, int(const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_ecore_wl_screen_size_get, ecore_wl_screen_size_get, void(int *, int *)); +IMPLEMENT_FUNCTION_MOCK0(mock_ecore_wl_shutdown, ecore_wl_shutdown, int()); +IMPLEMENT_FUNCTION_MOCK1(mock_ecore_wl_window_free, ecore_wl_window_free, void(Ecore_Wl_Window *)); +IMPLEMENT_FUNCTION_MOCK6(mock_ecore_wl_window_new, ecore_wl_window_new, Ecore_Wl_Window *(Ecore_Wl_Window *, int, int, int, int, int)); +IMPLEMENT_FUNCTION_MOCK1(mock_ecore_wl_window_raise, ecore_wl_window_raise, void(Ecore_Wl_Window *)); +IMPLEMENT_FUNCTION_MOCK1(mock_ecore_wl_window_show, ecore_wl_window_show, void(Ecore_Wl_Window *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eina_hash_add, eina_hash_add, Eina_Bool(Eina_Hash *, const void *, const void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_hash_del_by_key, eina_hash_del_by_key, Eina_Bool(Eina_Hash *, const void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_hash_find, eina_hash_find, void *(const Eina_Hash *, const void *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_hash_population, eina_hash_population, int(const Eina_Hash *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eina_inarray_alloc_at, eina_inarray_alloc_at, void *(Eina_Inarray *, unsigned int, unsigned int)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_inarray_count, eina_inarray_count, unsigned int(const Eina_Inarray *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_inarray_nth, eina_inarray_nth, void *(const Eina_Inarray *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_inarray_remove_at, eina_inarray_remove_at, Eina_Bool(Eina_Inarray *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_list_append, eina_list_append, Eina_List *(Eina_List *, const void *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eina_list_append_relative_list, eina_list_append_relative_list, Eina_List *(Eina_List *, const void *, Eina_List *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_list_nth_list, eina_list_nth_list, Eina_List *(const Eina_List *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_list_prepend, eina_list_prepend, Eina_List *(Eina_List *, const void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_list_remove, eina_list_remove, Eina_List *(Eina_List *, const void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_list_remove_list, eina_list_remove_list, Eina_List *(Eina_List *, Eina_List *)); +IMPLEMENT_FUNCTION_MOCK0(mock_eina_log_color_disable_get, eina_log_color_disable_get, Eina_Bool()); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_log_domain_registered_level_get, eina_log_domain_registered_level_get, int(int)); +IMPLEMENT_FUNCTION_MOCK0(mock_eina_log_level_get, eina_log_level_get, int()); +IMPLEMENT_FUNCTION_MOCK6(mock_eina_log_print, eina_log_print, void(int, Eina_Log_Level, const char *, const char *, int, const char *)); +IMPLEMENT_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)); +IMPLEMENT_FUNCTION_MOCK4(mock_eina_str_split_full, eina_str_split_full, char **(const char *, const char *, int, unsigned int *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_strbuf_append_printf, eina_strbuf_append_printf, Eina_Bool(Eina_Strbuf *, const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_strbuf_free, eina_strbuf_free, void(Eina_Strbuf *)); +IMPLEMENT_FUNCTION_MOCK0(mock_eina_strbuf_new, eina_strbuf_new, Eina_Strbuf *()); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_strbuf_string_steal, eina_strbuf_string_steal, char *(Eina_Strbuf *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_stringshare_add, eina_stringshare_add, Eina_Stringshare *(const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_stringshare_add_length, eina_stringshare_add_length, Eina_Stringshare *(const char *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_stringshare_del, eina_stringshare_del, void(Eina_Stringshare *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_stringshare_ref, eina_stringshare_ref, Eina_Stringshare *(Eina_Stringshare *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_unicode_unicode_to_utf8, eina_unicode_unicode_to_utf8, char *(const Eina_Unicode *, int *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_ustringshare_add, eina_ustringshare_add, const Eina_Unicode *(const Eina_Unicode *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_ustringshare_add_length, eina_ustringshare_add_length, const Eina_Unicode *(const Eina_Unicode *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_ustringshare_del, eina_ustringshare_del, void(const Eina_Unicode *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eina_value_copy, eina_value_copy, Eina_Bool(const Eina_Value *, Eina_Value *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_value_new, eina_value_new, Eina_Value *(const Eina_Value_Type *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eina_value_type_check, eina_value_type_check, Eina_Bool(const Eina_Value_Type *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_address_connection_get, eldbus_address_connection_get, Eldbus_Connection *(const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_connection_get, eldbus_connection_get, Eldbus_Connection *(Eldbus_Connection_Type)); +IMPLEMENT_FUNCTION_MOCK5(mock_eldbus_connection_send, eldbus_connection_send, Eldbus_Pending *(Eldbus_Connection *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_connection_unref, eldbus_connection_unref, void(Eldbus_Connection *)); +IMPLEMENT_FUNCTION_MOCK0(mock_eldbus_init, eldbus_init, int()); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_message_arguments_append, eldbus_message_arguments_append, Eina_Bool(Eldbus_Message *, const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_message_arguments_get, eldbus_message_arguments_get, Eina_Bool(const Eldbus_Message *, const char *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_message_error_get, eldbus_message_error_get, Eina_Bool(const Eldbus_Message *, const char **, const char **)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_message_iter_arguments_append, eldbus_message_iter_arguments_append, Eina_Bool(Eldbus_Message_Iter *, const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_message_iter_arguments_get, eldbus_message_iter_arguments_get, Eina_Bool(Eldbus_Message_Iter *, const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_message_iter_container_close, eldbus_message_iter_container_close, Eina_Bool(Eldbus_Message_Iter *, Eldbus_Message_Iter *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_message_iter_container_new, eldbus_message_iter_container_new, Eldbus_Message_Iter *(Eldbus_Message_Iter *, int, const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_message_iter_get, eldbus_message_iter_get, Eldbus_Message_Iter *(const Eldbus_Message *)); +IMPLEMENT_FUNCTION_MOCK4(mock_eldbus_message_method_call_new, eldbus_message_method_call_new, Eldbus_Message *(const char *, const char *, const char *, const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_message_method_return_new, eldbus_message_method_return_new, Eldbus_Message *(const Eldbus_Message *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_message_ref, eldbus_message_ref, Eldbus_Message *(Eldbus_Message *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_message_unref, eldbus_message_unref, void(Eldbus_Message *)); +IMPLEMENT_FUNCTION_MOCK4(mock_eldbus_name_release, eldbus_name_release, Eldbus_Pending *(Eldbus_Connection *, const char *, Eldbus_Message_Cb, const void *)); +IMPLEMENT_FUNCTION_MOCK5(mock_eldbus_name_request, eldbus_name_request, Eldbus_Pending *(Eldbus_Connection *, const char *, unsigned int, Eldbus_Message_Cb, const void *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_object_get, eldbus_object_get, Eldbus_Object *(Eldbus_Connection *, const char *, const char *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_object_unref, eldbus_object_unref, void(Eldbus_Object *)); +IMPLEMENT_FUNCTION_MOCK6(mock_eldbus_proxy_call, eldbus_proxy_call, Eldbus_Pending *(Eldbus_Proxy *, const char *, Eldbus_Message_Cb, const void *, double, const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_proxy_get, eldbus_proxy_get, Eldbus_Proxy *(Eldbus_Object *, const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_proxy_method_call_new, eldbus_proxy_method_call_new, Eldbus_Message *(Eldbus_Proxy *, const char *)); +IMPLEMENT_FUNCTION_MOCK5(mock_eldbus_proxy_send, eldbus_proxy_send, Eldbus_Pending *(Eldbus_Proxy *, Eldbus_Message *, Eldbus_Message_Cb, const void *, double)); +IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_proxy_send_and_block, eldbus_proxy_send_and_block, Eldbus_Message *(Eldbus_Proxy *, Eldbus_Message *, double)); +IMPLEMENT_FUNCTION_MOCK4(mock_eldbus_proxy_signal_handler_add, eldbus_proxy_signal_handler_add, Eldbus_Signal_Handler *(Eldbus_Proxy *, const char *, Eldbus_Signal_Cb, const void *)); +IMPLEMENT_FUNCTION_MOCK3(mock_eldbus_service_interface_register, eldbus_service_interface_register, Eldbus_Service_Interface *(Eldbus_Connection *, const char *, const Eldbus_Service_Interface_Desc *)); +IMPLEMENT_FUNCTION_MOCK1(mock_eldbus_service_object_unregister, eldbus_service_object_unregister, void(Eldbus_Service_Interface *)); +IMPLEMENT_FUNCTION_MOCK2(mock_eldbus_service_signal_emit, eldbus_service_signal_emit, Eina_Bool(const Eldbus_Service_Interface *, unsigned int)); +IMPLEMENT_FUNCTION_MOCK0(mock_eldbus_shutdown, eldbus_shutdown, int()); +IMPLEMENT_FUNCTION_MOCK2(mock_elm_init, elm_init, int(int, char **)); +IMPLEMENT_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 *)); +IMPLEMENT_FUNCTION_MOCK3(mock_elm_naviframe_item_title_enabled_set, elm_naviframe_item_title_enabled_set, void(Elm_Object_Item *, Eina_Bool, Eina_Bool)); +IMPLEMENT_FUNCTION_MOCK2(mock_end_scroll, end_scroll, void(int, int)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_create, flat_navi_context_create, FlatNaviContext *(AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK4(mock_flat_navi_context_current_at_x_y_set, flat_navi_context_current_at_x_y_set, Eina_Bool(FlatNaviContext *, gint, gint, AtspiAccessible **)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_current_get, flat_navi_context_current_get, AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK2(mock_flat_navi_context_current_set, flat_navi_context_current_set, Eina_Bool(FlatNaviContext *, AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_first, flat_navi_context_first, AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_free, flat_navi_context_free, void(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last, flat_navi_context_last, AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_last_get, flat_navi_context_last_get, const AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_next, flat_navi_context_next, AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_prev, flat_navi_context_prev, AtspiAccessible *(FlatNaviContext *)); +IMPLEMENT_FUNCTION_MOCK1(mock_flat_navi_context_root_get, flat_navi_context_root_get, AtspiAccessible *(FlatNaviContext *)); +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(FlatNaviContext *, AtspiAccessible *)); +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_MOCK2(mock_haptic_vibrate_start, haptic_vibrate_start, void(int, int)); +IMPLEMENT_FUNCTION_MOCK2(mock_keyboard_event_status, keyboard_event_status, Eina_Bool(int, int)); +IMPLEMENT_FUNCTION_MOCK4(mock_keyboard_geometry_set, keyboard_geometry_set, void(int, int, int, int)); +IMPLEMENT_FUNCTION_MOCK3(mock_keyboard_signal_emit, keyboard_signal_emit, void(int, int, int)); +IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_init, keyboard_tracker_init, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_keyboard_tracker_shutdown, keyboard_tracker_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_navigator_init, navigator_init, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_navigator_shutdown, navigator_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK1(mock_screen_reader_create_service, screen_reader_create_service, int(void *)); +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_MOCK1(mock_set_utterance_cb, set_utterance_cb, void(void (*)(void))); +IMPLEMENT_FUNCTION_MOCK3(mock_smart_notification, smart_notification, void(Notification_Type, int, int)); +IMPLEMENT_FUNCTION_MOCK0(mock_smart_notification_init, smart_notification_init, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_smart_notification_shutdown, smart_notification_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_get_text_to_read, spi_event_get_text_to_read, char *(AtspiEvent *, void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_spi_event_listener_cb, spi_event_listener_cb, void(AtspiEvent *, void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_start_scroll, start_scroll, void(int, int)); +IMPLEMENT_FUNCTION_MOCK4(mock_state_changed_cb, state_changed_cb, void(tts_h, tts_state_e, tts_state_e, void *)); +IMPLEMENT_FUNCTION_MOCK0(mock_system_notifications_init, system_notifications_init, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_system_notifications_shutdown, system_notifications_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK6(mock_tts_add_text, tts_add_text, int(tts_h, const char *, const char *, int, int, int *)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_create, tts_create, int(tts_h *)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_destroy, tts_destroy, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK3(mock_tts_foreach_supported_voices, tts_foreach_supported_voices, int(tts_h, tts_supported_voice_cb, void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_tts_get_state, tts_get_state, int(tts_h, tts_state_e *)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_init, tts_init, _Bool(void *)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause, tts_pause, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK0(mock_tts_pause_get, tts_pause_get, Eina_Bool()); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_pause_set, tts_pause_set, Eina_Bool(Eina_Bool)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_play, tts_play, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_prepare, tts_prepare, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK2(mock_tts_set_mode, tts_set_mode, int(tts_h, tts_mode_e)); +IMPLEMENT_FUNCTION_MOCK3(mock_tts_set_state_changed_cb, tts_set_state_changed_cb, int(tts_h, tts_state_changed_cb, void *)); +IMPLEMENT_FUNCTION_MOCK3(mock_tts_set_utterance_completed_cb, tts_set_utterance_completed_cb, int(tts_h, tts_utterance_completed_cb, void *)); +IMPLEMENT_FUNCTION_MOCK3(mock_tts_set_utterance_started_cb, tts_set_utterance_started_cb, int(tts_h, tts_utterance_started_cb, void *)); +IMPLEMENT_FUNCTION_MOCK2(mock_tts_speak, tts_speak, Read_Command *(char *, Eina_Bool)); +IMPLEMENT_FUNCTION_MOCK4(mock_tts_speak_customized, tts_speak_customized, Read_Command *(char *, Eina_Bool, Eina_Bool, AtspiAccessible *)); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_stop, tts_stop, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK0(mock_tts_stop_set, tts_stop_set, void()); +IMPLEMENT_FUNCTION_MOCK1(mock_tts_unprepare, tts_unprepare, int(tts_h)); +IMPLEMENT_FUNCTION_MOCK0(mock_ui_app_exit, ui_app_exit, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_vconf_exit, vconf_exit, void()); +IMPLEMENT_FUNCTION_MOCK2(mock_vconf_get_bool, vconf_get_bool, int(const char *, int *)); +IMPLEMENT_FUNCTION_MOCK2(mock_vconf_get_int, vconf_get_int, int(const char *, int *)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_get_str, vconf_get_str, char *(const char *)); +IMPLEMENT_FUNCTION_MOCK2(mock_vconf_ignore_key_changed, vconf_ignore_key_changed, int(const char *, vconf_callback_fn)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_init, vconf_init, _Bool(Service_Data *)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_keylist_free, vconf_keylist_free, int(keylist_t *)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_keynode_get_bool, vconf_keynode_get_bool, int(keynode_t *)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_keynode_get_str, vconf_keynode_get_str, char *(keynode_t *)); +IMPLEMENT_FUNCTION_MOCK3(mock_vconf_notify_key_changed, vconf_notify_key_changed, int(const char *, vconf_callback_fn, void *)); +IMPLEMENT_FUNCTION_MOCK1(mock_vconf_set, vconf_set, int(keylist_t *)); +IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_active_window_request, window_tracker_active_window_request, void()); +IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_init, window_tracker_init, void()); +IMPLEMENT_FUNCTION_MOCK2(mock_window_tracker_register, window_tracker_register, void(Window_Tracker_Cb, void *)); +IMPLEMENT_FUNCTION_MOCK0(mock_window_tracker_shutdown, window_tracker_shutdown, void()); +IMPLEMENT_FUNCTION_MOCK3(mock_wl_proxy_add_listener, wl_proxy_add_listener, int(struct wl_proxy *, void (**)(void), void *)); +IMPLEMENT_FUNCTION_MOCK1(mock_wl_proxy_destroy, wl_proxy_destroy, void(struct wl_proxy *)); +IMPLEMENT_FUNCTION_MOCK1(mock_wl_proxy_get_user_data, wl_proxy_get_user_data, void *(struct wl_proxy *)); +IMPLEMENT_FUNCTION_MOCK1(mock_wl_proxy_get_version, wl_proxy_get_version, uint32_t(struct wl_proxy *)); +IMPLEMENT_FUNCTION_MOCK2(mock_wl_proxy_marshal, wl_proxy_marshal, void(struct wl_proxy *, uint32_t)); +IMPLEMENT_FUNCTION_MOCK3(mock_wl_proxy_marshal_constructor, wl_proxy_marshal_constructor, struct wl_proxy *(struct wl_proxy *, uint32_t, const struct wl_interface *)); +IMPLEMENT_FUNCTION_MOCK4(mock_wl_proxy_marshal_constructor_versioned, wl_proxy_marshal_constructor_versioned, struct wl_proxy *(struct wl_proxy *, uint32_t, const struct wl_interface *, uint32_t)); +IMPLEMENT_FUNCTION_MOCK2(mock_wl_proxy_set_user_data, wl_proxy_set_user_data, void(struct wl_proxy *, void *));