Commit Graph

37 Commits

Author SHA1 Message Date
Michael Stefaniuc c9f65211bb twain_32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:00 +02:00
Gerald Pfeifer fc324d97bc twain_32: Avoid using an uninitialized variable in the failure path in path in a couple of cases. 2015-03-10 23:44:38 +09:00
Michael Stefaniuc f67893bd82 twain_32/tests: Compile with -D__WINESRC__. 2013-10-18 11:32:06 +02:00
Francois Gouget 499eaca38b twain_32/tests: Generate an error and skip instead of assert()-ing when the setup fails. 2013-07-03 21:20:03 +02:00
Detlef Riekenberg d13b2b658e twain_32/tests: Avoid a Dialog from a DS when the scanner is not connected. 2009-09-16 12:57:09 -05:00
Austin English dca3117f03 twain32: Fix a compiler warning on PC-BSD. 2009-03-25 11:08:05 +01:00
James Hawkins 0b74259f9d twain_32: Fix the use of an uninitialized variable (Coverity 908). 2009-03-23 16:31:28 +01:00
Jeremy White 4b92f6c966 twain_32: Revise internal documentation and one test slightly to bring into line with TWAIN 1.8 requirements. 2009-03-12 13:09:53 +01:00
Jeremy White 33ea7d0801 sane.ds: Add support for DG_IMAGE/DAT_IMAGELAYOUT/GET and SET. Enables Acrobat to use custom scan sizes. 2009-03-12 13:09:53 +01:00
Jeremy White 81b288870e sane.ds: Add support for ICAP_SUPPORTEDSIZES, enabling rational sizing for scans. 2009-03-09 12:28:41 +01:00
Michael Stefaniuc 77f0a71d25 twain_32/tests: Remove superfluous pointer casts. 2009-03-06 15:39:09 +01:00
Jeremy White 28b708ca9e sane.ds: Add support for CAP_FEEDERENABLED. 2009-03-06 12:49:04 +01:00
Jeremy White 513b2b54a4 sane.ds: Add suport for CAP_AUTOFEED, make batch scans the default. 2009-03-06 12:49:04 +01:00
Jeremy White eae4ac9e8f sane.ds: Implement support for ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. 2009-03-06 12:49:04 +01:00
Francois Gouget 2ba5581924 twain_32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:54 +01:00
Jeremy White f75b5ebba6 sane.ds: Added support for ICAP_UNITS. 2009-02-26 12:12:10 +01:00
Jeremy White 982482e7e8 sane.ds: Add support for ICAP_BITDEPTH. 2009-02-26 12:12:01 +01:00
Jeremy White 6ace799f5a sane.ds: Implement support for ICAP_XRESOLUTION and ICAP_YRESOLUTION. 2009-02-24 16:57:29 +01:00
Jeremy White 9bb24b8f7e sane.ds: Implement stub support for ICAP_PIXELFLAVOR. 2009-02-16 12:31:26 +01:00
Francois Gouget ec6285a125 twain_32/tests: Add a trailing '\n' to an ok() call. 2009-02-11 15:56:02 +01:00
Jeremy White b0ec8880e2 sane.ds: Add stub support for ICAP_COMPRESSION. 2009-02-10 12:55:56 +01:00
Jeremy White e02528e629 twain_32: Prevent an incorrect test warning message on get checks. 2009-02-10 12:55:16 +01:00
Jeremy White 2fdd05cffc twain_32: Change get requirements such that we require only a minimum level of support. 2009-02-10 12:55:05 +01:00
Jeremy White 6320266e58 sane.ds: Add support for CAP_UICONTROLLABLE. 2009-02-10 12:53:47 +01:00
Jeremy White 272c1881dd sane.ds: Add partial stub support for ICAP_PIXELTYPE, with tests. Fixes a first crash in Adobe Acrobat scanning support. 2009-02-10 12:53:34 +01:00
Jeremy White 333ef6a098 sane.ds: More correctly stub CAP_XFERCOUNT, and tests. 2009-02-10 12:52:53 +01:00
Francois Gouget ad5b8e5d1e twain_32/tests: Add a trailing '\n' to ok() calls. 2009-02-05 13:14:22 +01:00
Michael Stefaniuc f02f39f60c twain_32/tests: Don't leak memory on an error path (Smatch). 2009-02-04 12:26:09 +01:00
Jeremy White 1199c30c9c twain_32: Add the ability to thoroughly test basic capability types, and add that test for the one capability Wine supports, ICAP_XFERMECH. 2009-02-03 14:01:43 +01:00
Francois Gouget 4d044c6f2a twain_32/tests: Add a trailing '\n' to ok() calls. 2009-01-30 14:05:51 +01:00
Jeremy White 620e81a982 twain_32: Return TWRC_FAILURE/TWCC_NODS when we have no sources. 2009-01-29 13:29:56 +01:00
Jeremy White 768c06d3e5 twain_32: Set the correct condition code for DG_CONTROL/DAT_IDENTITY/MSG_GETDEFAULT. 2009-01-29 13:29:49 +01:00
Jeremy White e93c14fac7 sane.ds: Implement CAP_SUPPORTEDCAPS. 2009-01-29 13:29:41 +01:00
Jeremy White 783e469e8b twain_32: Add a bit more tracing about the scanners found. 2009-01-29 13:27:12 +01:00
Jeremy White b161c1511c twain_32: Add an interactive set of tests for a selected scanner. 2009-01-29 13:27:03 +01:00
Jeremy White f7c267dac0 twain_32: Modify get_condition_status to allow for a specific source. 2009-01-29 13:26:51 +01:00
Jeremy White 499603c360 twain_32: Add an initial test framework for twain_32.dll. 2009-01-27 12:04:07 +01:00