windowscodecs/tests: Actually test the return of IWICBitmap_GetSize().
This commit is contained in:
parent
94967c28b9
commit
a21f30c23e
|
@ -655,7 +655,7 @@ static void test_CreateBitmapFromHICON(void)
|
|||
ok(IsEqualGUID(&format, &GUID_WICPixelFormat32bppBGRA),
|
||||
"unexpected pixel format %s\n", wine_dbgstr_guid(&format));
|
||||
|
||||
IWICBitmap_GetSize(bitmap, &width, &height);
|
||||
hr = IWICBitmap_GetSize(bitmap, &width, &height);
|
||||
ok(hr == S_OK, "IWICBitmap_GetSize error %#x\n", hr);
|
||||
ok(width == 16, "expected 16, got %u\n", width);
|
||||
ok(height == 16, "expected 16, got %u\n", height);
|
||||
|
@ -683,7 +683,7 @@ static void test_CreateBitmapFromHICON(void)
|
|||
ok(IsEqualGUID(&format, &GUID_WICPixelFormat32bppBGRA),
|
||||
"unexpected pixel format %s\n", wine_dbgstr_guid(&format));
|
||||
|
||||
IWICBitmap_GetSize(bitmap, &width, &height);
|
||||
hr = IWICBitmap_GetSize(bitmap, &width, &height);
|
||||
ok(hr == S_OK, "IWICBitmap_GetSize error %#x\n", hr);
|
||||
ok(width == 16, "expected 16, got %u\n", width);
|
||||
ok(height == 16, "expected 16, got %u\n", height);
|
||||
|
|
Loading…
Reference in New Issue