runTest() public method

public runTest ( ) : Boolean
return Boolean
Ejemplo n.º 1
0
    public static void Main(String[] args)
    {
        Boolean      bResult = false;
        Co4223Equals oCbTest = new Co4223Equals();

        try
        {
            bResult = oCbTest.runTest();
        }
        catch (Exception ex)
        {
            bResult = false;
            Console.Error.Write(strTest);
            Console.Error.WriteLine(": Main() Uncaught exception");
            Console.Error.WriteLine(ex.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Ejemplo n.º 2
0
 public static void Main( String[] args ) 
   {
   Boolean bResult = false;	
   Co4223Equals oCbTest = new Co4223Equals();
   try
     {
     bResult = oCbTest.runTest();
     }
   catch( Exception ex )
     {
     bResult = false;
     Console.Error.Write( strTest );
     Console.Error.WriteLine(  ": Main() Uncaught exception" );
     Console.Error.WriteLine( ex.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;
   }