runTest() public method

public runTest ( ) : bool
return bool
 public static void Main( String[] args )
   {
   bool bResult = false; 
   try
     {
     Co4271ToUpper o2Co4271ToUpper = new Co4271ToUpper();
     bResult = o2Co4271ToUpper.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.Error.WriteLine( "Character- Co4271ToUpper main caught Exception!" );
     Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;  
   }
示例#2
0
    public static void Main(String[] args)
    {
        bool bResult = false;

        try
        {
            Co4271ToUpper o2Co4271ToUpper = new Co4271ToUpper();
            bResult = o2Co4271ToUpper.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("Character- Co4271ToUpper main caught Exception!");
            Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }