Commit Graph

103 Commits

Author SHA1 Message Date
Michael Stefaniuc 8bbba3fc70 winspool.drv/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 10:01:04 +02:00
Detlef Riekenberg 72ca331431 winspool/tests: Test LastError on success of AddMonitor.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 10:46:59 +01:00
Detlef Riekenberg 4814aad7fe winspool/tests: Add tests for ClosePrinter.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:02:39 +01:00
Michael Stefaniuc c62a95d2df winspool.drv/tests: Remove always true sub-condition (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:20 +09:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Frédéric Delanoy 86f3f62289 winspool.drv/tests: Constify some character strings. 2014-01-02 11:52:32 +01:00
Dmitry Timoshkov a521990a32 winspool.drv/tests: Fix test failures under Windows 8. 2013-10-31 09:58:43 +01:00
Francois Gouget 3ad70f9e11 winspool.drv/tests: Fix the OpenPrinter() tests error reporting. 2013-10-28 10:42:00 +01:00
André Hentschel 2a319e2cdd winspool.drv/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-25 13:36:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Tatyana Fokina f63d59d640 winspool.drv: Fix DocumentProperties with empty device name. 2013-04-05 20:39:01 +02:00
Dmitry Timoshkov dc8d7e7d62 winspool.drv: There is no need to speculate about wineps.drv default DEVMODE. 2013-02-12 10:18:20 +01:00
Dmitry Timoshkov da7c4ee1e5 winspool.drv: Turn macros into helper functions. 2013-02-11 12:31:13 +01:00
Alexandre Julliard 4289bd44de winspool.drv: Remove a todo that succeeds now. 2012-12-21 13:54:30 +01:00
André Hentschel 882977eed9 winspool.drv: Update allowed driver version. 2012-07-31 10:53:27 +02:00
Julian Rüger 0595619e0f winspool.drv/tests: Fix typos/grammar. 2012-06-25 10:36:10 +02:00
Detlef Riekenberg 1034ae37e2 winspool/tests: Fix failures when the spooler service is not running. 2012-06-21 08:31:43 +02:00
Huw Davies f15f359cbf winspool: Update the ppd for LPR printers too. 2012-06-13 21:58:44 +02:00
Huw Davies bfab84378d winspool/tests: Add some tests for OpenPrinter with non-NULL defaults. 2012-04-03 17:53:29 +02:00
Alexandre Julliard 7a8a56a27c winspool/tests: Allow a different way of specifying the paper size capabilities. 2011-10-31 20:00:26 +01:00
André Hentschel 7d13898fbb winspool.drv/tests: Fix tracing a NULL string. 2011-08-30 11:53:06 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner dad3342907 winspool.drv: Removed a superflous NULL check (Coverity). 2011-06-15 20:04:42 +02:00
David Hedberg a82f7cf446 winspool.drv: Add stubs for IsValidDevmodeW and IsValidDevmodeA. 2011-05-09 17:17:12 +02:00
Austin English 60c11fe037 winspool.drv: Make sure to use return values (LLVM/Clang). 2011-02-07 10:11:22 -06:00
Alexandre Julliard d7a0284f87 winspool/tests: Avoid sizeof in traces. 2010-11-17 15:08:18 +01:00
Austin English d2ee7aa790 winspool.drv: Skip tests when no printer is installed. 2010-11-11 12:22:22 +01:00
Detlef Riekenberg 2cbb9a1ee5 winspool/tests: Handle the Windows bug in GetPrinterDataEx. 2010-06-17 11:47:30 +02:00
Detlef Riekenberg 18193b193b winspool: Return ERROR_MORE_DATA, when the app probe for the needed buffer size. 2010-06-16 11:44:49 +02:00
Detlef Riekenberg fa69a8b1b2 winspool/tests: Test GetPrinterData/Ex for the print spooler. 2010-06-15 19:58:30 +02:00
Paul Vriens 387f050f68 winspool.drv/tests: Fix a test failure on Win9x/WinMe. 2010-02-17 11:45:34 +01:00
Paul Vriens 5e3e9e03f2 winspool.drv/tests: Skip non supported levels on Win9x/WinMe. 2010-02-17 11:45:27 +01:00
Paul Vriens f5d40cb8c5 winspool.drv/tests: Fix some test failures on Win9x/WinMe. 2010-02-17 11:45:22 +01:00
Paul Vriens 716358c568 winspool.drv/tests: Use FILE_SHARE_READ to fix some Win9x/WinMe failures. 2010-02-16 18:13:35 +01:00
Paul Vriens 09dbbfc5e9 winspool.drv/tests: Fix a test failure on Win9x/WinMe. 2010-02-16 16:44:06 +01:00
Paul Vriens edf0b4a061 winspool.drv: Fix some test failures on Win9x/WinMe. 2010-02-08 17:14:43 +01:00
Jeremy White b806e13001 winspool: Correctly zero printer driver buffer on failure, with tests. 2009-12-24 12:15:40 +01:00
Jeremy White e4897a827b winspool: Add tests for paths returned in GetPrinterDriver. 2009-12-16 12:42:39 +01:00
Paul Vriens 5719881ed5 winspool.drv/tests: Fix test failures on XP+ with long printer names. 2009-12-08 12:53:13 +01:00
Jeremy White 10e70fbd18 winspool: Revise EnumPrinterDriversW to fix the incorrect handling of 'all'. EnumPrinterDriversA is similarly fixed by using EnumPrinterDriversW. 2009-12-02 12:13:31 +01:00
Jeremy White 0506d3cdc0 winspool: Add a test which shows the flaws in the current all enumeration. 2009-12-01 13:11:43 +01:00
Jeremy White 6994b721de winspool: Implement GetPrinterDriverA with GetPrinterDriverW, notably using the larger sizes, which fixes a bug in printing with Acrobat Reader 9.2. 2009-12-01 13:11:37 +01:00
Jeremy White c445761b56 winspool: Add a test to show size required for EnumPrinterDriversA is the same as W. 2009-12-01 13:11:28 +01:00
Jeremy White c5a0f9316d winspool: When retrieving PRINTER_INFO_7, the lack of a directory service print queue object is represented with a NULL pointer and a successful return, not an error return. 2009-12-01 13:11:20 +01:00
Jeremy White eae3c3cacc winspool: Implement GetPrinterA via GetPrinterW, largely to support the eccentricity that GetPrinterA allocates buffers as large as those required by GetPrinterW. 2009-12-01 13:10:39 +01:00
Jeremy White 91678ff9e9 winspool: Add modest tests for GetPrinter. 2009-12-01 13:07:46 +01:00
Gerald Pfeifer 5b4fdcc8f1 winspool/tests: Guard debugging code by #ifdef instead of plain #if. 2009-11-30 16:10:18 +01:00
Jeremy White 2feb43f573 winspool: Add a test showing Windows behavior wrt size and GetPrinterDriverA.
This behavior was discovered by Huw Davies.
2009-11-24 15:54:33 +01:00
Paul Vriens ab9ee4a3fd winspool.drv/tests: Fix a test failure on Vista. 2009-10-21 16:05:57 +02:00
Detlef Riekenberg 8c743cb25f winspool/tests: Fix a failure on NT4 for EnumPrintProcessors. 2009-10-16 17:49:54 +02:00