Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c2adce37
Commit
c2adce37
authored
Oct 01, 2022
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Mark tests failing randomly on Windows 8 as flaky.
Wine-Bug:
https://bugs.winehq.org//show_bug.cgi?id=53134
parent
a00a64b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
0 deletions
+72
-0
ddraw1.c
dlls/ddraw/tests/ddraw1.c
+18
-0
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+18
-0
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+18
-0
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+18
-0
No files found.
dlls/ddraw/tests/ddraw1.c
View file @
c2adce37
...
...
@@ -3186,14 +3186,17 @@ static void test_coop_level_mode_set(void)
hr
=
IDirectDrawSurface_IsLost
(
primary
);
ok
(
hr
==
DDERR_SURFACELOST
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
flaky
/* win8 */
ok
(
!
expect_messages
->
message
,
"Expected message %#x, but didn't receive it.
\n
"
,
expect_messages
->
message
);
expect_messages
=
NULL
;
flaky
/* win8 */
ok
(
screen_size
.
cx
==
registry_mode
.
dmPelsWidth
&&
screen_size
.
cy
==
registry_mode
.
dmPelsHeight
,
"Expected screen size %lux%lu, got %lux%lu.
\n
"
,
registry_mode
.
dmPelsWidth
,
registry_mode
.
dmPelsHeight
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3224,6 +3227,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3231,6 +3235,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3257,6 +3262,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3280,6 +3286,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3309,6 +3316,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3335,6 +3343,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3355,6 +3364,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3391,6 +3401,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3401,6 +3412,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3427,6 +3439,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3450,6 +3463,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3472,6 +3486,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3498,6 +3513,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3518,6 +3534,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3555,6 +3572,7 @@ static void test_coop_level_mode_set(void)
IDirectDrawSurface_Release
(
primary
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
dlls/ddraw/tests/ddraw2.c
View file @
c2adce37
...
...
@@ -3288,14 +3288,17 @@ static void test_coop_level_mode_set(void)
hr
=
IDirectDrawSurface_IsLost
(
primary
);
ok
(
hr
==
DDERR_SURFACELOST
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
flaky
/* win8 */
ok
(
!
expect_messages
->
message
,
"Expected message %#x, but didn't receive it.
\n
"
,
expect_messages
->
message
);
expect_messages
=
NULL
;
flaky
/* win8 */
ok
(
screen_size
.
cx
==
registry_mode
.
dmPelsWidth
&&
screen_size
.
cy
==
registry_mode
.
dmPelsHeight
,
"Expected screen size %lux%lu, got %lux%lu.
\n
"
,
registry_mode
.
dmPelsWidth
,
registry_mode
.
dmPelsHeight
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3326,6 +3329,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3333,6 +3337,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3359,6 +3364,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3382,6 +3388,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3411,6 +3418,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3437,6 +3445,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3457,6 +3466,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3493,6 +3503,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3503,6 +3514,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3529,6 +3541,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3552,6 +3565,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3574,6 +3588,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3600,6 +3615,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3620,6 +3636,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3657,6 +3674,7 @@ static void test_coop_level_mode_set(void)
IDirectDrawSurface_Release
(
primary
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
dlls/ddraw/tests/ddraw4.c
View file @
c2adce37
...
...
@@ -3529,14 +3529,17 @@ static void test_coop_level_mode_set(void)
hr
=
IDirectDrawSurface4_IsLost
(
primary
);
ok
(
hr
==
DDERR_SURFACELOST
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
flaky
/* win8 */
ok
(
!
expect_messages
->
message
,
"Expected message %#x, but didn't receive it.
\n
"
,
expect_messages
->
message
);
expect_messages
=
NULL
;
flaky
/* win8 */
ok
(
screen_size
.
cx
==
registry_mode
.
dmPelsWidth
&&
screen_size
.
cy
==
registry_mode
.
dmPelsHeight
,
"Expected screen size %lux%lu, got %lux%lu.
\n
"
,
registry_mode
.
dmPelsWidth
,
registry_mode
.
dmPelsHeight
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3567,6 +3570,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3574,6 +3578,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3600,6 +3605,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3623,6 +3629,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3645,6 +3652,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3671,6 +3679,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3691,6 +3700,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3727,6 +3737,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3737,6 +3748,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3763,6 +3775,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3786,6 +3799,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3808,6 +3822,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3834,6 +3849,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3854,6 +3870,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3891,6 +3908,7 @@ static void test_coop_level_mode_set(void)
IDirectDrawSurface4_Release
(
primary
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
dlls/ddraw/tests/ddraw7.c
View file @
c2adce37
...
...
@@ -3180,14 +3180,17 @@ static void test_coop_level_mode_set(void)
hr
=
IDirectDrawSurface7_IsLost
(
primary
);
ok
(
hr
==
DDERR_SURFACELOST
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
flaky
/* win8 */
ok
(
!
expect_messages
->
message
,
"Expected message %#x, but didn't receive it.
\n
"
,
expect_messages
->
message
);
expect_messages
=
NULL
;
flaky
/* win8 */
ok
(
screen_size
.
cx
==
registry_mode
.
dmPelsWidth
&&
screen_size
.
cy
==
registry_mode
.
dmPelsHeight
,
"Expected screen size %lux%lu, got %lux%lu.
\n
"
,
registry_mode
.
dmPelsWidth
,
registry_mode
.
dmPelsHeight
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3218,6 +3221,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3225,6 +3229,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3251,6 +3256,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3274,6 +3280,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3296,6 +3303,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3322,6 +3330,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3342,6 +3351,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3378,6 +3388,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3388,6 +3399,7 @@ static void test_coop_level_mode_set(void)
ok
(
SUCCEEDED
(
hr
),
"SetCooperativeLevel failed, hr %#lx.
\n
"
,
hr
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3414,6 +3426,7 @@ static void test_coop_level_mode_set(void)
registry_mode
.
dmPelsHeight
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3437,6 +3450,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3459,6 +3473,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3485,6 +3500,7 @@ static void test_coop_level_mode_set(void)
param
.
ddraw_height
,
ddsd
.
dwHeight
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3505,6 +3521,7 @@ static void test_coop_level_mode_set(void)
ok
(
!
screen_size
.
cx
&&
!
screen_size
.
cy
,
"Got unexpected screen size %lux%lu.
\n
"
,
screen_size
.
cx
,
screen_size
.
cy
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
@@ -3542,6 +3559,7 @@ static void test_coop_level_mode_set(void)
IDirectDrawSurface7_Release
(
primary
);
GetWindowRect
(
window
,
&
r
);
flaky
/* win8 */
ok
(
EqualRect
(
&
r
,
&
registry_rect
),
"Expected %s, got %s.
\n
"
,
wine_dbgstr_rect
(
&
registry_rect
),
wine_dbgstr_rect
(
&
r
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment