Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e8348606
Commit
e8348606
authored
Nov 05, 2019
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip tests expecting ascii VK wparam on non-us keyboards.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
32b3e502
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
msg.c
dlls/user32/tests/msg.c
+14
-0
No files found.
dlls/user32/tests/msg.c
View file @
e8348606
...
...
@@ -9179,6 +9179,7 @@ static void test_accelerators(void)
HACCEL
hAccel
;
HWND
hwnd
=
CreateWindowExA
(
0
,
"TestWindowClass"
,
NULL
,
WS_OVERLAPPEDWINDOW
|
WS_VISIBLE
,
100
,
100
,
200
,
200
,
0
,
0
,
0
,
NULL
);
BOOL
us_kbd
=
(
GetKeyboardLayout
(
0
)
==
(
HKL
)(
ULONG_PTR
)
0x04090409
);
BOOL
ret
;
assert
(
hwnd
!=
0
);
...
...
@@ -9201,6 +9202,12 @@ static void test_accelerators(void)
pump_msg_loop
(
hwnd
,
0
);
flush_sequence
();
if
(
!
us_kbd
)
{
skip
(
"skipping ascii VK events on non-us keyboard
\n
"
);
goto
done
;
}
trace
(
"testing VK_N press/release
\n
"
);
flush_sequence
();
keybd_event
(
'N'
,
0
,
0
,
0
);
...
...
@@ -15247,6 +15254,7 @@ static void test_menu_messages(void)
HMENU
hmenu
,
hmenu_popup
;
HWND
hwnd
;
DWORD
style
;
BOOL
us_kbd
=
(
GetKeyboardLayout
(
0
)
==
(
HKL
)(
ULONG_PTR
)
0x04090409
);
if
(
!
pGetMenuInfo
||
!
pSetMenuInfo
)
{
...
...
@@ -15293,6 +15301,12 @@ static void test_menu_messages(void)
style
=
get_menu_style
(
hmenu_popup
);
ok
(
style
==
0
,
"expected 0, got %u
\n
"
,
style
);
if
(
!
us_kbd
)
{
skip
(
"skipping ascii VK events on non-us keyboard
\n
"
);
goto
done
;
}
/* Alt+E, Enter */
trace
(
"testing a popup menu command
\n
"
);
flush_sequence
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment