C# Class Polly.Specs.Retry.WaitAndRetryForeverAsyncSpecs

Inheritance: IDisposable
ファイルを表示 Open project: App-vNext/Polly

Public Methods

Method Description
Dispose ( ) : void
WaitAndRetryForeverAsyncSpecs ( ) : System

Private Methods

Method Description
Should_calculate_retry_timespans_from_current_retry_attempt_and_timespan_provider ( ) : void
Should_call_onretry_on_each_retry_with_the_current_exception ( ) : void
Should_create_new_context_for_each_call_to_policy ( ) : void
Should_execute_action_when_non_faulting_and_cancellationtoken_not_cancelled ( ) : void
Should_execute_func_returning_value_when_cancellationtoken_not_cancelled ( ) : void
Should_honour_and_report_cancellation_during_func_execution ( ) : void
Should_not_call_onretry_when_no_retries_are_performed ( ) : void
Should_not_execute_action_when_cancellationtoken_cancelled_before_execute ( ) : void
Should_not_sleep_if_no_retries ( ) : void
Should_not_throw_regardless_of_how_many_times_one_of_the_specified_exception_is_raised ( ) : void
Should_not_throw_regardless_of_how_many_times_the_specified_exception_is_raised ( ) : void
Should_not_throw_when_one_of_the_specified_exception_predicates_are_satisfied ( ) : void
Should_not_throw_when_specified_exception_predicate_is_satisfied ( ) : void
Should_report_cancellation_after_faulting_action_execution_and_cancel_further_retries_if_onRetry_invokes_cancellation ( ) : void
Should_report_cancellation_during_faulting_initial_action_execution_and_cancel_further_retries_when_user_delegate_does_not_observe_cancellationtoken ( ) : void
Should_report_cancellation_during_faulting_initial_action_execution_and_cancel_further_retries_when_user_delegate_observes_cancellationtoken ( ) : void
Should_report_cancellation_during_faulting_retried_action_execution_and_cancel_further_retries_when_user_delegate_does_not_observe_cancellationtoken ( ) : void
Should_report_cancellation_during_faulting_retried_action_execution_and_cancel_further_retries_when_user_delegate_observes_cancellationtoken ( ) : void
Should_report_cancellation_during_otherwise_non_faulting_action_execution_and_cancel_further_retries_when_user_delegate_observes_cancellationtoken ( ) : void
Should_throw_when_exception_thrown_is_not_one_of_the_specified_exception_types ( ) : void
Should_throw_when_exception_thrown_is_not_the_specified_exception_type ( ) : void
Should_throw_when_none_of_the_specified_exception_predicates_are_satisfied ( ) : void
Should_throw_when_onretry_action_is_null_with_context ( ) : void
Should_throw_when_onretry_action_is_null_without_context ( ) : void
Should_throw_when_sleep_duration_provider_is_null_with_context ( ) : void
Should_throw_when_sleep_duration_provider_is_null_without_context ( ) : void
Should_throw_when_specified_exception_predicate_is_not_satisfied ( ) : void
Should_wait_asynchronously_for_async_onretry_delegate ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

WaitAndRetryForeverAsyncSpecs() public method

public WaitAndRetryForeverAsyncSpecs ( ) : System
return System