runTest() public method

public runTest ( ) : bool
return bool
コード例 #1
0
    public static void Main(String[] args)
    {
        bool           bResult = false;
        Co4335get_Keys cbA     = new Co4335get_Keys();

        try
        {
            bResult = cbA.runTest();
        }
        catch (Exception exc_main)
        {
            bResult = false;
            Console.Error.WriteLine("Err_9999,  Unhandeled Exception" + exc_main.ToString());
        }
        if (strActiveBugs.Length != 0)
        {
            Console.WriteLine("ACTIVE BUGS = " + strActiveBugs);
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
コード例 #2
0
ファイル: co4335get_keys.cs プロジェクト: ArildF/masters
 public static void Main( String[] args )
 {
     bool bResult = false; 
     Co4335get_Keys cbA = new Co4335get_Keys();
     try
     {
         bResult = cbA.runTest();
     }
     catch ( Exception exc_main )
     {
         bResult = false;
         Console.Error.WriteLine( "Err_9999,  Unhandeled Exception" + exc_main.ToString() );
     }
     if ( strActiveBugs.Length != 0 ) Console.WriteLine( "ACTIVE BUGS = " + strActiveBugs );
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }