Exemplo n.º 1
0
    public static void Main(String [] args)
    {
        Co1805 runClass = new Co1805();

        if (args.Length > 0)
        {
            Console.WriteLine("Verbose ON!");
            runClass.verbose = true;
        }
        Boolean bResult = runClass.runTest();

        if (!bResult)
        {
            Console.WriteLine(runClass.s_strTFPath + runClass.s_strTFName);
            Console.Error.WriteLine(" ");
            Console.Error.WriteLine("FAiL!  " + runClass.s_strTFAbbrev);
            Console.Error.WriteLine(" ");
            Console.Error.WriteLine("ACTIVE BUGS: " + runClass.s_strActiveBugNums);
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Exemplo n.º 2
0
 public static void Main( String [] args )
 {
     Co1805 runClass = new Co1805();
     if ( args.Length > 0 )
     {
         Console.WriteLine( "Verbose ON!" );
         runClass.verbose = true;
     }	
     Boolean bResult = runClass.runTest();
     if ( ! bResult )
     {
         Console.WriteLine( runClass.s_strTFPath + runClass.s_strTFName );
         Console.Error.WriteLine( " " );
         Console.Error.WriteLine( "FAiL!  "+ runClass.s_strTFAbbrev );  
         Console.Error.WriteLine( " " );
         Console.Error.WriteLine( "ACTIVE BUGS: " + runClass.s_strActiveBugNums ); 
     }
     if ( bResult == true ) Environment.ExitCode = 0;
     else Environment.ExitCode = 1; 
 }