Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b853ddc4
Commit
b853ddc4
authored
Jun 09, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Remove side effects from assert()s.
parent
0bd04d40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
win.c
dlls/user32/tests/win.c
+8
-4
No files found.
dlls/user32/tests/win.c
View file @
b853ddc4
...
...
@@ -1523,10 +1523,14 @@ static void test_MDI_child_stack(HWND mdi_client)
cs
.
style
=
0
;
cs
.
lParam
=
(
LPARAM
)
mdi_lParam_test_message
;
assert
(
child_1
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
));
assert
(
child_2
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
));
assert
(
child_3
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
));
assert
(
child_4
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
));
child_1
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
);
ok
(
child_1
!=
0
,
"expected child_1 to be non NULL"
);
child_2
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
);
ok
(
child_2
!=
0
,
"expected child_2 to be non NULL"
);
child_3
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
);
ok
(
child_3
!=
0
,
"expected child_3 to be non NULL"
);
child_4
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDICREATE
,
0
,
(
LPARAM
)
&
cs
);
ok
(
child_4
!=
0
,
"expected child_4 to be non NULL"
);
stack
[
0
]
=
(
HWND
)
SendMessageA
(
mdi_client
,
WM_MDIGETACTIVE
,
0
,
0
);
stack
[
1
]
=
GetWindow
(
stack
[
0
],
GW_HWNDNEXT
);
...
...
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