gdiplus/tests: Expand GdipImageGetFrameCount test coverage.

This commit is contained in:
Justin Chevrier 2010-03-15 19:14:27 -04:00 committed by Alexandre Julliard
parent 0bbce793c3
commit 94820ff0a4
1 changed files with 13 additions and 0 deletions

View File

@ -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);