runTest() public méthode

public runTest ( ) : bool
Résultat bool
    public static void Main(String[] args)
    {
        bool bResult = false;

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