C# 클래스 Objectivity.Test.Automation.Common.Helpers.WaitHelper

Contains wait methods with timeouts
파일 보기 프로젝트 열기: ObjectivityBSS/Test.Automation 1 사용 예제들

공개 메소드들

메소드 설명
Wait ( Func condition, System.TimeSpan timeout, System.TimeSpan sleepInterval ) : bool

Wait for a condition with given timeout and timeInterval.

Wait ( Func condition, System.TimeSpan timeout, System.TimeSpan sleepInterval, string message ) : void

Wait for a condition with given timeout and timeInterval.

Wait ( Func condition, System.TimeSpan timeout, string message ) : void

Wait for a condition with given timeout.

메소드 상세

Wait() 공개 정적인 메소드

Wait for a condition with given timeout and timeInterval.
public static Wait ( Func condition, System.TimeSpan timeout, System.TimeSpan sleepInterval ) : bool
condition Func The condition to be met.
timeout System.TimeSpan The timeout value [seconds] indicating how long to wait for the condition.
sleepInterval System.TimeSpan The value [seconds] indicating how often to check for the condition to be true.
리턴 bool

Wait() 공개 정적인 메소드

Wait for a condition with given timeout and timeInterval.
Timeout exception when condition is not met
public static Wait ( Func condition, System.TimeSpan timeout, System.TimeSpan sleepInterval, string message ) : void
condition Func The condition to be met.
timeout System.TimeSpan The timeout value [seconds] indicating how long to wait for the condition.
sleepInterval System.TimeSpan The value [seconds] indicating how often to check for the condition to be true.
message string The exception message
리턴 void

Wait() 공개 정적인 메소드

Wait for a condition with given timeout.
Timeout exception when condition is not met
public static Wait ( Func condition, System.TimeSpan timeout, string message ) : void
condition Func The condition to be met.
timeout System.TimeSpan The timeout value [seconds] indicating how long to wait for the condition.
message string The exception message
리턴 void