56 Commits

Author SHA1 Message Date
Ferenc Wagner
88bc174873 Pin down LoadStringA behaviour on different buffer lengths. 2004-01-09 00:36:51 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Dmitry Timoshkov
1a620f29d2 Add MDI child creation tests. 2003-12-30 21:54:54 +00:00
Alexandre Julliard
ca10d8a5bd Added tests for class style and instance handling. 2003-12-10 04:25:48 +00:00
Martin Fuchs
76adb1ff0d - Move shell window into the background.
- Add tests for Get/SetShellWindow().
2003-11-18 00:13:34 +00:00
Francois Gouget
f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Rein Klazes
7ee2ed5a39 Test WM_KEY* and WM_SYSKEY* messages generated by various keyboard
events.
2003-10-28 00:18:40 +00:00
Alexandre Julliard
b83789fdc3 Updated some of the generated tests. 2003-10-24 04:45:35 +00:00
Dmitry Timoshkov
88de9ef068 More tests for window creation parameters. 2003-10-24 04:22:24 +00:00
Daniel Marmier
0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +00:00
Dimitrie O. Paun
9eedca2b05 Move the message sequences documented in documentation/gui into a unit
test.
2003-10-02 04:32:56 +00:00
Francois Gouget
68ea3623b8 Modify winetest_ok to only add a trailing '\n' if there is none.
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Richard Cohen
92e0a05749 SystemParametersInfo returning a value for Wallpaper does not mean
that the registry key exists.
2003-08-07 02:57:15 +00:00
Francois Gouget
9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Dmitry Timoshkov
33cf3e0bfd GetClassInfo returns class atom on success. 2003-05-19 23:10:54 +00:00
Ferenc Wagner
572b33b4d9 Added listbox test. 2003-04-26 02:09:43 +00:00
Alexandre Julliard
74a66ff99d Avoid warning. 2003-04-08 00:56:32 +00:00
Marcus Meissner
4a46348a9c Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +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
Francois Gouget
f947a58006 Win9x does not support {Get,Set}WindowLongW. Use the Ansi version
instead since it won't impact _these_ tests anyway.
2003-01-03 19:09:23 +00:00
Francois Gouget
50c0cdef7e wsprintfW is not supported on Win9x platforms.
wsprintf{A,W}Test should be void.
Improve error reporting.
Remove unnecessary #includes.
2002-12-18 20:51:14 +00:00
Francois Gouget
21d92f8c8a Skip the Unicode tests (effectively all tests currently) on Win9x. 2002-12-12 02:15:28 +00:00
Patrik Stridvall
e1e063d788 Made tests compile on Windows. 2002-11-15 00:02:51 +00:00
Patrik Stridvall
9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Patrik Stridvall
74476416b0 Updated the generated tests. 2002-11-06 21:59:15 +00:00
Patrik Stridvall
df7ffb8017 Updated the generated tests. 2002-11-04 22:40:40 +00:00
Patrik Stridvall
fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Patrik Stridvall
7d226139e9 Updated the generated tests. 2002-10-29 21:24:09 +00:00
Patrik Stridvall
ab974c310c Updated the generated tests. 2002-10-23 18:45:15 +00:00
Patrik Stridvall
ebf582cd48 Updated the generated tests. 2002-10-15 01:53:45 +00:00
Alexandre Julliard
a5e995ae12 Fixed printf formats for -DSTRICT handles. 2002-10-04 00:56:05 +00:00
Alexandre Julliard
a593d3d95e Build tests with -DSTRICT. 2002-10-03 19:42:45 +00:00
Patrik Stridvall
928ecb4891 Added some more autogenerated tests. 2002-10-02 19:58:27 +00:00
Alexandre Julliard
7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Francois Gouget
71f8fc27e5 IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Alexandre Julliard
edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Philipp Wollermann
a32dc91711 Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. 2002-06-28 23:27:37 +00:00
Alexandre Julliard
75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Francois Gouget
4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Alexandre Julliard
cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +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
Alexandre Julliard
67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00