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
88cdfb9d
Commit
88cdfb9d
authored
Feb 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Remove some AbortProc checks that fail on various Windows versions.
parent
30e1445f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
printdlg.c
dlls/comdlg32/tests/printdlg.c
+4
-10
No files found.
dlls/comdlg32/tests/printdlg.c
View file @
88cdfb9d
...
@@ -353,25 +353,19 @@ static void test_abort_proc(void)
...
@@ -353,25 +353,19 @@ static void test_abort_proc(void)
goto
end
;
goto
end
;
}
}
ok
(
abort_proc_called
,
"AbortProc didn't get called by StartDoc.
\n
"
);
/* StartDoc may or may not call abort proc */
abort_proc_called
=
FALSE
;
abort_proc_called
=
FALSE
;
ok
(
StartPage
(
print_dc
)
>
0
,
"StartPage failed
\n
"
);
ok
(
StartPage
(
print_dc
)
>
0
,
"StartPage failed
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by StartPage.
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by StartPage.
\n
"
);
abort_proc_called
=
FALSE
;
abort_proc_called
=
FALSE
;
/* following functions sometimes call abort proc too */
ok
(
FillRect
(
print_dc
,
&
rect
,
(
HBRUSH
)(
COLOR_BACKGROUND
+
1
)),
"FillRect failed
\n
"
);
ok
(
FillRect
(
print_dc
,
&
rect
,
(
HBRUSH
)(
COLOR_BACKGROUND
+
1
)),
"FillRect failed
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by StretchBlt.
\n
"
);
abort_proc_called
=
FALSE
;
ok
(
EndPage
(
print_dc
)
>
0
,
"EndPage failed
\n
"
);
ok
(
EndPage
(
print_dc
)
>
0
,
"EndPage failed
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by EndPage.
\n
"
);
abort_proc_called
=
FALSE
;
ok
(
EndDoc
(
print_dc
)
>
0
,
"EndDoc failed
\n
"
);
ok
(
EndDoc
(
print_dc
)
>
0
,
"EndDoc failed
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by EndDoc.
\n
"
);
abort_proc_called
=
FALSE
;
abort_proc_called
=
FALSE
;
ok
(
DeleteDC
(
print_dc
),
"DeleteDC failed
\n
"
);
ok
(
DeleteDC
(
print_dc
),
"DeleteDC failed
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by DeleteDC.
\n
"
);
ok
(
!
abort_proc_called
,
"AbortProc got called unexpectedly by DeleteDC.
\n
"
);
abort_proc_called
=
FALSE
;
abort_proc_called
=
FALSE
;
...
...
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