]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove mock heartbeat
authorBastian Dehn <hhaalo@arcor.de>
Thu, 9 Jan 2025 18:25:35 +0000 (19:25 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Thu, 9 Jan 2025 18:25:35 +0000 (19:25 +0100)
CMakeLists.txt
tests/kds_s2000w_client_mock.c
tests/kds_s2000w_client_mock.h

index 750d770779b004e22c8fed74223975ed73e848a9..fe8dce116850824d60fd399b0f230a9b1f4d28d5 100644 (file)
@@ -34,9 +34,8 @@ IF (RUN_TESTS)
 --wrap,kds_s2000w_client_init,\
 --wrap,kds_s2000w_client_free,\
 --wrap,kds_s2000w_convert_tiff_to_pnm,\
---wrap,kds_s2000w_convert_jpg_to_pnm_with_depth,\
---wrap,wait_a_second,\
---wrap,usleep" CACHE STRING "test coverage compiler flags" FORCE)
+--wrap,kds_s2000w_convert_jpg_to_pnm_with_depth"
+CACHE STRING "test coverage compiler flags" FORCE)
 ENDIF()
 
 MESSAGE(STATUS "CMAKE_BUILD_TYPE " ${CMAKE_BUILD_TYPE})
index c4266b0ffb78931d48a2e14826cf94d7cac7a744..9397b01591bf9627279a2371f69db939845ef734 100644 (file)
@@ -17,16 +17,6 @@ void mock_response(response* resp)
        resp->size = mock_resp->size;
 }
 
-void __wrap_wait_a_second()
-{
-       return;
-}
-
-int __wrap_usleep(__useconds_t usec)
-{
-       return 0;
-}
-
 void __wrap_kds_s2000w_client_init()
 {
        return;
index 3c519d2d6829df7d37d1f4a44896dd40d2e5b142..1969f8bcb966e874582a7beee0d94b940be59f4a 100644 (file)
@@ -9,8 +9,6 @@
 #include "../src/kds_s2000w_image_converter.h"
 
 void mock_response(response* resp);
-void __wrap_wait_a_second();
-int __wrap_usleep(__useconds_t usec);
 void __wrap_kds_s2000w_client_init();
 void __wrap_kds_s2000w_client_free();
 int __wrap_kds_s2000w_client_get_option(int64_t sessionid, response* response);