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
f671b524
Commit
f671b524
authored
May 06, 2020
by
Zhiyi Zhang
Committed by
Alexandre Julliard
May 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Add a trailing '\n' to some ok() calls.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
876d7af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dialog.c
dlls/user32/tests/dialog.c
+4
-4
No files found.
dlls/user32/tests/dialog.c
View file @
f671b524
...
...
@@ -652,8 +652,8 @@ static void test_WM_NEXTDLGCTL(void)
* Check whether the style of the button which got the focus, changed to BS_DEFPUSHBUTTON and
* the style of default button changed to BS_PUSHBUTTON.
*/
ok
(
get_button_style
(
g_hwndTestDlgBut1
)
==
BS_DEFPUSHBUTTON
,
"Button1's style not set to BS_DEFPUSHBUTTON"
);
ok
(
get_button_style
(
g_hwndTestDlgBut2
)
==
BS_PUSHBUTTON
,
"Button2's style not set to BS_PUSHBUTTON"
);
ok
(
get_button_style
(
g_hwndTestDlgBut1
)
==
BS_DEFPUSHBUTTON
,
"Button1's style not set to BS_DEFPUSHBUTTON
\n
"
);
ok
(
get_button_style
(
g_hwndTestDlgBut2
)
==
BS_PUSHBUTTON
,
"Button2's style not set to BS_PUSHBUTTON
\n
"
);
/* Move focus to Button2 using "WM_NEXTDLGCTL" */
DefDlgProcA
(
g_hwndTestDlg
,
WM_NEXTDLGCTL
,
0
,
0
);
...
...
@@ -667,8 +667,8 @@ static void test_WM_NEXTDLGCTL(void)
* Check whether the style of the button which got the focus, changed to BS_DEFPUSHBUTTON and
* the style of button which lost the focus changed to BS_PUSHBUTTON.
*/
ok
(
get_button_style
(
g_hwndTestDlgBut1
)
==
BS_PUSHBUTTON
,
"Button1's style not set to BS_PUSHBUTTON"
);
ok
(
get_button_style
(
g_hwndTestDlgBut2
)
==
BS_DEFPUSHBUTTON
,
"Button2's style not set to BS_DEFPUSHBUTTON"
);
ok
(
get_button_style
(
g_hwndTestDlgBut1
)
==
BS_PUSHBUTTON
,
"Button1's style not set to BS_PUSHBUTTON
\n
"
);
ok
(
get_button_style
(
g_hwndTestDlgBut2
)
==
BS_DEFPUSHBUTTON
,
"Button2's style not set to BS_DEFPUSHBUTTON
\n
"
);
/* Move focus to Edit control using "WM_NEXTDLGCTL" */
DefDlgProcA
(
g_hwndTestDlg
,
WM_NEXTDLGCTL
,
0
,
0
);
...
...
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