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
cca98c46
Commit
cca98c46
authored
Mar 17, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Make tests working on older systems, prevent crash on some wine boxes.
parent
45306f86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
typelib.c
dlls/oleaut32/tests/typelib.c
+8
-4
No files found.
dlls/oleaut32/tests/typelib.c
View file @
cca98c46
...
...
@@ -1076,6 +1076,10 @@ static void test_CreateTypeLib(void) {
hres
=
ICreateTypeInfo_AddRefTypeInfo
(
createti
,
unknown
,
&
hreftype
);
ok
(
hres
==
S_OK
,
"got %08x
\n
"
,
hres
);
if
(
hres
!=
S_OK
)
{
skip
(
"Skipping some tests
\n
"
);
return
;
}
hres
=
ICreateTypeInfo_AddImplType
(
createti
,
1
,
hreftype
);
ok
(
hres
==
TYPE_E_ELEMENTNOTFOUND
,
"got %08x
\n
"
,
hres
);
...
...
@@ -1434,18 +1438,18 @@ static void test_CreateTypeLib(void) {
hres
=
ICreateTypeLib2_SaveAllChanges
(
createtl
);
ok
(
hres
==
S_OK
,
"got %08x
\n
"
,
hres
);
hres
=
LoadTypeLibEx
(
filenameW
,
REGKIND_NONE
,
&
tl
);
ok
(
hres
==
S_OK
,
"got %08x
\n
"
,
hres
);
ok
(
ITypeInfo_Release
(
interface2
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeInfo_Release
(
interface1
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeInfo_Release
(
dual
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ICreateTypeLib2_Release
(
createtl
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeInfo_Release
(
dispatch
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeInfo_Release
(
unknown
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeLib_Release
(
stdole
)
==
0
,
"Object should be freed
\n
"
);
hres
=
LoadTypeLibEx
(
filenameW
,
REGKIND_NONE
,
&
tl
);
ok
(
hres
==
S_OK
,
"got %08x
\n
"
,
hres
);
ok
(
ITypeLib_Release
(
tl
)
==
0
,
"Object should be freed
\n
"
);
ok
(
ITypeLib_Release
(
stdole
)
==
0
,
"Object should be freed
\n
"
);
DeleteFileA
(
filename
);
}
...
...
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