mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
[KERNEL32_APITEST] Add a test for LCMapString
This commit is contained in:
parent
e83eccee31
commit
be1cd6987b
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ static void TEST_LCMapStringW(void)
|
||||||
|
|
||||||
LCMapStringW(0, LCMAP_TRADITIONAL_CHINESE, c_target, -1, results, _countof(results));
|
LCMapStringW(0, LCMAP_TRADITIONAL_CHINESE, c_target, -1, results, _countof(results));
|
||||||
ok_wstr(results, L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x842c\x842c");
|
ok_wstr(results, L"ABab12\xff21\xff22\xff41\xff42\xff11\xff12\x3042\x30a2\x3070\x30d0\xff8a\xff9f\x842c\x842c");
|
||||||
|
|
||||||
|
// Test broken reactos behavior
|
||||||
|
LCMapStringW(LOCALE_INVARIANT, LCMAP_LOWERCASE, L"\x0104", -1, results, _countof(results));
|
||||||
|
ok_wstr(results,L"\x0105");
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(LCMapString)
|
START_TEST(LCMapString)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue