windowscodecs/tests: Use todo_wine_if() in tests.

Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Frédéric Delanoy 2016-02-23 21:42:30 +01:00 committed by Alexandre Julliard
parent b652c11969
commit e8704b6b8d

View file

@ -823,13 +823,8 @@ todo_wine
hr = IWICBitmap_CopyPixels(bitmap, NULL, 4, sizeof(data), data); hr = IWICBitmap_CopyPixels(bitmap, NULL, 4, sizeof(data), data);
ok(hr == S_OK, "IWICBitmap_CopyPixels error %#x\n", hr); ok(hr == S_OK, "IWICBitmap_CopyPixels error %#x\n", hr);
for (i = 0; i < sizeof(data); i++) for (i = 0; i < sizeof(data); i++)
{ todo_wine_if (data[i] != data_8bpp_pal_wic[i])
if (data[i] != data_8bpp_pal_wic[i])
todo_wine
ok(data[i] == data_8bpp_pal_wic[i], "%u: expected %#x, got %#x\n", i, data_8bpp_pal_wic[i], data[i]); ok(data[i] == data_8bpp_pal_wic[i], "%u: expected %#x, got %#x\n", i, data_8bpp_pal_wic[i], data[i]);
else
ok(data[i] == data_8bpp_pal_wic[i], "%u: expected %#x, got %#x\n", i, data_8bpp_pal_wic[i], data[i]);
}
IWICBitmap_Release(bitmap); IWICBitmap_Release(bitmap);
DeleteObject(hbmp); DeleteObject(hbmp);