mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
imm32/tests: We check for failure not success.
This commit is contained in:
parent
fc5c89eb2c
commit
3a9a08cb3c
@ -262,32 +262,24 @@ static void test_ImmSetCompositionString(void)
|
||||
if (!imc)
|
||||
return;
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = ImmSetCompositionStringW(imc, SCS_SETSTR, NULL, 0, NULL, 0);
|
||||
todo_wine
|
||||
ok(!ret, "ImmSetCompositionStringW() failed. Last error: %u\n",
|
||||
GetLastError());
|
||||
ok(!ret, "ImmSetCompositionStringW() succeeded.\n");
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = ImmSetCompositionStringW(imc, SCS_SETSTR | SCS_CHANGEATTR,
|
||||
NULL, 0, NULL, 0);
|
||||
todo_wine
|
||||
ok(!ret, "ImmSetCompositionStringW() failed. Last error: %u\n",
|
||||
GetLastError());
|
||||
ok(!ret, "ImmSetCompositionStringW() succeeded.\n");
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = ImmSetCompositionStringW(imc, SCS_SETSTR | SCS_CHANGECLAUSE,
|
||||
NULL, 0, NULL, 0);
|
||||
todo_wine
|
||||
ok(!ret, "ImmSetCompositionStringW() failed. Last error: %u\n",
|
||||
GetLastError());
|
||||
ok(!ret, "ImmSetCompositionStringW() succeeded.\n");
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = ImmSetCompositionStringW(imc, SCS_CHANGEATTR | SCS_CHANGECLAUSE,
|
||||
NULL, 0, NULL, 0);
|
||||
todo_wine
|
||||
ok(!ret, "ImmSetCompositionStringW() failed. Last error: %u\n",
|
||||
GetLastError());
|
||||
ok(!ret, "ImmSetCompositionStringW() succeeded.\n");
|
||||
|
||||
ImmReleaseContext(hwnd, imc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user