Commit Graph

89 Commits

Author SHA1 Message Date
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
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
Detlef Riekenberg 388aca4b9f winspool: Use the backend for GetPrintProcessorDirectory and update the tests. 2009-10-16 17:49:54 +02:00
Detlef Riekenberg 289ed3ada7 winspool/tests: Add tests for EnumPrintProcessors. 2009-10-15 12:06:18 +02:00
Paul Vriens b0da2a2e48 winspool.drv/tests: Fix a test failure on NT4 and below. 2009-03-25 11:06:12 +01:00
Hans Leidekker a01ba78546 winspool: Support special environment value "all" in EnumPrinterDrivers.
A custom action in the sp1 installer passes this value.
2009-03-24 13:32:55 +01:00
Francois Gouget 5e79fd7534 winspool.drv/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:50:00 +01:00
Detlef Riekenberg 1693cd1c5d winspool/tests: Run more tests on Win64. 2009-02-05 13:14:05 +01:00
Nicolas Le Cam 094085dd7e winspool.drv/tests: Fix a test on all platforms. 2008-11-11 14:06:31 +01:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Paul Vriens bf520bfbb1 winspool.drv/tests: Fix a test on Vista/W2K8. 2008-09-05 16:26:39 +02:00
James Hawkins 1cf567ecc9 winspool.drv: Disable a test for capabilities not available on all printer drivers. 2008-04-25 11:33:56 +02:00
Gerald Pfeifer 216a1b3767 winspool: Adjust the typo of a loop variable in test_EnumForms().
Simplify a test in test_GetPrinterDriver().
2008-01-02 12:38:42 +01:00
Marcel Partap c966301548 winspool.drv/tests: Add dumping of FORM_INFO_1/2 in test_EnumForms. 2007-12-12 14:46:55 +01:00
Detlef Riekenberg 1c8a466cca winspool/tests: Fix 2 failing tests for restricted users. 2007-08-14 12:25:32 +02:00
Detlef Riekenberg 5c04d1fe41 winspool/tests: Add tests for EnumPrinterDrivers. 2007-08-10 13:34:45 +02:00
Michael Stefaniuc 1a3689fdc2 winspool.drv/tests: Specify the arguments of the function in the function. 2007-06-21 13:12:03 +02:00
Detlef Riekenberg 4307f6428f winspool/tests: Add tests for AddPortEx. 2007-06-18 13:36:56 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov dddf348716 winspool: Add a test for DeviceCapabilities, fix some bugs found. 2007-04-05 11:56:08 +02:00
Paul Vriens c23bf488b3 winspool.drv/tests: Remove tempfile after running the tests. 2007-03-06 21:59:54 +01:00