Nikolay Sivov : gdiplus/tests: Additional test to show that custom cap isn' t created without stroke path.
Module: wine Branch: master Commit: 25260e601c34a98d22db2a3cbd7649803377a05c URL: http://source.winehq.org/git/wine.git/?a=commit;h=25260e601c34a98d22db2a3cbd... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Sat Dec 5 21:58:57 2009 +0300 gdiplus/tests: Additional test to show that custom cap isn't created without stroke path. --- dlls/gdiplus/tests/customlinecap.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/tests/customlinecap.c b/dlls/gdiplus/tests/customlinecap.c index 78a8c70..7aa8dc4 100644 --- a/dlls/gdiplus/tests/customlinecap.c +++ b/dlls/gdiplus/tests/customlinecap.c @@ -59,8 +59,10 @@ static void test_constructor_destructor(void) stat = GdipDeleteCustomLineCap(custom); expect(Ok, stat); /* it's strange but native returns NotImplemented on stroke == NULL */ + custom = NULL; stat = GdipCreateCustomLineCap(path, NULL, LineCapFlat, 10.0, &custom); todo_wine expect(NotImplemented, stat); + todo_wine ok(custom == NULL, "Expected a failure on creation\n"); GdipDeletePath(path2); GdipDeletePath(path);
participants (1)
-
Alexandre Julliard