]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change get opts tests single file
authorBastian Dehn <hhaalo@arcor.de>
Tue, 7 Oct 2025 09:58:20 +0000 (11:58 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 7 Oct 2025 09:58:20 +0000 (11:58 +0200)
tests/CMakeLists.txt
tests/kds_s2000w_net_get_opt_tests.c
tests/kds_s2000w_net_get_opt_tests.h [deleted file]
tests/kds_s2000w_net_get_opt_tests_run.c [deleted file]

index 7b672e26a8f4ad0f6482161660203cefdcd1e91d..2bdf3499cff38ae1179de631fc135d1ea5e8f1da 100644 (file)
@@ -4,12 +4,11 @@ FIND_PACKAGE(CMOCKA REQUIRED)
 
 MESSAGE(STATUS "find ${CMOCKA_LIBRARY}")
 
-ADD_EXECUTABLE("kds_s2000w_net_get_opt_tests_run"
-       "kds_s2000w_net_get_opt_tests_run.c"
+ADD_EXECUTABLE("kds_s2000w_net_get_opt_tests"
        "kds_s2000w_net_get_opt_tests.c"
        "kds_s2000w_client_mock.c")
-ADD_DEPENDENCIES("kds_s2000w_net_get_opt_tests_run" sane-kds_s2000w_net-static)
-TARGET_LINK_LIBRARIES("kds_s2000w_net_get_opt_tests_run"
+ADD_DEPENDENCIES("kds_s2000w_net_get_opt_tests" sane-kds_s2000w_net-static)
+TARGET_LINK_LIBRARIES("kds_s2000w_net_get_opt_tests"
        ${CMOCKA_LIBRARY}
        sane-kds_s2000w_net-static)
 
@@ -67,7 +66,7 @@ TARGET_LINK_LIBRARIES("kds_s2000w_image_type_check_tests"
 ADD_CUSTOM_TARGET("runningtests"
        ALL ./kds_s2000w_read_config_tests_run
        COMMAND ./kds_s2000w_option_descriptor_tests_run
-       COMMAND ./kds_s2000w_net_get_opt_tests_run
+       COMMAND ./kds_s2000w_net_get_opt_tests
        COMMAND ./kds_s2000w_net_tests_run
        COMMAND ./kds_s2000w_net_read_tests_run
        COMMAND ./kds_s2000w_image_type_check_tests
@@ -75,7 +74,7 @@ ADD_CUSTOM_TARGET("runningtests"
        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
        DEPENDS "kds_s2000w_read_config_tests_run"
        "kds_s2000w_option_descriptor_tests_run"
-       "kds_s2000w_net_get_opt_tests_run"
+       "kds_s2000w_net_get_opt_tests"
        "kds_s2000w_net_tests_run"
        "kds_s2000w_net_read_tests_run"
        "kds_s2000w_image_type_check_tests"
index 2fe9b3a098c2b2c533cd5379e374174af9b8c2b7..f422a447ef89d0b335b1a067b0dae64ae0d60623 100644 (file)
@@ -1,3 +1,10 @@
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <setjmp.h>
+#include <cmocka.h>
+#include <stdlib.h>
+#include <string.h>
 #include <stdlib.h>
 #include <sane/sane.h>
 #include <string.h>
@@ -6,9 +13,86 @@
 #include "../src/kds_s2000w_client.h"
 #include "../src/kds_s2000w_net.h"
 #include "../src/kds_s2000w_handler.h"
+#include "../src/kds_s2000w_option_descriptors.h"
 
 #define FULL_PROFILE_MAX_OPTION_COUNT 48
 
+int setup_default_get_option(void** state)
+{
+       kds_s2000w_option_descriptors_init(PROFILE_FULL);
+       response* resp = kds_s2000w_client_response_init();
+       const char* responsedata = "{ \
+               \"Status\": { \
+                       \"NumImagesScanned\": 0, \
+                       \"NumImagesStored\": 0, \
+                       \"State\": \"In Session\", \
+                       \"ErrorNum\": 0, \
+                       \"LastError\": \"Status: 200 Success\", \
+                       \"PaperDetected\": \"0\", \
+                       \"PercentAvailable\": 99 \
+               }, \
+               \"Configuration\": { \
+                       \"DPI\": 200, \
+                       \"ScanSide\": \"Duplex\", \
+                       \"ColorMode\": \"Color\", \
+                       \"SkipBlankPages\": 0, \
+                       \"SkipBlankPagesContent\": 5, \
+                       \"AutoStart\": 0, \
+                       \"ColorDropOut\": \"None\", \
+                       \"ColorDropOutAggressiveness\" :0, \
+                       \"OutputType\": \"Images\", \
+                       \"ColorAutoBrightnessMode\": \"Automatic\", \
+                       \"ColorBrightness\": 0, \
+                       \"ColorContrast\": 0, \
+                       \"ColorBalanceMode\": \"Automatic\", \
+                       \"ColorBalanceAggressiveness\": 0, \
+                       \"ColorBalanceRed\": 0, \
+                       \"ColorBalanceGreen\": 0, \
+                       \"ColorBalanceBlue\": 0, \
+                       \"ColorSharpen\": \"Normal\", \
+                       \"ForegroundBoldnessMode\": \"None\", \
+                       \"ForegroundBoldnessAggressiveness\": 0, \
+                       \"BackgroundSmoothingMode\": \"None\", \
+                       \"BackgroundSmoothingAggressiveness\": 0, \
+                       \"BinarizationMode\": \"iThresholding\", \
+                       \"BinarizationContrast\": 0, \
+                       \"MaxDocumentLength\": 140, \
+                       \"MultifeedSensitivity\": \"None\", \
+                       \"MultifeedResponse\": \"Stop\", \
+                       \"PostScanRotation\": \"Automatic\", \
+                       \"EdgeFill\": \"Automatic\", \
+                       \"ScanSource\": \"DocumentFeeder\", \
+                       \"ImageBorder\": \"None\", \
+                       \"TransportHandling\": \"Normal\", \
+                       \"DocumentFeederTimeout\": 2, \
+                       \"DocumentFeederTimeoutResponse\": \"Stop\", \
+                       \"JpegQuality\": \"Good\", \
+                       \"HoleFill\": 0, \
+                       \"CroppingMode\": \"AutomaticStraighten\", \
+                       \"CroppingImage\": \"EntireDocument\", \
+                       \"ImageOffsetX\": 0, \
+                       \"ImageOffsetY\": 0, \
+                       \"ImageWidth\": 10, \
+                       \"ImageHeight\": 10 \
+               } \
+       }";
+       resp->size = 1503;
+       resp->data = malloc(resp->size);
+       memcpy(resp->data, responsedata, resp->size);
+       resp->code = 200;
+       *state = resp;
+       return 0;
+}
+
+int teardown_default_get_option(void** state)
+{
+       kds_s2000w_option_descriptors_free();
+       response* resp = (response*) *state;
+       kds_s2000w_client_response_free(resp);
+       resp = NULL;
+       return 0;
+}
+
 void sane_kds_s2000w_net_control_get_option_zero_test(void** state)
 {
        response* resp = (response*) *state;
@@ -628,4 +712,53 @@ void sane_kds_s2000w_net_control_get_option_fourtyseven_test(void** state)
 
        kds_s2000w_handler_free(h);
        h = NULL;
+}
+
+int main()
+{
+       const struct CMUnitTest net_tests[] = {
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_zero_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_two_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_three_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_four_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_five_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_seven_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_eight_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_nine_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_ten_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_eleven_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twelve_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourteen_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fifteen_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_sixteen_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_seventeen_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_nineteen_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twenty_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyone_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentytwo_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentythree_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyfour_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyfive_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentysix_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyseven_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyeight_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentynine_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdy_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdythree_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyfour_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyfive_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdysix_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyseven_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyeight_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdynine_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyone_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtytwo_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtythree_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyfour_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyfive_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtysix_test, setup_default_get_option, teardown_default_get_option),
+               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyseven_test, setup_default_get_option, teardown_default_get_option)
+       };
+
+       return cmocka_run_group_tests(net_tests, NULL, NULL);
 }
\ No newline at end of file
diff --git a/tests/kds_s2000w_net_get_opt_tests.h b/tests/kds_s2000w_net_get_opt_tests.h
deleted file mode 100644 (file)
index d8cd008..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef KDS_S2000W_NET_GET_OPT_TESTS_H
-#define KDS_S2000W_NET_GET_OPT_TESTS_H
-#include <stdarg.h>
-#include <stddef.h>
-#include <stdint.h>
-#include <setjmp.h>
-#include <cmocka.h>
-
-void sane_kds_s2000w_net_control_get_option_zero_test(void** state);
-void sane_kds_s2000w_net_control_get_option_two_test(void** state);
-void sane_kds_s2000w_net_control_get_option_three_test(void** state);
-void sane_kds_s2000w_net_control_get_option_four_test(void** state);
-void sane_kds_s2000w_net_control_get_option_five_test(void** state);
-void sane_kds_s2000w_net_control_get_option_seven_test(void** state);
-void sane_kds_s2000w_net_control_get_option_eight_test(void** state);
-void sane_kds_s2000w_net_control_get_option_nine_test(void** state);
-void sane_kds_s2000w_net_control_get_option_ten_test(void** state);
-void sane_kds_s2000w_net_control_get_option_eleven_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twelve_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourteen_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fifteen_test(void** state);
-void sane_kds_s2000w_net_control_get_option_sixteen_test(void** state);
-void sane_kds_s2000w_net_control_get_option_seventeen_test(void** state);
-void sane_kds_s2000w_net_control_get_option_nineteen_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twenty_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentyone_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentytwo_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentythree_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentyfour_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentyfive_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentysix_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentyseven_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentyeight_test(void** state);
-void sane_kds_s2000w_net_control_get_option_twentynine_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdy_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdythree_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdyfour_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdyfive_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdysix_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdyseven_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdyeight_test(void** state);
-void sane_kds_s2000w_net_control_get_option_thirdynine_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtyone_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtytwo_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtythree_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtyfour_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtyfive_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtysix_test(void** state);
-void sane_kds_s2000w_net_control_get_option_fourtyseven_test(void** state);
-
-#endif
\ No newline at end of file
diff --git a/tests/kds_s2000w_net_get_opt_tests_run.c b/tests/kds_s2000w_net_get_opt_tests_run.c
deleted file mode 100644 (file)
index 6acdfd6..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-#include "kds_s2000w_net_get_opt_tests.h"
-#include "../src/kds_s2000w_client.h"
-#include "../src/kds_s2000w_option_descriptors.h"
-
-int setup_default_get_option(void** state)
-{
-       kds_s2000w_option_descriptors_init(PROFILE_FULL);
-       response* resp = kds_s2000w_client_response_init();
-       const char* responsedata = "{ \
-               \"Status\": { \
-                       \"NumImagesScanned\": 0, \
-                       \"NumImagesStored\": 0, \
-                       \"State\": \"In Session\", \
-                       \"ErrorNum\": 0, \
-                       \"LastError\": \"Status: 200 Success\", \
-                       \"PaperDetected\": \"0\", \
-                       \"PercentAvailable\": 99 \
-               }, \
-               \"Configuration\": { \
-                       \"DPI\": 200, \
-                       \"ScanSide\": \"Duplex\", \
-                       \"ColorMode\": \"Color\", \
-                       \"SkipBlankPages\": 0, \
-                       \"SkipBlankPagesContent\": 5, \
-                       \"AutoStart\": 0, \
-                       \"ColorDropOut\": \"None\", \
-                       \"ColorDropOutAggressiveness\" :0, \
-                       \"OutputType\": \"Images\", \
-                       \"ColorAutoBrightnessMode\": \"Automatic\", \
-                       \"ColorBrightness\": 0, \
-                       \"ColorContrast\": 0, \
-                       \"ColorBalanceMode\": \"Automatic\", \
-                       \"ColorBalanceAggressiveness\": 0, \
-                       \"ColorBalanceRed\": 0, \
-                       \"ColorBalanceGreen\": 0, \
-                       \"ColorBalanceBlue\": 0, \
-                       \"ColorSharpen\": \"Normal\", \
-                       \"ForegroundBoldnessMode\": \"None\", \
-                       \"ForegroundBoldnessAggressiveness\": 0, \
-                       \"BackgroundSmoothingMode\": \"None\", \
-                       \"BackgroundSmoothingAggressiveness\": 0, \
-                       \"BinarizationMode\": \"iThresholding\", \
-                       \"BinarizationContrast\": 0, \
-                       \"MaxDocumentLength\": 140, \
-                       \"MultifeedSensitivity\": \"None\", \
-                       \"MultifeedResponse\": \"Stop\", \
-                       \"PostScanRotation\": \"Automatic\", \
-                       \"EdgeFill\": \"Automatic\", \
-                       \"ScanSource\": \"DocumentFeeder\", \
-                       \"ImageBorder\": \"None\", \
-                       \"TransportHandling\": \"Normal\", \
-                       \"DocumentFeederTimeout\": 2, \
-                       \"DocumentFeederTimeoutResponse\": \"Stop\", \
-                       \"JpegQuality\": \"Good\", \
-                       \"HoleFill\": 0, \
-                       \"CroppingMode\": \"AutomaticStraighten\", \
-                       \"CroppingImage\": \"EntireDocument\", \
-                       \"ImageOffsetX\": 0, \
-                       \"ImageOffsetY\": 0, \
-                       \"ImageWidth\": 10, \
-                       \"ImageHeight\": 10 \
-               } \
-       }";
-       resp->size = 1503;
-       resp->data = malloc(resp->size);
-       memcpy(resp->data, responsedata, resp->size);
-       resp->code = 200;
-       *state = resp;
-       return 0;
-}
-
-int teardown_default_get_option(void** state)
-{
-       kds_s2000w_option_descriptors_free();
-       response* resp = (response*) *state;
-       kds_s2000w_client_response_free(resp);
-       resp = NULL;
-       return 0;
-}
-
-int main()
-{
-       const struct CMUnitTest net_tests[] = {
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_zero_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_two_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_three_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_four_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_five_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_seven_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_eight_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_nine_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_ten_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_eleven_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twelve_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourteen_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fifteen_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_sixteen_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_seventeen_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_nineteen_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twenty_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyone_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentytwo_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentythree_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyfour_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyfive_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentysix_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyseven_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentyeight_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_twentynine_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdy_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdythree_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyfour_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyfive_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdysix_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyseven_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdyeight_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_thirdynine_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyone_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtytwo_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtythree_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyfour_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyfive_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtysix_test, setup_default_get_option, teardown_default_get_option),
-               cmocka_unit_test_setup_teardown(sane_kds_s2000w_net_control_get_option_fourtyseven_test, setup_default_get_option, teardown_default_get_option)
-       };
-
-       return cmocka_run_group_tests(net_tests, NULL, NULL);
-}
\ No newline at end of file