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)
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
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"
+#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>
#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;
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
+++ /dev/null
-#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
+++ /dev/null
-#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