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
48efa300
Commit
48efa300
authored
Jul 01, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Add a test for IMultiLanguage2_IsCodePageInstallable.
parent
c2eee9f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
mlang.c
dlls/mlang/tests/mlang.c
+18
-0
No files found.
dlls/mlang/tests/mlang.c
View file @
48efa300
...
@@ -1957,6 +1957,23 @@ static void test_GetFontUnicodeRanges(IMLangFontLink2 *font_link)
...
@@ -1957,6 +1957,23 @@ static void test_GetFontUnicodeRanges(IMLangFontLink2 *font_link)
DeleteDC
(
hdc
);
DeleteDC
(
hdc
);
}
}
static
void
test_IsCodePageInstallable
(
IMultiLanguage2
*
ml2
)
{
UINT
i
;
HRESULT
hr
;
for
(
i
=
0
;
i
<
0xffff
;
i
++
)
{
hr
=
IMultiLanguage2_IsCodePageInstallable
(
ml2
,
i
);
/* it would be better to use IMultiLanguage2_ValidateCodePageEx here but that brings
* up an installation dialog on some platforms, even when specifying CPIOD_PEEK.
*/
if
(
IsValidCodePage
(
i
))
ok
(
hr
==
S_OK
,
"code page %u is valid but not installable 0x%08x
\n
"
,
i
,
hr
);
}
}
START_TEST
(
mlang
)
START_TEST
(
mlang
)
{
{
IMultiLanguage
*
iML
=
NULL
;
IMultiLanguage
*
iML
=
NULL
;
...
@@ -2016,6 +2033,7 @@ START_TEST(mlang)
...
@@ -2016,6 +2033,7 @@ START_TEST(mlang)
test_multibyte_to_unicode_translations
(
iML2
);
test_multibyte_to_unicode_translations
(
iML2
);
test_IMultiLanguage2_ConvertStringFromUnicode
(
iML2
);
test_IMultiLanguage2_ConvertStringFromUnicode
(
iML2
);
test_IsCodePageInstallable
(
iML2
);
IMultiLanguage2_Release
(
iML2
);
IMultiLanguage2_Release
(
iML2
);
...
...
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