C# Class Polly.Specs.Bulkhead.BulkheadSpecsHelper

Inheritance: IDisposable
Afficher le fichier Open project: App-vNext/Polly

Protected Properties

Свойство Type Description
shimTimeSpan System.TimeSpan
statusChanged System.Threading.AutoResetEvent
testOutputHelper ITestOutputHelper

Méthodes publiques

Méthode Description
BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
Dispose ( ) : void

Méthodes protégées

Méthode Description
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.

Method Details

BulkheadSpecsHelper() public méthode

public BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
testOutputHelper ITestOutputHelper
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnsureNoUnbservedTaskExceptions() protected static méthode

protected static EnsureNoUnbservedTaskExceptions ( Task tasks ) : void
tasks Task
Résultat void

OutputActionStatuses() protected méthode

protected OutputActionStatuses ( ) : void
Résultat void

Within() protected méthode

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.
Résultat void

Property Details

shimTimeSpan protected_oe property

protected TimeSpan,System shimTimeSpan
Résultat System.TimeSpan

statusChanged protected_oe property

protected AutoResetEvent,System.Threading statusChanged
Résultat System.Threading.AutoResetEvent

testOutputHelper protected_oe property

protected ITestOutputHelper testOutputHelper
Résultat ITestOutputHelper