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
2a26e954
Commit
2a26e954
authored
Jun 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink/tests: Comment out a test for an uninitialized return value.
parent
ed264c4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
hlink.c
dlls/hlink/tests/hlink.c
+5
-3
No files found.
dlls/hlink/tests/hlink.c
View file @
2a26e954
...
...
@@ -1093,7 +1093,8 @@ static void test_HlinkGetSetMonikerReference(void)
/* invalid HLINKSETF flags */
hres
=
IHlink_SetMonikerReference
(
hlink
,
12
,
dummy2
,
two
);
ok
(
hres
==
12
,
"IHlink_SetMonikerReference should've failed with 0x%08x, failed with 0x%08x
\n
"
,
12
,
hres
);
/* Windows returns garbage; on 32-bit it returns the flags probably because the compiler happened to store them in %eax at some point */
if
(
0
)
ok
(
hres
==
12
,
"IHlink_SetMonikerReference should've failed with 0x%08x, failed with 0x%08x
\n
"
,
12
,
hres
);
hres
=
IHlink_GetMonikerReference
(
hlink
,
HLINKGETREF_DEFAULT
,
&
found_trgt
,
&
found_loc
);
ok
(
found_trgt
==
dummy
,
"Found target should've been %p, was: %p
\n
"
,
dummy
,
found_trgt
);
...
...
@@ -1244,10 +1245,11 @@ static void test_HlinkGetSetStringReference(void)
CoTaskMemFree
(
fnd_loc
);
hres
=
IHlink_SetStringReference
(
link
,
4
,
NULL
,
NULL
);
ok
(
hres
==
4
,
"IHlink_SetStringReference should have failed with 0x4, instead: 0x%08x
\n
"
,
hres
);
/* Windows returns garbage; on 32-bit it returns the flags probably because the compiler happened to store them in %eax at some point */
if
(
0
)
ok
(
hres
==
4
,
"IHlink_SetStringReference should have failed with 0x4, instead: 0x%08x
\n
"
,
hres
);
hres
=
IHlink_SetStringReference
(
link
,
-
4
,
NULL
,
NULL
);
ok
(
hres
==
-
4
,
"IHlink_SetStringReference should have failed with 0xFFFFFFFC, instead: 0x%08x
\n
"
,
hres
);
if
(
0
)
ok
(
hres
==
-
4
,
"IHlink_SetStringReference should have failed with 0xFFFFFFFC, instead: 0x%08x
\n
"
,
hres
);
IHlink_Release
(
link
);
}
...
...
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