From 8e8c991cd72a5a47c89fc5faa525c8fbba94cad3 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 29 Nov 2016 08:18:32 +0300 Subject: [PATCH] gdiplus/tests: A couple more GdipSetPenCompoundArray() tests. Signed-off-by: Nikolay Sivov Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/gdiplus/tests/pen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/gdiplus/tests/pen.c b/dlls/gdiplus/tests/pen.c index 2cdb44a651e..19a180b0585 100644 --- a/dlls/gdiplus/tests/pen.c +++ b/dlls/gdiplus/tests/pen.c @@ -364,6 +364,8 @@ todo_wine { expect(Ok, status); ok(count == 0, "Unexpected compound count %d\n", count); } + status = GdipSetPenCompoundArray(pen, NULL, 0); + expect(InvalidParameter, status); status = GdipSetPenCompoundArray(pen, NULL, 4); expect(InvalidParameter, status); status = GdipSetPenCompoundArray(pen, testvalues, 3); @@ -375,6 +377,8 @@ todo_wine { status = GdipSetPenCompoundArray(pen, testvalues, 4); todo_wine expect(Ok, status); + status = GdipSetPenCompoundArray(pen, NULL, 0); + expect(InvalidParameter, status); count = 0; status = GdipGetPenCompoundCount(pen, &count);