public bool runTest()
{
Console.WriteLine(s_strTFPath + "\\" + s_strTFName + " , for " + s_strClassMethod + " , Source ver " + s_strDtTmVer);
String strLoc = "Loc_000oo";
String strValue = String.Empty;
int iCountErrors = 0;
int iCountTestcases = 0;
try
{
UInt64 i64Ret;
strLoc = "Loc_398vy";
iCountTestcases++;
try
{
i64Ret = ((IConvertible)DBNull.Value).ToUInt64(null);
++iCountErrors;
printerr( "Error_100aa! Expected InvalidCastException not thrown");
}
catch (InvalidCastException icex)
{
printinfo( "Info_100cc! Caught InvalidCastException, icex=="+icex.Message);
}
catch (Exception exc_general)
{
++iCountErrors;
Console.WriteLine (s_strTFAbbrev + " : Error Err_100bb! Incorrect Exception thrown strLoc=="+ strLoc +", exc_general=="+exc_general.ToString());
}
} catch (Exception exc_general ) {
++iCountErrors;
Console.WriteLine (s_strTFAbbrev + " : Error Err_8888yyy! strLoc=="+ strLoc +", exc_general=="+exc_general.ToString());
}
if ( iCountErrors == 0 )
{
Console.WriteLine( "paSs. "+s_strTFName+" ,iCountTestcases=="+iCountTestcases.ToString());
return true;
}
else
{
Console.WriteLine("FAiL! "+s_strTFName+" ,iCountErrors=="+iCountErrors.ToString()+" , BugNums?: "+s_strActiveBugNums );
return false;
}
}
public void printerr ( String err )