public static void Main(String[] args)
    {
        Boolean           bResult = false;
        StringBuilder     sblW    = null;
        Co1186ctor_String cbA     = new Co1186ctor_String();

        try
        {
            bResult = cbA.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.WriteLine("Co1186ctor_String.cs");
            sblW = new StringBuilder("EXTENDEDINFO: (E_999zzz) ");
            sblW.Append(exc.ToString());
            Console.WriteLine(sblW.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Ejemplo n.º 2
0
 public static void Main( String[] args ) 
   {
   Boolean bResult = false; 
   StringBuilder sblW = null;
   Co1186ctor_String cbA = new Co1186ctor_String();
   try
     {
     bResult = cbA.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.WriteLine(  "Co1186ctor_String.cs"  );
     sblW = new StringBuilder( "EXTENDEDINFO: (E_999zzz) " );
     sblW.Append( exc.ToString() );
     Console.WriteLine(  sblW.ToString()  );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
   }