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
824974ce
Commit
824974ce
authored
Jun 04, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix the expected values in some ok() messages.
parent
4f7ea573
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
monitor.c
dlls/user32/tests/monitor.c
+2
-2
No files found.
dlls/user32/tests/monitor.c
View file @
824974ce
...
@@ -177,7 +177,7 @@ static void test_ChangeDisplaySettingsEx(void)
...
@@ -177,7 +177,7 @@ static void test_ChangeDisplaySettingsEx(void)
dm
.
dmDriverExtra
=
1
;
dm
.
dmDriverExtra
=
1
;
res
=
pChangeDisplaySettingsExA
(
NULL
,
&
dm
,
NULL
,
CDS_TEST
,
NULL
);
res
=
pChangeDisplaySettingsExA
(
NULL
,
&
dm
,
NULL
,
CDS_TEST
,
NULL
);
ok
(
res
==
DISP_CHANGE_SUCCESSFUL
,
ok
(
res
==
DISP_CHANGE_SUCCESSFUL
,
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_
BADMODE
\n
"
,
res
);
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_
SUCCESSFUL
\n
"
,
res
);
ok
(
dm
.
dmDriverExtra
==
1
,
"ChangeDisplaySettingsExA shouldn't reset dmDriverExtra to 0
\n
"
);
ok
(
dm
.
dmDriverExtra
==
1
,
"ChangeDisplaySettingsExA shouldn't reset dmDriverExtra to 0
\n
"
);
memset
(
&
dmW
,
0
,
sizeof
(
dmW
));
memset
(
&
dmW
,
0
,
sizeof
(
dmW
));
...
@@ -201,7 +201,7 @@ static void test_ChangeDisplaySettingsEx(void)
...
@@ -201,7 +201,7 @@ static void test_ChangeDisplaySettingsEx(void)
if
(
GetLastError
()
!=
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
GetLastError
()
!=
ERROR_CALL_NOT_IMPLEMENTED
)
{
{
ok
(
res
==
DISP_CHANGE_SUCCESSFUL
,
ok
(
res
==
DISP_CHANGE_SUCCESSFUL
,
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_
BADMODE
\n
"
,
res
);
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_
SUCCESSFUL
\n
"
,
res
);
ok
(
dmW
.
dmDriverExtra
==
1
,
"ChangeDisplaySettingsExW shouldn't reset dmDriverExtra to 0
\n
"
);
ok
(
dmW
.
dmDriverExtra
==
1
,
"ChangeDisplaySettingsExW shouldn't reset dmDriverExtra to 0
\n
"
);
}
}
...
...
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