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
5416057e
Commit
5416057e
authored
Oct 29, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Correct test under w2k8.
parent
65e614a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
mimeintl.c
dlls/inetcomm/tests/mimeintl.c
+19
-6
No files found.
dlls/inetcomm/tests/mimeintl.c
View file @
5416057e
...
...
@@ -46,13 +46,26 @@ static void test_create(void)
hr
=
MimeOleGetInternat
(
&
internat2
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
/* test to show that the object is a singleton with
a reference held by the dll. */
ok
(
internat
==
internat2
,
"instances differ
\n
"
);
ref
=
IMimeInternational_Release
(
internat2
);
ok
(
ref
==
2
,
"got %d
\n
"
,
ref
);
/* Under w2k8 it's no longer a singleton */
if
(
internat
==
internat2
)
{
/* test to show that the object is a singleton with
a reference held by the dll. */
ref
=
IMimeInternational_Release
(
internat2
);
ok
(
ref
==
2
,
"got %d
\n
"
,
ref
);
ref
=
IMimeInternational_Release
(
internat
);
ok
(
ref
==
1
,
"got %d
\n
"
,
ref
);
}
else
{
ref
=
IMimeInternational_Release
(
internat2
);
ok
(
ref
==
0
,
"got %d
\n
"
,
ref
);
ref
=
IMimeInternational_Release
(
internat
);
ok
(
ref
==
0
,
"got %d
\n
"
,
ref
);
}
IMimeInternational_Release
(
internat
);
}
static
inline
HRESULT
get_mlang
(
IMultiLanguage
**
ml
)
...
...
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