Commit Graph

14 Commits

Author SHA1 Message Date
Alexandre Julliard 74a66ff99d Avoid warning. 2003-04-08 00:56:32 +00:00
Francois Gouget acc5e9bba1 Check for sysparams keys in either the Win9x or NT locations. This
makes the test succeed on Win9x and NT4 platforms.
Add a 'strict' mode which specifically makes sure that the NT location
is set. In strict mode the test succeeds on Windows XP and Wine.
2003-01-20 23:30:22 +00:00
Francois Gouget a4c90cff02 Don't use old_spacing-1 if old_spacing already has the minimum value. 2003-01-16 00:19:24 +00:00
Francois Gouget 6fed1e3738 Update the registry keys of SPI_ICONHORIZONTALSPACING,
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Francois Gouget ecf2c570d2 Fix signed/unsigned compilation warnings. 2003-01-05 01:02:57 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Philipp Wollermann a32dc91711 Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. 2002-06-28 23:27:37 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Francois Gouget ea668d1be1 Make the 'error' string of a couple of checks consistent with the
others.
2002-05-19 22:22:06 +00:00
François Gouget ffb6d763f4 Include wine/test.h before windows headers.
Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows.
Fix a check in the SPI_{GET,SET}BORDER test.
Fix bad copy/paste in the SPI_{GET,SET}BORDER test.
Use eq macro to print values when something goes wrong.
2002-04-02 00:44:51 +00:00
Francois Gouget 902540cf0b Don't show the window. 2002-03-19 02:03:17 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk 812bc5298b Added SystemParametersInfo unit test. 2002-02-27 21:32:18 +00:00