コード例 #1
0
    public static void Main(String[] args)
    {
        bool           bResult = false;
        Co3100ctor_int cb0     = new Co3100ctor_int();

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