From: Nikolay Sivov nsivov@codeweavers.com
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/windowscodecs/tests/metadata.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/dlls/windowscodecs/tests/metadata.c b/dlls/windowscodecs/tests/metadata.c index 793516312b1..478cbfaa2b3 100644 --- a/dlls/windowscodecs/tests/metadata.c +++ b/dlls/windowscodecs/tests/metadata.c @@ -3550,6 +3550,10 @@ static void test_metadata_IMD(void)
test_reader_container_format(reader, &GUID_ContainerFormatGif);
+ hr = IWICMetadataReader_GetCount(reader, &count); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + ok(!count, "Unexpected count %u.\n", count); + stream = create_stream(IMD_data, sizeof(IMD_data));
pos.QuadPart = 12; @@ -3676,6 +3680,13 @@ static void test_metadata_GCE(void)
test_reader_container_format(reader, &GUID_ContainerFormatGif);
+ hr = IWICMetadataReader_GetCount(reader, &count); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + todo_wine + ok(count == 5, "Unexpected count %u.\n", count); + if (count == 5) + compare_metadata(reader, default_data, count); + stream = create_stream(GCE_data, sizeof(GCE_data));
pos.QuadPart = 12; @@ -3809,6 +3820,13 @@ static void test_metadata_APE(void)
test_reader_container_format(reader, &GUID_ContainerFormatGif);
+ hr = IWICMetadataReader_GetCount(reader, &count); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + todo_wine + ok(count == 2, "Unexpected count %u.\n", count); + if (count == 2) + compare_metadata(reader, default_data, count); + stream = create_stream(APE_data, sizeof(APE_data));
hr = IUnknown_QueryInterface(reader, &IID_IWICPersistStream, (void **)&persist);