public static void Main(String [] args)
    {
        Co1902CreateDelegate runClass = new Co1902CreateDelegate();

        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 = 11;
        }
    }
示例#2
0
 public static void Main( String [] args )
   {
   Co1902CreateDelegate runClass = new Co1902CreateDelegate();
   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 = 11;
   }