private Boolean runTest( Boolean verbose )
{
int iCountErrors = 0;
int iCountTestcases = 0;
try
{
++iCountTestcases;
if ( verbose ) Console.WriteLine( "checking if ArgIterator.Equals throws the NotSupportedException" );
try {
NormClass.argit1( __arglist( ) );
}
catch (NotSupportedException) {}
catch (Exception ex) {
++iCountErrors;
Console.WriteLine( "Err_008a, Unexpected exception was thrown ex: " + ex.ToString() );
}
}
catch (Exception exc_runTest)
{
++iCountErrors;
Console.Error.WriteLine (strName+" "+strTest+" "+strPath);
Console.Error.WriteLine ("Unexpected Exception (runTest99): "+exc_runTest.ToString());
}
Console.WriteLine ();
Console.WriteLine ("FINAL TEST RESULT:" + strName+" "+strTest+" "+strPath);
Console.WriteLine ();
if ( iCountErrors == 0 ) { return true; }
else { return false;}
}
public static void Main( String[] args )