Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4928f513
Commit
4928f513
authored
Oct 23, 2019
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip some tests with inconsistent results with non-us kbd.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dd497ffc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
input.c
dlls/user32/tests/input.c
+13
-0
No files found.
dlls/user32/tests/input.c
View file @
4928f513
...
...
@@ -284,6 +284,13 @@ static BOOL TestASet( HWND hWnd, int nrkev, const KEV kevdwn[], const KEV kevup[
int
i
,
j
,
k
,
l
,
m
,
n
;
static
int
count
=
0
;
KEV
kbuf
[
MAXKEYEVENTS
];
BOOL
us_kbd
=
(
GetKeyboardLayout
(
0
)
==
(
HKL
)(
ULONG_PTR
)
0x04090409
);
if
(
!
us_kbd
)
{
win_skip
(
"skipping test with inconsistent results on non-us keyboard
\n
"
);
return
TRUE
;
}
assert
(
nrkev
==
2
||
nrkev
==
3
);
for
(
i
=
0
;
i
<
MAXKEYEVENTS
;
i
++
)
kbuf
[
i
]
=
0
;
/* two keys involved gives 4 test cases */
...
...
@@ -1184,6 +1191,12 @@ static void test_Input_unicode(void)
HHOOK
hook
;
HMODULE
hModuleImm32
;
BOOL
(
WINAPI
*
pImmDisableIME
)(
DWORD
);
BOOL
us_kbd
=
(
GetKeyboardLayout
(
0
)
==
(
HKL
)(
ULONG_PTR
)
0x04090409
);
if
(
!
us_kbd
)
{
win_skip
(
"skipping test with inconsistent results on non-us keyboard
\n
"
);
return
;
}
wclass
.
lpszClassName
=
classNameW
;
wclass
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
...
...
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