[PATCH 2/2] gdiplus/tests: A couple more GdipSetPenCompoundArray() tests
Nikolay Sivov
nsivov at codeweavers.com
Mon Nov 28 23:18:32 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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);
--
2.10.2
More information about the wine-patches
mailing list