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
85d19193
Commit
85d19193
authored
Jul 06, 2008
by
Jeff Latimer
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10/tests: Remove incorrect tests.
parent
7da2a20a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
usp10.c
dlls/usp10/tests/usp10.c
+2
-5
No files found.
dlls/usp10/tests/usp10.c
View file @
85d19193
...
...
@@ -486,19 +486,17 @@ static void test_ScriptTextOut(HDC hdc)
"got %08x
\n
"
,
hr
);
ok
(
psc
==
NULL
,
"Expected psc to be NULL, got %p
\n
"
,
psc
);
/* Set psc to NULL, to be able to check if a pointer is returned in psc
* hdc is required for this one rather than the usual optional */
/* hdc is required for this one rather than the usual optional */
psc
=
NULL
;
hr
=
ScriptTextOut
(
NULL
,
&
psc
,
0
,
0
,
0
,
NULL
,
&
pItem
[
0
].
a
,
NULL
,
0
,
pwOutGlyphs1
,
pcGlyphs
,
piAdvance
,
NULL
,
pGoffset
);
ok
(
hr
==
E_INVALIDARG
,
"(NULL,&psc,), expected E_INVALIDARG, got %08x
\n
"
,
hr
);
ok
(
psc
==
NULL
,
"Expected psc to be NULL, got %p
\n
"
,
psc
);
/* Set that i
s gets a psc and tha
t returns 0 status */
/* Set that it returns 0 status */
hr
=
ScriptTextOut
(
hdc
,
&
psc
,
0
,
0
,
0
,
NULL
,
&
pItem
[
0
].
a
,
NULL
,
0
,
pwOutGlyphs1
,
pcGlyphs
,
piAdvance
,
NULL
,
pGoffset
);
ok
(
hr
==
0
,
"ScriptTextOut should return 0 not (%08x)
\n
"
,
hr
);
ok
(
psc
==
NULL
,
"psc should be null
\n
"
);
/* Test Rect Rgn is acceptable */
rect
.
top
=
10
;
...
...
@@ -508,7 +506,6 @@ static void test_ScriptTextOut(HDC hdc)
hr
=
ScriptTextOut
(
hdc
,
&
psc
,
0
,
0
,
0
,
&
rect
,
&
pItem
[
0
].
a
,
NULL
,
0
,
pwOutGlyphs1
,
pcGlyphs
,
piAdvance
,
NULL
,
pGoffset
);
ok
(
hr
==
0
,
"ScriptTextOut should return 0 not (%08x)
\n
"
,
hr
);
ok
(
psc
==
NULL
,
"psc should be null
\n
"
);
iCP
=
1
;
hr
=
ScriptCPtoX
(
iCP
,
fTrailing
,
cChars
,
pcGlyphs
,
(
const
WORD
*
)
&
pwLogClust
,
...
...
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