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
e55a691d
Commit
e55a691d
authored
Jan 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail.
parent
120120e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
monitor.c
dlls/user32/tests/monitor.c
+2
-1
No files found.
dlls/user32/tests/monitor.c
View file @
e55a691d
...
...
@@ -241,7 +241,8 @@ static void test_ChangeDisplaySettingsEx(void)
res
=
pChangeDisplaySettingsExA
(
NULL
,
&
dm
,
NULL
,
CDS_TEST
,
NULL
);
ok
(
vid_modes_test
[
i
].
must_succeed
?
(
res
==
DISP_CHANGE_SUCCESSFUL
||
res
==
DISP_CHANGE_RESTART
)
:
(
res
==
DISP_CHANGE_SUCCESSFUL
||
res
==
DISP_CHANGE_BADMODE
||
res
==
DISP_CHANGE_BADPARAM
),
(
res
==
DISP_CHANGE_SUCCESSFUL
||
res
==
DISP_CHANGE_RESTART
||
res
==
DISP_CHANGE_BADMODE
||
res
==
DISP_CHANGE_BADPARAM
),
"Unexpected ChangeDisplaySettingsEx() return code for resolution[%d]: %d
\n
"
,
i
,
res
);
if
(
res
==
DISP_CHANGE_SUCCESSFUL
)
...
...
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