projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e610dc
)
[USER32_WINETEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Wed, 25 Feb 2015 17:31:53 +0000
(17:31 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Wed, 25 Feb 2015 17:31:53 +0000
(17:31 +0000)
- Apply hacks to make the tests succeed on Windows
svn path=/trunk/; revision=66456
rostests/winetests/user32/msg.c
patch
|
blob
|
history
diff --git
a/rostests/winetests/user32/msg.c
b/rostests/winetests/user32/msg.c
index
7b99851
..
520d171
100755
(executable)
--- a/
rostests/winetests/user32/msg.c
+++ b/
rostests/winetests/user32/msg.c
@@
-14717,9
+14717,12
@@
START_TEST(msg_messages)
START_TEST(msg_focus)
{
init_tests();
- test_SetFocus();
test_SetActiveWindow();
+ test_SetFocus();
+ /* HACK: For some reason test_SetForegroundWindow fails on Windows unless
+ * we do this */
+ keybd_event(VK_CONTROL, 0, KEYEVENTF_KEYUP, 0);
/* keep it the last test, under Windows it tends to break the tests
* which rely on active/foreground windows being correct.
*/