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
267c39bc
Commit
267c39bc
authored
Jun 13, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip some tests on Win9x/WinME.
parent
3a5a79ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
msg.c
dlls/user32/tests/msg.c
+12
-5
No files found.
dlls/user32/tests/msg.c
View file @
267c39bc
...
...
@@ -11612,8 +11612,15 @@ static void test_PostMessage(void)
HWND
hwnd
;
BOOL
ret
;
MSG
msg
;
static
const
WCHAR
staticW
[]
=
{
's'
,
't'
,
'a'
,
't'
,
'i'
,
'c'
,
0
};
hwnd
=
CreateWindowExA
(
0
,
"static"
,
NULL
,
WS_POPUP
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
NULL
);
SetLastError
(
0xdeadbeef
);
hwnd
=
CreateWindowExW
(
0
,
staticW
,
NULL
,
WS_POPUP
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
NULL
);
if
(
!
hwnd
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"Skipping some PostMessage tests on Win9x/WinMe
\n
"
);
return
;
}
assert
(
hwnd
);
flush_events
();
...
...
@@ -11631,13 +11638,13 @@ static void test_PostMessage(void)
if
(
data
[
i
].
hwnd
)
ok
(
ret
&&
msg
.
hwnd
==
0
&&
msg
.
message
==
WM_USER
+
2
&&
msg
.
wParam
==
0x5678
&&
msg
.
lParam
==
0x1234
,
"
got ret %d hwnd %p msg %04x wParam %08lx lParam %08lx instead of TRUE/0/WM_USER/0x1234/0x5678
\n
"
,
ret
,
msg
.
hwnd
,
msg
.
message
,
msg
.
wParam
,
msg
.
lParam
);
"
%d: got ret %d hwnd %p msg %04x wParam %08lx lParam %08lx instead of TRUE/0/WM_USER+2/0x5678/0x1234
\n
"
,
i
,
ret
,
msg
.
hwnd
,
msg
.
message
,
msg
.
wParam
,
msg
.
lParam
);
else
ok
(
ret
&&
msg
.
hwnd
==
hwnd
&&
msg
.
message
==
WM_USER
+
1
&&
msg
.
wParam
==
0x1234
&&
msg
.
lParam
==
0x5678
,
"
got ret %d hwnd %p msg %04x wParam %08lx lParam %08lx instead of TRUE/0/WM_USER
/0x1234/0x5678
\n
"
,
ret
,
msg
.
hwnd
,
msg
.
message
,
msg
.
wParam
,
msg
.
lParam
);
"
%d: got ret %d hwnd %p msg %04x wParam %08lx lParam %08lx instead of TRUE/%p/WM_USER+1
/0x1234/0x5678
\n
"
,
i
,
ret
,
msg
.
hwnd
,
msg
.
message
,
msg
.
wParam
,
msg
.
lParam
,
msg
.
hwnd
);
}
}
...
...
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