From: Bastian Dehn Date: Sat, 15 Feb 2025 19:49:41 +0000 (+0100) Subject: add new defaults option in get opt tests X-Git-Tag: v1.1.0^2~4^2~48 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=4f7d7252c4cb1b5ed0cb8270b68ea8c97543591f;p=sane-kds-s2000w-net.git add new defaults option in get opt tests --- diff --git a/tests/kds_s2000w_net_get_opt_tests_run.c b/tests/kds_s2000w_net_get_opt_tests_run.c index 00f39bb..9aa3b39 100644 --- a/tests/kds_s2000w_net_get_opt_tests_run.c +++ b/tests/kds_s2000w_net_get_opt_tests_run.c @@ -21,16 +21,20 @@ int setup_default_get_option(void** state) \"ScanSide\": \"Duplex\", \ \"ColorMode\": \"Color\", \ \"SkipBlankPages\": 0, \ + \"SkipBlankPagesContent\": 5, \ \"AutoStart\": 0, \ \"ColorDropOut\": \"None\", \ - \"ColorDropOutAggressiveness\": 0, \ + \"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\", \ @@ -38,10 +42,22 @@ int setup_default_get_option(void** state) \"BinarizationMode\": \"iThresholding\", \ \"BinarizationContrast\": 0, \ \"MaxDocumentLength\": 140, \ - \"ScanSource\": \"DocumentFeeder\" \ + \"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\" \ } \ }"; - resp->size = 918; + resp->size = 1416; resp->data = malloc(resp->size); memcpy(resp->data, responsedata, resp->size); resp->code = 200;