runTest() public method

public runTest ( ) : bool
return bool
Ejemplo n.º 1
0
    public static void Main(String[] args)
    {
        bool           bResult = false;
        Co3266ctor_str cb0     = new Co3266ctor_str();

        try
        {
            bResult = cb0.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("Co3266ctor_str.cs");
            System.Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Ejemplo n.º 2
0
 public static void Main( String[] args )
   {
   bool bResult = false; 
   Co3266ctor_str cb0 = new Co3266ctor_str();
   try
     {
     bResult = cb0.runTest();
     }
   catch ( System.Exception exc )
     {
     bResult = false;
     System.Console.Error.WriteLine(  "Co3266ctor_str.cs"  );
     System.Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
   }