Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a12cc39c
Commit
a12cc39c
authored
Apr 10, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10/tests: Fix some test failures on Vista and W2K8 (ScriptPlace).
parent
277a84a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
usp10.c
dlls/usp10/tests/usp10.c
+13
-1
No files found.
dlls/usp10/tests/usp10.c
View file @
a12cc39c
...
...
@@ -44,6 +44,8 @@ static void test_ScriptShape(HDC hdc)
SCRIPT_VISATTR
attrs
[
4
];
SCRIPT_ITEM
items
[
2
];
int
nb
,
widths
[
4
];
GOFFSET
offset
[
4
];
ABC
abc
[
4
];
hr
=
ScriptItemize
(
NULL
,
4
,
2
,
NULL
,
NULL
,
items
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"ScriptItemize should return E_INVALIDARG not %08x
\n
"
,
hr
);
...
...
@@ -81,9 +83,19 @@ static void test_ScriptShape(HDC hdc)
ok
(
hr
==
E_INVALIDARG
,
"ScriptPlace should return E_INVALIDARG not %08x
\n
"
,
hr
);
hr
=
ScriptPlace
(
NULL
,
&
sc
,
glyphs
,
4
,
attrs
,
&
items
[
0
].
a
,
widths
,
NULL
,
NULL
);
ok
(
hr
==
E_PENDING
||
hr
==
E_INVALIDARG
,
/* Vista, W2K8 */
"ScriptPlace should return E_PENDING or E_INVALIDARG, not %08x
\n
"
,
hr
);
hr
=
ScriptPlace
(
NULL
,
&
sc
,
glyphs
,
4
,
attrs
,
&
items
[
0
].
a
,
widths
,
offset
,
NULL
);
ok
(
hr
==
E_PENDING
,
"ScriptPlace should return E_PENDING not %08x
\n
"
,
hr
);
hr
=
ScriptPlace
(
hdc
,
&
sc
,
glyphs
,
4
,
attrs
,
&
items
[
0
].
a
,
widths
,
NULL
,
NULL
);
hr
=
ScriptPlace
(
NULL
,
&
sc
,
glyphs
,
4
,
attrs
,
&
items
[
0
].
a
,
widths
,
NULL
,
abc
);
ok
(
hr
==
E_PENDING
||
hr
==
E_INVALIDARG
,
/* Vista, W2K8 */
"ScriptPlace should return E_PENDING or E_INVALIDARG, not %08x
\n
"
,
hr
);
hr
=
ScriptPlace
(
hdc
,
&
sc
,
glyphs
,
4
,
attrs
,
&
items
[
0
].
a
,
widths
,
offset
,
NULL
);
ok
(
!
hr
,
"ScriptPlace should return S_OK not %08x
\n
"
,
hr
);
ok
(
items
[
0
].
a
.
fNoGlyphIndex
==
FALSE
,
"fNoGlyphIndex TRUE
\n
"
);
...
...
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