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
9120ce53
Commit
9120ce53
authored
Feb 20, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Remove an unreliable pixel test.
parent
07d9d1fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
win.c
dlls/user32/tests/win.c
+2
-3
No files found.
dlls/user32/tests/win.c
View file @
9120ce53
...
@@ -3440,8 +3440,6 @@ static void test_scrolldc( HWND parent)
...
@@ -3440,8 +3440,6 @@ static void test_scrolldc( HWND parent)
SetRectRgn
(
tmprgn
,
25
,
35
,
35
,
75
);
SetRectRgn
(
tmprgn
,
25
,
35
,
35
,
75
);
CombineRgn
(
exprgn
,
exprgn
,
tmprgn
,
RGN_OR
);
CombineRgn
(
exprgn
,
exprgn
,
tmprgn
,
RGN_OR
);
ok
(
EqualRgn
(
exprgn
,
hrgn
),
"wrong update region
\n
"
);
ok
(
EqualRgn
(
exprgn
,
hrgn
),
"wrong update region
\n
"
);
colr
=
GetPixel
(
hdc
,
80
,
80
);
ok
(
colr
==
0
,
"pixel should be black, color is %08x
\n
"
,
colr
);
trace
(
"update rect: %d,%d - %d,%d
\n
"
,
trace
(
"update rect: %d,%d - %d,%d
\n
"
,
rcu
.
left
,
rcu
.
top
,
rcu
.
right
,
rcu
.
bottom
);
rcu
.
left
,
rcu
.
top
,
rcu
.
right
,
rcu
.
bottom
);
if
(
winetest_debug
>
0
)
dump_region
(
hrgn
);
if
(
winetest_debug
>
0
)
dump_region
(
hrgn
);
...
@@ -3651,7 +3649,8 @@ static void test_redrawnow(void)
...
@@ -3651,7 +3649,8 @@ static void test_redrawnow(void)
ShowWindow
(
hwndMain
,
SW_SHOW
);
ShowWindow
(
hwndMain
,
SW_SHOW
);
ok
(
WMPAINT_count
==
0
,
"Multiple unexpected WM_PAINT calls %d
\n
"
,
WMPAINT_count
);
ok
(
WMPAINT_count
==
0
,
"Multiple unexpected WM_PAINT calls %d
\n
"
,
WMPAINT_count
);
RedrawWindow
(
hwndMain
,
NULL
,
NULL
,
RDW_UPDATENOW
|
RDW_ALLCHILDREN
);
RedrawWindow
(
hwndMain
,
NULL
,
NULL
,
RDW_UPDATENOW
|
RDW_ALLCHILDREN
);
ok
(
WMPAINT_count
==
1
,
"Multiple unexpected WM_PAINT calls %d
\n
"
,
WMPAINT_count
);
ok
(
WMPAINT_count
==
1
||
broken
(
WMPAINT_count
==
0
),
/* sometimes on win9x */
"Multiple unexpected WM_PAINT calls %d
\n
"
,
WMPAINT_count
);
redrawComplete
=
TRUE
;
redrawComplete
=
TRUE
;
ok
(
WMPAINT_count
<
10
,
"RedrawWindow (RDW_UPDATENOW) never completed (%d)
\n
"
,
WMPAINT_count
);
ok
(
WMPAINT_count
<
10
,
"RedrawWindow (RDW_UPDATENOW) never completed (%d)
\n
"
,
WMPAINT_count
);
...
...
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