Rémi Bernon : d3d9/tests: Make device test_window_style checks more consistent.
Alexandre Julliard
julliard at winehq.org
Fri Mar 6 16:38:40 CST 2020
Module: wine
Branch: master
Commit: 5f11554c49183cd89b401cc51256fbd4183c41db
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5f11554c49183cd89b401cc51256fbd4183c41db
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Thu Mar 5 20:55:05 2020 +0100
d3d9/tests: Make device test_window_style checks more consistent.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d9/tests/device.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 86936b0cc1..d00a26b942 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -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
More information about the wine-cvs
mailing list