From 4f7d7252c4cb1b5ed0cb8270b68ea8c97543591f Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 15 Feb 2025 20:49:41 +0100 Subject: [PATCH] add new defaults option in get opt tests --- tests/kds_s2000w_net_get_opt_tests_run.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) 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; -- 2.39.5