Message78054
> It's difficult to really test such errors.
When I can't control the called function, I usually step through the
code in a debugger and change the result variable in question to the
appropriate value to see if the code handles failed function calls
correctly.
In the three Win32 API cases, it's clear that the failure path was not
tested.
And I can't see how the ferr if statement was tested with a failure
value either. |
|
Date |
User |
Action |
Args |
2008-12-19 06:34:24 | typo.pl | set | recipients:
+ typo.pl, loewis, amaury.forgeotdarc, mark.dickinson, pitrou |
2008-12-19 06:34:23 | typo.pl | set | messageid: <1229668463.92.0.119904086431.issue4653@psf.upfronthosting.co.za> |
2008-12-19 06:34:22 | typo.pl | link | issue4653 messages |
2008-12-19 06:34:21 | typo.pl | create | |
|