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
ad5b8e5d
Commit
ad5b8e5d
authored
Feb 05, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32/tests: Add a trailing '\n' to ok() calls.
parent
71c27c99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dsm.c
dlls/twain_32/tests/dsm.c
+3
-3
No files found.
dlls/twain_32/tests/dsm.c
View file @
ad5b8e5d
...
...
@@ -180,7 +180,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
"Error [rc %d|cc %d] doing MSG_QUERYSUPPORT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
if
(
rc
!=
TWRC_SUCCESS
)
return
;
ok
(
get_onevalue
(
cap
.
hContainer
,
(
TW_UINT32
*
)
&
actual_support
,
NULL
),
"Returned cap.hContainer invalid for QuerySupport on type 0x%x"
,
captype
);
ok
(
get_onevalue
(
cap
.
hContainer
,
(
TW_UINT32
*
)
&
actual_support
,
NULL
),
"Returned cap.hContainer invalid for QuerySupport on type 0x%x
\n
"
,
captype
);
ok
(
actual_support
==
expected_support
,
"Error: expected support 0x%x for type 0x%x, got 0x%x
\n
"
,
expected_support
,
captype
,
actual_support
);
...
...
@@ -198,7 +198,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
"Error [rc %d|cc %d] doing MSG_GETCURRENT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
if
(
rc
==
TWRC_SUCCESS
)
{
ok
(
get_onevalue
(
cap
.
hContainer
,
&
orig_value
,
&
rtype
),
"Returned cap.hContainer invalid for GETCURRENT on type 0x%x"
,
captype
);
ok
(
get_onevalue
(
cap
.
hContainer
,
&
orig_value
,
&
rtype
),
"Returned cap.hContainer invalid for GETCURRENT on type 0x%x
\n
"
,
captype
);
ok
(
rtype
==
type
,
"Returned GETCURRENT type 0x%x for cap 0x%x is not expected 0x%x
\n
"
,
rtype
,
captype
,
type
);
GlobalFree
(
cap
.
hContainer
);
}
...
...
@@ -216,7 +216,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
"Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
if
(
rc
==
TWRC_SUCCESS
)
{
ok
(
get_onevalue
(
cap
.
hContainer
,
&
default_value
,
&
rtype
),
"Returned cap.hContainer invalid for GETDEFAULT on type 0x%x"
,
captype
);
ok
(
get_onevalue
(
cap
.
hContainer
,
&
default_value
,
&
rtype
),
"Returned cap.hContainer invalid for GETDEFAULT on type 0x%x
\n
"
,
captype
);
ok
(
rtype
==
type
,
"Returned GETDEFAULT type 0x%x for cap 0x%x is not expected 0x%x
\n
"
,
rtype
,
captype
,
type
);
GlobalFree
(
cap
.
hContainer
);
}
...
...
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