Commit Graph

117 Commits

Author SHA1 Message Date
Vijay Kiran Kamuju 0fa21125d4 winspool.drv/tests: Remove win9x checks and enable some tests.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 21:33:30 +02:00
Dmitry Timoshkov bd7ba264b6 winspool: Implement IsValidDevmodeW.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 13:58:19 +02:00
Francois Gouget 71ad4add73 winspool.drv/tests: Avoid an unneeded strlen() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:48:11 +02:00
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +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 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04: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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02: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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01: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