Module: wine Branch: master Commit: 8e8c991cd72a5a47c89fc5faa525c8fbba94cad3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e8c991cd72a5a47c89fc5faa5...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 29 08:18:32 2016 +0300
gdiplus/tests: A couple more GdipSetPenCompoundArray() tests.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 2cdb44a..19a180b 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);