dinput8/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a516c0aa38
commit
12f8274539
|
@ -99,12 +99,7 @@ static void test_preinitialization(void)
|
||||||
enum_devices_tests[i].lpCallback,
|
enum_devices_tests[i].lpCallback,
|
||||||
NULL,
|
NULL,
|
||||||
enum_devices_tests[i].dwFlags);
|
enum_devices_tests[i].dwFlags);
|
||||||
if (enum_devices_tests[i].todo)
|
todo_wine_if(enum_devices_tests[i].todo)
|
||||||
{
|
|
||||||
todo_wine
|
|
||||||
ok(hr == enum_devices_tests[i].expected_hr, "[%d] IDirectInput8_EnumDevice returned 0x%08x\n", i, hr);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
ok(hr == enum_devices_tests[i].expected_hr, "[%d] IDirectInput8_EnumDevice returned 0x%08x\n", i, hr);
|
ok(hr == enum_devices_tests[i].expected_hr, "[%d] IDirectInput8_EnumDevice returned 0x%08x\n", i, hr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue