[PATCH 2/4] user32/tests: Do not expect char vkey to return the same char everywhere.
Rémi Bernon
rbernon at codeweavers.com
Wed Oct 23 05:34:08 CDT 2019
Results may depend on the keyboard layout, and the tests were failing on
VMs with non-us layouts.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/user32/tests/input.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index d768e64cdc1..14399a6aac0 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -1763,15 +1763,16 @@ static const struct tounicode_tests
WCHAR expect_buf[4];
} utests[] =
{
- { 'A', 0, 0, 1, {'a',0}},
- { 'A', ctrl, 0, 1, {1, 0}},
- { 'A', shift|ctrl, 0, 1, {1, 0}},
+ { 0, 0, 'a', 1, {'a',0}},
+ { 0, shift, 'a', 1, {'A',0}},
+ { 0, ctrl, 'a', 1, {1, 0}},
+ { 0, shift|ctrl, 'a', 1, {1, 0}},
{ VK_TAB, ctrl, 0, 0, {}},
{ VK_TAB, shift|ctrl, 0, 0, {}},
{ VK_RETURN, ctrl, 0, 1, {'\n', 0}},
{ VK_RETURN, shift|ctrl, 0, 0, {}},
- { '4', ctrl, 0, 0, {}},
- { '4', shift|ctrl, 0, 0, {}},
+ { 0, ctrl, '4', 0, {}},
+ { 0, shift|ctrl, '4', 0, {}},
{ 0, ctrl, '!', 0, {}},
{ 0, ctrl, '\"', 0, {}},
{ 0, ctrl, '#', 0, {}},
--
2.24.0.rc0
More information about the wine-devel
mailing list