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
59cc56b1
Commit
59cc56b1
authored
Apr 17, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Skip several tests on Win9x.
parent
cf6ec333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
pen.c
dlls/gdi32/tests/pen.c
+13
-0
No files found.
dlls/gdi32/tests/pen.c
View file @
59cc56b1
...
...
@@ -91,6 +91,14 @@ static void test_logpen(void)
size
=
GetObject
(
hpen
,
sizeof
(
lp
),
&
lp
);
ok
(
size
==
sizeof
(
lp
),
"GetObject returned %d, error %d
\n
"
,
size
,
GetLastError
());
if
(
pen
[
i
].
style
==
PS_USERSTYLE
||
pen
[
i
].
style
==
PS_ALTERNATE
)
{
if
(
lp
.
lopnStyle
==
pen
[
i
].
style
)
{
win_skip
(
"Skipping PS_USERSTYLE and PS_ALTERNATE tests on Win9x
\n
"
);
continue
;
}
}
ok
(
lp
.
lopnStyle
==
pen
[
i
].
ret_style
,
"expected %u, got %u
\n
"
,
pen
[
i
].
ret_style
,
lp
.
lopnStyle
);
ok
(
lp
.
lopnWidth
.
x
==
pen
[
i
].
ret_width
,
"expected %u, got %d
\n
"
,
pen
[
i
].
ret_width
,
lp
.
lopnWidth
.
x
);
ok
(
lp
.
lopnWidth
.
y
==
0
||
...
...
@@ -521,6 +529,11 @@ static void test_ps_userstyle(void)
pen
=
ExtCreatePen
(
PS_GEOMETRIC
|
PS_USERSTYLE
,
50
,
&
lb
,
3
,
NULL
);
ok
(
pen
==
0
,
"ExtCreatePen should fail
\n
"
);
if
(
pen
==
0
&&
GetLastError
()
==
0xdeadbeef
)
{
win_skip
(
"Looks like 9x, skipping PS_USERSTYLE tests
\n
"
);
return
;
}
expect
(
ERROR_INVALID_PARAMETER
,
GetLastError
());
DeleteObject
(
pen
);
SetLastError
(
0xdeadbeef
);
...
...
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