Пример #1
0
    public static void Main(String[] args)
    {
        bool               bResult = false;
        StringBuilder      sblW    = null;
        Co1454ctor_Strings o2Co1454ctor_Strings = null;

        try
        {
            o2Co1454ctor_Strings = new Co1454ctor_Strings();
            bResult = o2Co1454ctor_Strings.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            sblW    = new StringBuilder("POINTTOBREAK:  String- Co1454ctor_Strings main caught Exception!  exc.ToString==");
            sblW.Append(exc.ToString());
            Console.Error.WriteLine(sblW.ToString());
        }
        if (!bResult)
        {
            Console.Error.WriteLine("Co1454ctor_Strings.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }
 public static void Main( String[] args )
   {
   bool bResult = false; 
   StringBuilder sblW = null;
   Co1454ctor_Strings o2Co1454ctor_Strings = null;
   try
     {
     o2Co1454ctor_Strings = new Co1454ctor_Strings();
     bResult = o2Co1454ctor_Strings.runTest();
     }
   catch ( System.Exception exc )
     {
     bResult = false;
     sblW = new StringBuilder( "POINTTOBREAK:  String- Co1454ctor_Strings main caught Exception!  exc.ToString==" );
     sblW.Append( exc.ToString() );
     Console.Error.WriteLine(  sblW.ToString()  );
     }
   if ( ! bResult )
     {
     Console.Error.WriteLine(  "Co1454ctor_Strings."  );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 11; 
   }