d3d9/tests: Make device test_window_style checks more consistent.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
64188baffe
commit
5f11554c49
|
@ -4919,19 +4919,19 @@ static void test_window_style(void)
|
|||
|
||||
style = GetWindowLongA(device_window, GWL_STYLE);
|
||||
expected_style = device_style | tests[i].focus_loss_style | tests[i].style;
|
||||
todo_wine ok(style == expected_style, "Expected device window style %#x, got %#x.\n",
|
||||
expected_style, style);
|
||||
todo_wine ok(style == expected_style, "Expected device window style %#x, got %#x, i=%u.\n",
|
||||
expected_style, style, i);
|
||||
style = GetWindowLongA(device_window, GWL_EXSTYLE);
|
||||
expected_style = device_exstyle | tests[i].exstyle;
|
||||
todo_wine ok(style == expected_style, "Expected device window extended style %#x, got %#x.\n",
|
||||
expected_style, style);
|
||||
todo_wine ok(style == expected_style, "Expected device window extended style %#x, got %#x, i=%u.\n",
|
||||
expected_style, style, i);
|
||||
|
||||
style = GetWindowLongA(focus_window, GWL_STYLE);
|
||||
ok(style == focus_style, "Expected focus window style %#x, got %#x.\n",
|
||||
focus_style, style);
|
||||
ok(style == focus_style, "Expected focus window style %#x, got %#x, i=%u.\n",
|
||||
focus_style, style, i);
|
||||
style = GetWindowLongA(focus_window, GWL_EXSTYLE);
|
||||
ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n",
|
||||
focus_exstyle, style);
|
||||
ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x, i=%u.\n",
|
||||
focus_exstyle, style, i);
|
||||
|
||||
/* In d3d8 follow-up tests fail on native if the device is destroyed while
|
||||
* lost. This doesn't happen in d3d9 on my test machine but it still seems
|
||||
|
|
Loading…
Reference in New Issue