86 Commits

Author SHA1 Message Date
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
Zebediah Figura
7ae7fbcc91 user32/tests: Skip tests for window messages if we failed to receive foreground status.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:22:36 +02:00
Zebediah Figura
f312758bf0 user32/tests: Ignore all non-keyboard messages in test_Input_blackbox().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:22:35 +02:00
Andrey Gusev
daa4663980 user32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 19:13:27 +01:00
Alex Henrie
7a39a7a3ae user32/tests: Recognize undefined characters in OemKeyScan tests.
This reverts commit 72ab2d5b078d0ebad70a0baed29a80ce6b6c86ad.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-29 09:59:49 +01:00
Alex Henrie
72ab2d5b07 user32/tests: Fix OemKeyScan failures with input method editors.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 21:36:55 +01:00
Rafał Harabień
5c2526a086 winex11.drv: Preserve last error in x11drv_thread_data().
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 17:44:05 +01:00
Andrey Gusev
70b8a2f86b user32/tests: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-13 15:08:56 +02:00
Huw Davies
cdf3872f59 user32/tests: Restore the mouse cursor to its original position.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:34 +01:00
Huw Davies
e574350b62 user32/tests: Don't perform character lookup ToUnicode() tests on non-US keyboards.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Huw Davies
b7c5ff05a7 user32: Implement OemKeyScan().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-22 22:29:57 +09:00
Nikolay Sivov
6c8887b830 user32/tests: Fix indentation warnings on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:51:54 +09:00
Hugh McMaster
c87a78bc94 user32/tests: Add tests for VK_SPACE, Shift-Space and Ctrl-Space.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 21:10:22 +09:00
Sebastian Lackner
8723d3455e server: Add fallback to desktop keystate in get_key_state wineserver call. 2015-07-10 15:07:45 +09:00
Sebastian Lackner
6019da2355 user32/tests: Add tests for calling GetKeyState from thread without message queue. 2015-07-10 15:05:40 +09:00
Huw Davies
10556c25e4 winex11: Fix ctrl-<symbol> to generate codes below 0x20 where necessary. 2015-05-28 22:44:11 +09:00
Bruno Jesus
e0ba6d8fdb user32: Set the expected errors in GetRawInputDeviceList. 2015-05-27 13:54:37 +09:00
Bruno Jesus
1bba9674d9 user32/tests: Add tests for GetRawInputDeviceList. 2015-05-26 18:45:32 +09:00
Sebastian Lackner
4439cd433d server: attach_thread_input shouldn't create queues for foreign threads. 2015-05-18 19:59:28 +09:00
Aric Stewart
3599f956e2 server: Fixup input windows on thread_detach. 2015-05-06 20:54:55 +09:00
Aric Stewart
bed7e69a14 server: Do not replace focus and active windows with NULL on thread_attach_input. 2015-04-23 17:48:33 +09:00
Sebastian Lackner
26c9ce5d0b user32/tests: Add tests for ToAscii. 2015-04-06 18:06:13 +09:00
Sebastian Lackner
a2695810e7 user32/tests: Add tests for ToUnicodeEx with a NULL pointer as keystate. 2015-04-06 18:06:10 +09:00
Piotr Caban
dfd2506736 user32/tests: Don't send mouse clicks to other process windows in input tests. 2015-03-26 14:21:00 +09:00
Nikolay Sivov
151694a0bc user32: Handle NULL argument in GetKeyboardLayoutNameW(). 2015-01-13 17:52:27 +01:00
Francois Gouget
ea932fbcc1 Assorted spelling fixes. 2014-12-05 20:47:45 +01:00
Nikolay Sivov
3c24481dea user32/tests: Use win_skip() where appropriate. 2014-11-06 14:58:15 +09:00
Piotr Caban
3f1bbdcae3 server: Send mouse hardware messages to thread owning top-most window.
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Piotr Caban
2235c820a9 user32/tests: Add mouse SendInput tests when mouse events are captured. 2014-10-17 17:51:43 +09:00
Piotr Caban
65b09537b3 user32/tests: Add mouse SendInput tests. 2014-10-17 17:51:36 +09:00
Frédéric Delanoy
bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Dmitry Timoshkov
84a80215b9 user32/tests: Fix input tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Michael Stefaniuc
9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Alexandre Julliard
f87191815d user32: Fix GetKeyNameText returned length. 2012-02-15 12:07:34 +01:00
Ken Thomases
b5b9184dec user32/tests: Test that ToUnicode null-terminates the buffer if it's big enough. 2011-12-20 10:15:31 +01:00
Dmitry Timoshkov
7fb4e2ae45 user32: Add a test to make sure that SendInput sets a non-zero event time. 2011-03-04 16:26:00 +01:00
Marcus Meissner
b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Austin Lund
c82aa505e9 user32/tests: Fix test failures by disabling IME when testing unicode input. 2010-11-29 19:52:06 +01:00
André Hentschel
37adf3a6be user32/tests: Remove obsolete comment. 2010-11-29 19:51:57 +01:00
Alexandre Julliard
dfab8824c5 user32/tests: Make some variables static. 2010-10-01 13:37:44 +02:00
Paul Vriens
05765a0b0c user32/tests: Skip some tests on Win9x/WinMe. 2009-10-23 15:54:08 +02:00
Alexandre Julliard
bab99e5353 user32/tests: Non-US keyboards are allowed on Wine too. 2009-09-09 12:18:56 +02:00
Ge van Geldorp
b5d7025932 user32/tests: Skip test on non-US keyboard. 2009-09-08 12:11:52 +02:00
Paul Vriens
84153c09cb user32/tests: Run tests again on Win95. 2009-09-01 17:46:45 +02:00
Ge van Geldorp
0a1e0a3261 user32/tests: Fix test failure on Win7. 2009-08-26 16:33:42 +02:00
Andrew Eikum
7fe9e693a7 user32/tests: Fix input test failures on NT4. 2009-08-26 12:10:04 +02:00
Andrew Eikum
e4106b6273 user32/tests: Fix input test failure in win9x platforms. 2009-08-20 19:43:30 +02:00
Andrew Eikum
37754eb400 user32/tests: Add tests for SendInput with unicode. 2009-08-19 12:19:06 +02:00
Nicolas Le Cam
1d7d110f1c user32/tests: Ignore WM_TIMECHANGE message. 2009-06-22 11:22:30 +02:00
André Hentschel
ef016c32c1 winex11: Fix Ctrl+Shift+Tab translation. 2009-06-02 11:57:21 +02:00