[Gdiplus 6/6] Don't check for succeeding functions, they always do

Adam Petaccia adam at tpetaccia.com
Sat Jun 28 09:50:06 CDT 2008


On Fri, 2008-06-27 at 19:19 -0500, James Hawkins wrote:
> On Fri, Jun 27, 2008 at 7:16 PM, Adam Petaccia <adam at tpetaccia.com> wrote:
> >
> > Subject: [Gdiplus 6/6] We're not checking to see if these functions
> > succeed or not, they all just return Ok.
> >
> 
> The point of regression tests is to prove that this is always the case...
> 
The GetGeneric* functions forward to CreateFontFamilyFrom name; I wrote
the regression tests to make sure that we retrieve the correct font;
Also, if one fails, it will be caught when the FontName string doesn't
compare correctly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080628/6965e478/attachment.pgp 


More information about the wine-devel mailing list