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

        try
        {
            Co1551Or o2Co1551Or = new Co1551Or();
            bResult = o2Co1551Or.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("POINTTOBREAK: find E_999zz (Co1551Or.cs)");
            sblW = new StringBuilder("EXTENDEDINFO: (E_999zz ,Co1551Or)  exc.ToString()==");
            sblW.Append(exc.ToString());
            Console.Error.WriteLine(sblW.ToString());
        }
        if (!bResult)
        {
            Console.Error.WriteLine("Co1551Or.cs");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Пример #2
0
 public static void Main( String[] args )
 {
     bool bResult = false; 
     StringBuilder sblW = null;
     try
     {
         Co1551Or o2Co1551Or = new Co1551Or();
         bResult = o2Co1551Or.runTest();
     }
     catch ( Exception exc )
     {
         bResult = false;
         Console.Error.WriteLine(  "POINTTOBREAK: find E_999zz (Co1551Or.cs)" );
         sblW = new StringBuilder( "EXTENDEDINFO: (E_999zz ,Co1551Or)  exc.ToString()==" );
         sblW.Append( exc.ToString() );
         Console.Error.WriteLine(  sblW.ToString()  );
     }
     if ( ! bResult )
     {
         Console.Error.WriteLine(  "Co1551Or.cs"  );
     }
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }