runTest() public method

public runTest ( ) : Boolean
return Boolean
示例#1
0
    public static void Main(String [] args)
    {
        Co1657CopyTo_ai Co1657  = new Co1657CopyTo_ai();
        Boolean         bResult = Co1657.runTest();

        if (!bResult)
        {
            Console.WriteLine(Co1657.s_strTFPath + Co1657.s_strTFName);
            Console.Error.WriteLine(" ");
            Console.Error.WriteLine("FAiL!  " + Co1657.s_strTFAbbrev);
            Console.Error.WriteLine(" ");
            Console.Error.WriteLine("ACTIVE BUGS: " + Co1657.s_strActiveBugNums);
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
 public static void Main( String [] args )
 {
     Co1657CopyTo_ai Co1657 = new Co1657CopyTo_ai();
     Boolean bResult = Co1657.runTest();
     if ( ! bResult )
     {
         Console.WriteLine( Co1657.s_strTFPath + Co1657.s_strTFName );
         Console.Error.WriteLine( " " );
         Console.Error.WriteLine( "FAiL!  "+ Co1657.s_strTFAbbrev );  
         Console.Error.WriteLine( " " );
         Console.Error.WriteLine( "ACTIVE BUGS: " + Co1657.s_strActiveBugNums ); 
     }
     if ( bResult == true ) Environment.ExitCode = 0;
     else Environment.ExitCode = 1; 
 }