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
9d538e43
Commit
9d538e43
authored
Feb 07, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Make FlashWindowEx tests pass under Windows.
parent
39a4b5fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
win.c
dlls/user32/tests/win.c
+4
-3
No files found.
dlls/user32/tests/win.c
View file @
9d538e43
...
@@ -6710,7 +6710,7 @@ static void test_FlashWindowEx(void)
...
@@ -6710,7 +6710,7 @@ static void test_FlashWindowEx(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pFlashWindowEx
(
&
finfo
);
ret
=
pFlashWindowEx
(
&
finfo
);
todo_wine
ok
(
!
ret
,
"
FlashWindowEx succeeded
\n
"
);
todo_wine
ok
(
!
ret
,
"
previous window state should not be active
\n
"
);
finfo
.
cbSize
=
sizeof
(
FLASHWINFO
)
-
1
;
finfo
.
cbSize
=
sizeof
(
FLASHWINFO
)
-
1
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
@@ -6750,7 +6750,7 @@ static void test_FlashWindowEx(void)
...
@@ -6750,7 +6750,7 @@ static void test_FlashWindowEx(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pFlashWindowEx
(
&
finfo
);
ret
=
pFlashWindowEx
(
&
finfo
);
todo_wine
ok
(
!
ret
,
"FlashWindowEx succeeded
\n
"
);
ok
(
ret
,
"previous window state should be active
\n
"
);
ok
(
finfo
.
cbSize
==
sizeof
(
FLASHWINFO
),
"FlashWindowEx modified cdSize to %x
\n
"
,
finfo
.
cbSize
);
ok
(
finfo
.
cbSize
==
sizeof
(
FLASHWINFO
),
"FlashWindowEx modified cdSize to %x
\n
"
,
finfo
.
cbSize
);
ok
(
finfo
.
hwnd
==
hwnd
,
"FlashWindowEx modified hwnd to %p
\n
"
,
finfo
.
hwnd
);
ok
(
finfo
.
hwnd
==
hwnd
,
"FlashWindowEx modified hwnd to %p
\n
"
,
finfo
.
hwnd
);
...
@@ -6761,7 +6761,8 @@ static void test_FlashWindowEx(void)
...
@@ -6761,7 +6761,8 @@ static void test_FlashWindowEx(void)
finfo
.
dwFlags
=
FLASHW_STOP
;
finfo
.
dwFlags
=
FLASHW_STOP
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pFlashWindowEx
(
&
finfo
);
ret
=
pFlashWindowEx
(
&
finfo
);
ok
(
ret
,
"FlashWindowEx failed with %d
\n
"
,
GetLastError
());
todo_wine
ok
(
!
ret
,
"previous window state should not be active
\n
"
);
DestroyWindow
(
hwnd
);
DestroyWindow
(
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