Beispiel #1
0
 public static void Main( String[] args ) 
   {
   bool bResult = false; 
   Co1000ToUpper oCo1000TUa = new Co1000ToUpper();
   bResult = oCo1000TUa.runTest
     ();
   if (bResult == true) System.Console.Error.WriteLine( "String.ToUpper: Co1000TU paSs." );
   else                 System.Console.Error.WriteLine( "String.ToUpper: Co1000TU FAiL." );
   if (bResult == true) Environment.ExitCode = 0;
   else                 Environment.ExitCode = 11;
   }
Beispiel #2
0
    public static void Main(String[] args)
    {
        bool          bResult    = false;
        Co1000ToUpper oCo1000TUa = new Co1000ToUpper();

        bResult = oCo1000TUa.runTest
                      ();
        if (bResult == true)
        {
            System.Console.Error.WriteLine("String.ToUpper: Co1000TU paSs.");
        }
        else
        {
            System.Console.Error.WriteLine("String.ToUpper: Co1000TU FAiL.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }