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
4271524b
Commit
4271524b
authored
Sep 10, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Sep 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm/tests: Add test for IMimeInternational_GetDefaultCharset.
parent
8b68a629
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
mimeintl.c
dlls/inetcomm/tests/mimeintl.c
+19
-0
No files found.
dlls/inetcomm/tests/mimeintl.c
View file @
4271524b
...
...
@@ -181,10 +181,29 @@ static void test_charset(void)
IMimeInternational_Release
(
internat
);
}
static
void
test_defaultcharset
(
void
)
{
IMimeInternational
*
internat
;
HRESULT
hr
;
HCHARSET
hcs_default
,
hcs
;
hr
=
MimeOleGetInternat
(
&
internat
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
hr
=
IMimeInternational_GetDefaultCharset
(
internat
,
&
hcs_default
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
hr
=
IMimeInternational_GetCodePageCharset
(
internat
,
GetACP
(),
CHARSET_BODY
,
&
hcs
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
hcs_default
==
hcs
,
"Unexpected default charset
\n
"
);
IMimeInternational_Release
(
internat
);
}
START_TEST
(
mimeintl
)
{
OleInitialize
(
NULL
);
test_create
();
test_charset
();
test_defaultcharset
();
OleUninitialize
();
}
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