Commit 85d19193 authored by Jeff Latimer's avatar Jeff Latimer Committed by Alexandre Julliard

usp10/tests: Remove incorrect tests.

parent 7da2a20a
...@@ -486,19 +486,17 @@ static void test_ScriptTextOut(HDC hdc) ...@@ -486,19 +486,17 @@ static void test_ScriptTextOut(HDC hdc)
"got %08x\n", hr); "got %08x\n", hr);
ok( psc == NULL, "Expected psc to be NULL, got %p\n", psc); 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; psc = NULL;
hr = ScriptTextOut(NULL, &psc, 0, 0, 0, NULL, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs, hr = ScriptTextOut(NULL, &psc, 0, 0, 0, NULL, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs,
piAdvance, NULL, pGoffset); piAdvance, NULL, pGoffset);
ok( hr == E_INVALIDARG, "(NULL,&psc,), expected E_INVALIDARG, got %08x\n", hr); 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); 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, hr = ScriptTextOut(hdc, &psc, 0, 0, 0, NULL, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs,
piAdvance, NULL, pGoffset); piAdvance, NULL, pGoffset);
ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr); ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr);
ok (psc == NULL, "psc should be null\n");
/* Test Rect Rgn is acceptable */ /* Test Rect Rgn is acceptable */
rect.top = 10; rect.top = 10;
...@@ -508,7 +506,6 @@ static void test_ScriptTextOut(HDC hdc) ...@@ -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, hr = ScriptTextOut(hdc, &psc, 0, 0, 0, &rect, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs,
piAdvance, NULL, pGoffset); piAdvance, NULL, pGoffset);
ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr); ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr);
ok (psc == NULL, "psc should be null\n");
iCP = 1; iCP = 1;
hr = ScriptCPtoX(iCP, fTrailing, cChars, pcGlyphs, (const WORD *) &pwLogClust, hr = ScriptCPtoX(iCP, fTrailing, cChars, pcGlyphs, (const WORD *) &pwLogClust,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment