user32/tests: Do not expect char vkey to return the same char everywhere.

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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2019-10-23 12:34:08 +02:00 committed by Alexandre Julliard
parent 96f0d1ae7d
commit c56c76e61e
1 changed files with 6 additions and 5 deletions

View File

@ -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, {}},