[(try 3) 3/3] opengl32/tests: Improve test for wglMakeCurrent.

Detlef Riekenberg wine.dev at web.de
Sat Sep 19 15:51:18 CDT 2009


On Sa, 2009-09-19 at 13:15 +0200, Rico Schüller wrote:
> > +    ret = wglMakeCurrent( NULL, NULL );
> > +    ok( !ret, "wglMakeCurrent failed\n" );
> >
> > shouldn't that message read "wglMakeCurrent succeeded" ?
> Yes, probably something like "wglMakeCurrent succeeded, but should 
> fail!" is really a better solution

Please remenber, that all failures have the prefix:
<filename>:<__LINE__>: Test failed: 

My style for the ok message is to print the returned result
followed by the expected result in round brackets.

-- 
 
By by ... Detlef




More information about the wine-devel mailing list