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>
This commit is contained in:
Nikolay Sivov 2016-11-29 08:18:32 +03:00 committed by Alexandre Julliard
parent 919d9facea
commit 8e8c991cd7
1 changed files with 4 additions and 0 deletions

View File

@ -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);