C# 클래스 Polly.Specs.Bulkhead.BulkheadSpecsHelper

상속: IDisposable
파일 보기 프로젝트 열기: App-vNext/Polly

보호된 프로퍼티들

프로퍼티 타입 설명
shimTimeSpan System.TimeSpan
statusChanged System.Threading.AutoResetEvent
testOutputHelper ITestOutputHelper

공개 메소드들

메소드 설명
BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
Dispose ( ) : void

보호된 메소드들

메소드 설명
EnsureNoUnbservedTaskExceptions ( Task tasks ) : void
OutputActionStatuses ( ) : void
Within ( System.TimeSpan timeSpan, System.Action actionContainingAssertions ) : void

Asserts that the actionContainingAssertions will succeed without AssertionFailedException or XunitException, within the given timespan. Checks are made each time a status-change pulse is received from the TraceableActions executing through the bulkhead.

메소드 상세

BulkheadSpecsHelper() 공개 메소드

public BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
testOutputHelper ITestOutputHelper
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnsureNoUnbservedTaskExceptions() 보호된 정적인 메소드

protected static EnsureNoUnbservedTaskExceptions ( Task tasks ) : void
tasks Task
리턴 void

OutputActionStatuses() 보호된 메소드

protected OutputActionStatuses ( ) : void
리턴 void

Within() 보호된 메소드

Asserts that the actionContainingAssertions will succeed without AssertionFailedException or XunitException, within the given timespan. Checks are made each time a status-change pulse is received from the TraceableActions executing through the bulkhead.
protected Within ( System.TimeSpan timeSpan, System.Action actionContainingAssertions ) : void
timeSpan System.TimeSpan The allowable timespan.
actionContainingAssertions System.Action The action containing fluent assertions, which must succeed within the timespan.
리턴 void

프로퍼티 상세

shimTimeSpan 보호되어 있는 프로퍼티

protected TimeSpan,System shimTimeSpan
리턴 System.TimeSpan

statusChanged 보호되어 있는 프로퍼티

protected AutoResetEvent,System.Threading statusChanged
리턴 System.Threading.AutoResetEvent

testOutputHelper 보호되어 있는 프로퍼티

protected ITestOutputHelper testOutputHelper
리턴 ITestOutputHelper