mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 08:21:38 +00:00
sync kernel32_winetest with wine 1.1.28
svn path=/trunk/; revision=42853
This commit is contained in:
parent
7980badf18
commit
58a23ff44c
8 changed files with 165 additions and 79 deletions
|
@ -320,7 +320,7 @@ static void test_string_conversion(LPBOOL bUsedDefaultChar)
|
|||
SetLastError(0xdeadbeef);
|
||||
ret = WideCharToMultiByte(950, 0, dbwcs, -1, mbs, sizeof(mbs), NULL, bUsedDefaultChar);
|
||||
ok(ret == 5, "ret is %d\n", ret);
|
||||
ok(!strcmp(mbs, "焙所"), "mbs is %s\n", mbs);
|
||||
ok(!strcmp(mbs, "\xb5H\xa9\xd2"), "mbs is %s\n", mbs);
|
||||
if(bUsedDefaultChar) ok(*bUsedDefaultChar == FALSE, "bUsedDefaultChar is %d\n", *bUsedDefaultChar);
|
||||
ok(GetLastError() == 0xdeadbeef, "GetLastError() is %u\n", GetLastError());
|
||||
|
||||
|
@ -334,7 +334,7 @@ static void test_string_conversion(LPBOOL bUsedDefaultChar)
|
|||
SetLastError(0xdeadbeef);
|
||||
ret = WideCharToMultiByte(950, 0, dbwcs, 1, mbs, sizeof(mbs), NULL, bUsedDefaultChar);
|
||||
ok(ret == 2, "ret is %d\n", ret);
|
||||
ok(!strcmp(mbs, "焙"), "mbs is %s\n", mbs);
|
||||
ok(!strcmp(mbs, "\xb5H"), "mbs is %s\n", mbs);
|
||||
if(bUsedDefaultChar) ok(*bUsedDefaultChar == FALSE, "bUsedDefaultChar is %d\n", *bUsedDefaultChar);
|
||||
ok(GetLastError() == 0xdeadbeef, "GetLastError() is %u\n", GetLastError());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue