Skip to content
Snippets Groups Projects
Commit 3d802924 authored by Nathan Beckmann's avatar Nathan Beckmann Committed by Alexandre Julliard
Browse files

gdiplus: Add tests for GdipCreateBitmapFromFile.

parent f49c7bb4
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,17 @@ static void test_GetImageDimension(void)
GdipDisposeImage((GpImage*)bm);
}
static void test_LoadingImages(void)
{
GpStatus stat;
stat = GdipCreateBitmapFromFile(0, 0);
expect(InvalidParameter, stat);
stat = GdipCreateBitmapFromFile(0, (GpBitmap**)0xdeadbeef);
expect(InvalidParameter, stat);
}
START_TEST(image)
{
struct GdiplusStartupInput gdiplusStartupInput;
......@@ -119,6 +130,7 @@ START_TEST(image)
test_Scan0();
test_GetImageDimension();
test_LoadingImages();
GdiplusShutdown(gdiplusToken);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment