Serge Gautherie
be3cda6ec0
tests: Remove now useless forced _WIN32_WINNT defines.
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 11:30:25 +01:00
Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Dmitry Timoshkov
6ac2ba3e3c
server: Ignore low word of a class instance when looking up for a window class.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Dmitry Timoshkov
e2c0f51312
user32/tests: Add some tests for classes with non-zero low word instance.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Ralf Habacker
081a48ebab
server: Release atoms when destroying a window class.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46180
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Nikolay Sivov
b5f179655c
server: Use base class atom for child window enumeration.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Nikolay Sivov
e8897ebe4e
user32/tests: Add FindWindow() test for versioned class.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Sven Baars
470f7b20d4
user32/tests: Use the correct procedure for dialog tests (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 18:35:40 +02:00
Michael Stefaniuc
1694ab087a
user32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:20 +02:00
Michael Stefaniuc
20b43a9a93
user32/tests: Avoid a variable that holds an ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:03:40 +02:00
Nikolay Sivov
c4fd1099dd
user32: Avoid touching last error on successful path of GetClassInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 10:51:31 +02:00
Nikolay Sivov
f31cb68fc3
user32/tests: Test auto-registration for more redirected builtin classes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 14:35:01 +01:00
Nikolay Sivov
31d3fcc0b2
comctl32: Introduce Static control.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:10:37 +01:00
Nikolay Sivov
0de689f415
user32: Automatically load the module implementing redirected class.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 22:22:51 +01:00
Nikolay Sivov
a21b16d8cb
user32: Fix names returned with GetClassName().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Nikolay Sivov
be8534d387
user32/tests: Add some tests for GetClassName() and versioned classes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Nikolay Sivov
bdb048a50e
user32: Enable window class redirection.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-26 13:44:23 +01:00
Nikolay Sivov
71d8edebb9
user32: Add SysLink to known classes list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:02 +01:00
Nikolay Sivov
ea141a5ae9
user32/tests: Class API tests for interaction with activation contexts.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 12:35:13 +01:00
Huw Davies
400e0af66c
user32/tests: Mark built-in wndproc auto-detection behaviour as broken on Windows 8 and 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-24 14:31:32 +01:00
Alex Henrie
f2bf0227a2
user32: Do not return the class icon when ICON_SMALL2 is requested.
2015-05-14 00:06:57 +09:00
Piotr Caban
3be5c16b4d
user32: Move IME window procedure to user32.
2014-11-11 16:09:47 +09:00
Nikolay Sivov
3c24481dea
user32/tests: Use win_skip() where appropriate.
2014-11-06 14:58:15 +09:00
Piotr Caban
43dcd40c0b
user32: Show that IME window class is one of builtin classes.
2014-10-29 20:31:00 +09:00
Marcus Meissner
6f3d942fa4
user32: Fixed sizeof() to MultiByteToWideChar.
2013-11-06 12:01:53 +01:00
Alexandre Julliard
c25c019883
user32: Automatically load comctl32 when one of its classes is requested.
2013-10-28 18:41:04 +01:00
Dmitry Timoshkov
74f205462b
user32/tests: Fix class tests compilation with __WINESRC__ defined.
2013-10-23 17:01:46 +02:00
Francois Gouget
b17ded0ac1
user32/tests: Add a trailing '\n' to an ok() call.
2012-10-15 19:37:36 +02:00
Sergey Guralnik
3d4db9f28f
user32: Add internal class small icons.
2012-10-15 15:27:28 +02:00
Sergey Guralnik
e193e43c29
user32/tests: Add tests for class small icons.
2012-10-11 20:23:36 +02:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
Nikolay Sivov
4843cff6ef
user32/tests: Test that class data is set with wrong size value too.
2011-07-04 13:42:29 +02:00
Greg Geldorp
4856c299ba
user32/tests: Skip DefWindowProc tests on Vista+.
2011-01-03 11:54:03 +01:00
Dmitry Timoshkov
5aa45d9cf4
user32: Add a test for GetClassInfo, make it pass under Wine.
2010-08-03 11:43:59 +02:00
Dylan Smith
41dbacdc71
user32: RegisterClassEx should check for invalid cbSize field.
2010-07-19 14:38:16 +02:00
Alexandre Julliard
2649f769a5
user32/tests: Fix some class tests that behave differently on WoW64.
2010-06-17 14:05:42 +02:00
Nikolay Sivov
0e16d4cd5b
user32/tests: Free window after use.
2009-12-03 10:15:33 +01:00
Nikolay Sivov
48cb3a30b5
user32/tests: Restore original procedure to let control clean up.
2009-12-03 10:15:24 +01:00
Julius Schwartzenberg
9f548bd9b8
user32/tests: Test extra value of standard dialog and edit classes.
2009-10-22 14:36:15 +02:00
Alexandre Julliard
239265fd8b
tests: Build all tests with strict prototypes.
2009-10-06 16:12:39 +02:00
Alexandre Julliard
8432ff70bb
user32/tests: Fix the window creation on Win64.
2009-05-07 14:44:22 +02:00
Alexandre Julliard
10350c19a0
user32/tests: Print a more useful line number in check_class and check_instance tests.
2009-03-13 11:30:15 +01:00
Alexandre Julliard
96e7da5c55
user32/tests: GetClassInfo doesn't set last error reliably, remove test.
2009-02-13 13:10:44 +01:00
Michael Stefaniuc
e89386a59e
user32/tests: Remove superfluous pointer casts.
...
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Alexandre Julliard
9cc75a5b50
user32: Winproc handles do not get sign-extended on 64-bit.
2009-01-10 21:06:32 +01:00
Francois Gouget
31df4d42b7
user32: Remove WINAPI/CALLBACK on static functions where not needed.
2008-11-25 11:50:00 +01:00
Michael Stefaniuc
4fc84eaf5a
user32: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:29:54 +01:00
Alexandre Julliard
79b64fdc83
user32: Add an ASCII window procedure for scrollbars.
2008-05-21 11:44:05 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Rob Shearman
e154d3b29e
user32: Fix the number of characters passed to GetClassNameW in ClassTest.
2008-02-25 13:31:52 +01:00