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
d91dbd0b
Commit
d91dbd0b
authored
Jan 11, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Test for return value directly without macros.
parent
900c5cde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
clipboard.c
dlls/ole32/tests/clipboard.c
+3
-3
stg_prop.c
dlls/ole32/tests/stg_prop.c
+1
-1
No files found.
dlls/ole32/tests/clipboard.c
View file @
d91dbd0b
...
...
@@ -826,15 +826,15 @@ static void test_set_clipboard(void)
cf_onemore
=
RegisterClipboardFormatA
(
"one more format"
);
hr
=
DataObjectImpl_CreateText
(
"data1"
,
&
data1
);
ok
(
SUCCEEDED
(
hr
)
,
"Failed to create data1 object: 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to create data1 object: 0x%08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
hr
=
DataObjectImpl_CreateText
(
"data2"
,
&
data2
);
ok
(
SUCCEEDED
(
hr
)
,
"Failed to create data2 object: 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to create data2 object: 0x%08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
hr
=
DataObjectImpl_CreateComplex
(
&
data_cmpl
);
ok
(
SUCCEEDED
(
hr
)
,
"Failed to create complex data object: 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to create complex data object: 0x%08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
...
...
dlls/ole32/tests/stg_prop.c
View file @
d91dbd0b
...
...
@@ -186,7 +186,7 @@ static void testProps(void)
spec
.
ulKind
=
PRSPEC_PROPID
;
U
(
spec
).
propid
=
PIDSI_THUMBNAIL
;
hr
=
IPropertyStorage_ReadMultiple
(
propertyStorage
,
1
,
&
spec
,
&
var
);
ok
(
SUCCEEDED
(
hr
)
,
"ReadMultiple failed: 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"ReadMultiple failed: 0x%08x
\n
"
,
hr
);
ok
(
var
.
vt
==
VT_CF
,
"variant type wrong
\n
"
);
ok
(
U
(
var
).
pclipdata
->
ulClipFmt
==
CF_ENHMETAFILE
,
"clipboard type wrong
\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