Commit 94820ff0 authored by Justin Chevrier's avatar Justin Chevrier Committed by Alexandre Julliard

gdiplus/tests: Expand GdipImageGetFrameCount test coverage.

parent 0bbce793
......@@ -226,6 +226,19 @@ static void test_GdipImageGetFrameDimensionsCount(void)
stat = GdipImageGetFrameDimensionsList((GpImage*)bm, &dimension, 0);
expect(InvalidParameter, stat);
stat = GdipImageGetFrameCount(NULL, &dimension, &count);
expect(InvalidParameter, stat);
/* WinXP crashes on this test */
if(0)
{
stat = GdipImageGetFrameCount((GpImage*)bm, &dimension, NULL);
expect(InvalidParameter, stat);
}
stat = GdipImageGetFrameCount((GpImage*)bm, NULL, &count);
todo_wine expect(Ok, stat);
count = 12345;
stat = GdipImageGetFrameCount((GpImage*)bm, &dimension, &count);
todo_wine expect(Ok, stat);
......
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