Module: wine
Branch: master
Commit: 85d191937bedf165ed80d40d0833f058a21991a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=85d191937bedf165ed80d40d0…
Author: Jeff Latimer <lats(a)yless4u.com.au>
Date: Sun Jul 6 13:54:16 2008 +1000
usp10/tests: Remove incorrect tests.
---
dlls/usp10/tests/usp10.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 3902e2b..0705904 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -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 is gets a psc and that 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,