runTest() 공개 메소드

public runTest ( ) : bool
리턴 bool
예제 #1
0
    public static void Main(String[] args)
    {
        bool         bResult = false;
        Co4242Next_i oCbTest = new Co4242Next_i();

        try
        {
            bResult = oCbTest.runTest();
        }
        catch (Exception ex)
        {
            bResult = false;
            Console.Error.Write(strTest);
            Console.Error.WriteLine(": Main() Uncaught exception");
            Console.Error.WriteLine(ex.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
 public static void Main( String[] args )
   {
   bool bResult = false;	
   Co4242Next_i oCbTest = new Co4242Next_i();
   try
     {
     bResult = oCbTest.runTest();
     }
   catch( Exception ex )
     {
     bResult = false;
     Console.Error.Write( strTest );
     Console.Error.WriteLine(  ": Main() Uncaught exception" );
     Console.Error.WriteLine( ex.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;
   }