usp10/tests: Remove special itemization failure test that doesn't happen.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-09-11 20:15:31 +03:00 committed by Alexandre Julliard
parent 68b8b7b4ba
commit 9e9f5aad84
1 changed files with 0 additions and 8 deletions

View File

@ -992,14 +992,6 @@ static inline void _test_shape_ok(int valid, HDC hdc, LPCWSTR string,
winetest_ok(SUCCEEDED(hr), "Failed to get script properties, hr %#x.\n", hr); winetest_ok(SUCCEEDED(hr), "Failed to get script properties, hr %#x.\n", hr);
hr = pScriptItemizeOpenType(string, cchString, 15, Control, State, outpItems, tags, &outnItems); hr = pScriptItemizeOpenType(string, cchString, 15, Control, State, outpItems, tags, &outnItems);
if (hr == USP_E_SCRIPT_NOT_IN_FONT)
{
if (valid > 0)
winetest_win_skip("Select font does not support script\n");
else
winetest_trace("Select font does not support script\n");
return;
}
if (valid > 0) if (valid > 0)
winetest_ok(hr == S_OK, "ScriptItemizeOpenType should return S_OK not %08x\n", hr); winetest_ok(hr == S_OK, "ScriptItemizeOpenType should return S_OK not %08x\n", hr);
else if (hr != S_OK) else if (hr != S_OK)