public Boolean runTest()
{
Console.WriteLine(s_strTFPath + " " + s_strTFName + " ,for " + s_strComponentBeingTested + " ,Source ver " + s_strDtTmVer);
try
{
m_strLoc = "Loc_normalTests";
XenoUInt64 xeno = new XenoUInt64();
UInt64 x;
while (xeno.HasMoreValues())
{
x = xeno.GetNextValue();
iCountTestcases++;
if (x.ToString( ).Equals(x.ToString("d")) != true)
{
iCountErrors++;
}
}
} catch (Exception e) {
Console.WriteLine("Unexpected exception " + e + " thrown during runTest try.");
iCountErrors++;
}
Console.Write(Environment.NewLine);
Console.WriteLine("Total Tests Ran: " + iCountTestcases + " Failed Tests: " + iCountErrors);
if (iCountErrors == 0)
{
Console.WriteLine("paSs. " + s_strTFPath + " " + s_strTFName + " ,iCountTestcases==" + iCountTestcases);
return(true);
}
else
{
Console.WriteLine("FAiL! " + s_strTFPath + " " + s_strTFName + " ,iCountErrors==" + iCountErrors + " ,BugNums?: " + s_strActiveBugNums);
return(false);
}
}