gdiplus: Add test cases for GdipDrawCurve

Vincent Povirk madewokherd+8cd9 at gmail.com
Tue Jun 2 23:00:01 CDT 2009


+    /* make a graphics object and pen object */

+    status = GdipCreateFromHDC(hdc, &graphics);

+    expect(Ok, status);

+    ok(hdc != NULL, "Expected HDC to be initialized\n");

+

+    status = GdipCreateFromHDC(hdc, &graphics);

+    expect(Ok, status);

+    ok(graphics != NULL, "Expected graphics to be initialized\n");


You're creating two graphics objects here and leaking the first one.

Vincent Povirk



On Tue, Jun 2, 2009 at 10:39 PM, Andrew
Eikum<andrew at brightnightgames.com> wrote:
> Tested on WinXP Professional SP3 and Win7 Ultimate RC1, all pass.
>
> ---
>  dlls/gdiplus/tests/graphics.c |   64 +++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 64 insertions(+), 0 deletions(-)
>
>
>
>



More information about the wine-devel mailing list