[AppDB] - unit tests should run with E_ALL error reporting

Chris Morgan cmorgan at alum.wpi.edu
Fri Nov 24 15:28:37 CST 2006


Set E_ALL error reporting in unit tests. Fix a bunch of errors including 
improper use of define(name_of_constant, value) that should actually be 
define("name_of_constant", value), reading variables from queries whos 
columns don't exist and then trying to set variables in the class that don't 
exist either. Properly check for variables being defined to eliminate some 
use of undefined variables and check before using objects returned from 
mysql_fetch_object().

Also add some more verbose failure text to the unit tests.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unit_test_error_fixes.patch
Type: text/x-diff
Size: 31421 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061124/249ad5af/unit_test_error_fixes-0001.bin


More information about the wine-patches mailing list