Nikolay Sivov : gdiplus/tests: A couple more GdipSetPenCompoundArray() tests.

Alexandre Julliard julliard at winehq.org
Tue Nov 29 16:01:39 CST 2016


Module: wine
Branch: master
Commit: 8e8c991cd72a5a47c89fc5faa525c8fbba94cad3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e8c991cd72a5a47c89fc5faa525c8fbba94cad3

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Nov 29 08:18:32 2016 +0300

gdiplus/tests: A couple more GdipSetPenCompoundArray() tests.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);




More information about the wine-cvs mailing list