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
1cf567ec
Commit
1cf567ec
authored
Apr 25, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool.drv: Disable a test for capabilities not available on all printer drivers.
parent
b48118b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
info.c
dlls/winspool.drv/tests/info.c
+13
-9
No files found.
dlls/winspool.drv/tests/info.c
View file @
1cf567ec
...
...
@@ -2345,15 +2345,19 @@ static void test_DeviceCapabilities(void)
ok
(
n_copies
>
0
,
"DeviceCapabilities DC_COPIES failed
\n
"
);
trace
(
"n_copies = %d
\n
"
,
n_copies
);
ret
=
DeviceCapabilities
(
device
,
port
,
DC_MAXEXTENT
,
NULL
,
NULL
);
ok
(
ret
!=
-
1
,
"DeviceCapabilities DC_MAXEXTENT failed
\n
"
);
ext
=
MAKEPOINTS
(
ret
);
trace
(
"max ext = %d x %d
\n
"
,
ext
.
x
,
ext
.
y
);
ret
=
DeviceCapabilities
(
device
,
port
,
DC_MINEXTENT
,
NULL
,
NULL
);
ok
(
ret
!=
-
1
,
"DeviceCapabilities DC_MINEXTENT failed
\n
"
);
ext
=
MAKEPOINTS
(
ret
);
trace
(
"min ext = %d x %d
\n
"
,
ext
.
x
,
ext
.
y
);
/* these capabilities not available on all printer drivers */
if
(
0
)
{
ret
=
DeviceCapabilities
(
device
,
port
,
DC_MAXEXTENT
,
NULL
,
NULL
);
ok
(
ret
!=
-
1
,
"DeviceCapabilities DC_MAXEXTENT failed
\n
"
);
ext
=
MAKEPOINTS
(
ret
);
trace
(
"max ext = %d x %d
\n
"
,
ext
.
x
,
ext
.
y
);
ret
=
DeviceCapabilities
(
device
,
port
,
DC_MINEXTENT
,
NULL
,
NULL
);
ok
(
ret
!=
-
1
,
"DeviceCapabilities DC_MINEXTENT failed
\n
"
);
ext
=
MAKEPOINTS
(
ret
);
trace
(
"min ext = %d x %d
\n
"
,
ext
.
x
,
ext
.
y
);
}
fields
=
DeviceCapabilities
(
device
,
port
,
DC_FIELDS
,
NULL
,
NULL
);
ok
(
fields
!=
(
DWORD
)
-
1
,
"DeviceCapabilities DC_FIELDS failed
\n
"
);
...
...
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