Beispiel #1
0
    public static int Main(String [] args)
    {
        Co1727 runClass;
        bool   bResult;

        runClass = new Co1727();
        bResult  = runClass.runTest();

        if (bResult)
        {
            TestLibrary.Logging.WriteLine("PASS");
            return(100);
        }
        else
        {
            TestLibrary.Logging.WriteLine("FAIL");
            return(0);
        }
    }
Beispiel #2
0
    public static void Main(String [] args)
    {
        Co1727  runClass = new Co1727();
        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;
        }
    }
Beispiel #3
0
	public static int Main( String [] args )
	{
		Co1727 runClass;
		bool bResult;

		runClass = new Co1727();
		bResult  = runClass.runTest();

		if (bResult)
		{
			TestLibrary.Logging.WriteLine("PASS");
			return 100;
		}
		else
		{
			TestLibrary.Logging.WriteLine("FAIL");
			return 0;
		}
	}
Beispiel #4
0
 public static void Main( String [] args )
 {
     Co1727 runClass = new Co1727();
     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; 
 }