ExecutionStrategyTests ExecutionStrategyTests Class

Syntax

Declaration

public class ExecutionStrategyTestsPublic Class ExecutionStrategyTests

Inheritance Hierarchy

  • System.Object
    System.Object
  • ExecutionStrategyTests
    ExecutionStrategyTests

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Methods

  • CreateContext()
    CreateContext()
    protected DbContext CreateContext()Protected Function CreateContext As DbContext

    Returns

  • Execute_Action_does_not_throw_when_invoked_twice()
    Execute_Action_does_not_throw_when_invoked_twice()
    public void Execute_Action_does_not_throw_when_invoked_twice()Public Sub Execute_Action_does_not_throw_when_invoked_twice
  • Execute_Action_doesnt_retry_if_succesful()
    Execute_Action_doesnt_retry_if_succesful()
    public void Execute_Action_doesnt_retry_if_succesful()Public Sub Execute_Action_doesnt_retry_if_succesful
  • Execute_Action_doesnt_retry_if_suspended()
    Execute_Action_doesnt_retry_if_suspended()
    public void Execute_Action_doesnt_retry_if_suspended()Public Sub Execute_Action_doesnt_retry_if_suspended
  • Execute_Action_retries_until_limit_is_reached()
    Execute_Action_retries_until_limit_is_reached()
    public void Execute_Action_retries_until_limit_is_reached()Public Sub Execute_Action_retries_until_limit_is_reached
  • Execute_Action_retries_until_not_retrieable_exception_is_thrown()
    Execute_Action_retries_until_not_retrieable_exception_is_thrown()
    public void Execute_Action_retries_until_not_retrieable_exception_is_thrown()Public Sub Execute_Action_retries_until_not_retrieable_exception_is_thrown
  • Execute_Action_retries_until_succesful()
    Execute_Action_retries_until_succesful()
    public void Execute_Action_retries_until_succesful()Public Sub Execute_Action_retries_until_succesful
  • Execute_Action_throws_for_an_existing_transaction()
    Execute_Action_throws_for_an_existing_transaction()
    public void Execute_Action_throws_for_an_existing_transaction()Public Sub Execute_Action_throws_for_an_existing_transaction
  • Execute_Func_does_not_throw_when_invoked_twice()
    Execute_Func_does_not_throw_when_invoked_twice()
    public void Execute_Func_does_not_throw_when_invoked_twice()Public Sub Execute_Func_does_not_throw_when_invoked_twice
  • Execute_Func_doesnt_retry_if_succesful()
    Execute_Func_doesnt_retry_if_succesful()
    public void Execute_Func_doesnt_retry_if_succesful()Public Sub Execute_Func_doesnt_retry_if_succesful
  • Execute_Func_doesnt_retry_if_suspended()
    Execute_Func_doesnt_retry_if_suspended()
    public void Execute_Func_doesnt_retry_if_suspended()Public Sub Execute_Func_doesnt_retry_if_suspended
  • Execute_Func_retries_until_limit_is_reached()
    Execute_Func_retries_until_limit_is_reached()
    public void Execute_Func_retries_until_limit_is_reached()Public Sub Execute_Func_retries_until_limit_is_reached
  • Execute_Func_retries_until_not_retrieable_exception_is_thrown()
    Execute_Func_retries_until_not_retrieable_exception_is_thrown()
    public void Execute_Func_retries_until_not_retrieable_exception_is_thrown()Public Sub Execute_Func_retries_until_not_retrieable_exception_is_thrown
  • Execute_Func_retries_until_succesful()
    Execute_Func_retries_until_succesful()
    public void Execute_Func_retries_until_succesful()Public Sub Execute_Func_retries_until_succesful
  • Execute_Func_throws_for_an_existing_transaction()
    Execute_Func_throws_for_an_existing_transaction()
    public void Execute_Func_throws_for_an_existing_transaction()Public Sub Execute_Func_throws_for_an_existing_transaction
  • ExecuteAsync_Action_does_not_throw_when_invoked_twice()
    ExecuteAsync_Action_does_not_throw_when_invoked_twice()
    public Task ExecuteAsync_Action_does_not_throw_when_invoked_twice()Public Function ExecuteAsync_Action_does_not_throw_when_invoked_twice As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_doesnt_retry_if_succesful()
    ExecuteAsync_Action_doesnt_retry_if_succesful()
    public Task ExecuteAsync_Action_doesnt_retry_if_succesful()Public Function ExecuteAsync_Action_doesnt_retry_if_succesful As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_doesnt_retry_if_suspended()
    ExecuteAsync_Action_doesnt_retry_if_suspended()
    public Task ExecuteAsync_Action_doesnt_retry_if_suspended()Public Function ExecuteAsync_Action_doesnt_retry_if_suspended As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_retries_until_limit_is_reached()
    ExecuteAsync_Action_retries_until_limit_is_reached()
    public Task ExecuteAsync_Action_retries_until_limit_is_reached()Public Function ExecuteAsync_Action_retries_until_limit_is_reached As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_retries_until_not_retrieable_exception_is_thrown()
    ExecuteAsync_Action_retries_until_not_retrieable_exception_is_thrown()
    public Task ExecuteAsync_Action_retries_until_not_retrieable_exception_is_thrown()Public Function ExecuteAsync_Action_retries_until_not_retrieable_exception_is_thrown As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_retries_until_succesful()
    ExecuteAsync_Action_retries_until_succesful()
    public Task ExecuteAsync_Action_retries_until_succesful()Public Function ExecuteAsync_Action_retries_until_succesful As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Action_throws_for_an_existing_transaction()
    ExecuteAsync_Action_throws_for_an_existing_transaction()
    public Task ExecuteAsync_Action_throws_for_an_existing_transaction()Public Function ExecuteAsync_Action_throws_for_an_existing_transaction As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_does_not_throw_when_invoked_twice()
    ExecuteAsync_Func_does_not_throw_when_invoked_twice()
    public Task ExecuteAsync_Func_does_not_throw_when_invoked_twice()Public Function ExecuteAsync_Func_does_not_throw_when_invoked_twice As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_doesnt_retry_if_succesful()
    ExecuteAsync_Func_doesnt_retry_if_succesful()
    public Task ExecuteAsync_Func_doesnt_retry_if_succesful()Public Function ExecuteAsync_Func_doesnt_retry_if_succesful As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_doesnt_retry_if_suspended()
    ExecuteAsync_Func_doesnt_retry_if_suspended()
    public Task ExecuteAsync_Func_doesnt_retry_if_suspended()Public Function ExecuteAsync_Func_doesnt_retry_if_suspended As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_retries_until_limit_is_reached()
    ExecuteAsync_Func_retries_until_limit_is_reached()
    public Task ExecuteAsync_Func_retries_until_limit_is_reached()Public Function ExecuteAsync_Func_retries_until_limit_is_reached As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_retries_until_not_retrieable_exception_is_thrown()
    ExecuteAsync_Func_retries_until_not_retrieable_exception_is_thrown()
    public Task ExecuteAsync_Func_retries_until_not_retrieable_exception_is_thrown()Public Function ExecuteAsync_Func_retries_until_not_retrieable_exception_is_thrown As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_retries_until_succesful()
    ExecuteAsync_Func_retries_until_succesful()
    public Task ExecuteAsync_Func_retries_until_succesful()Public Function ExecuteAsync_Func_retries_until_succesful As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • ExecuteAsync_Func_throws_for_an_existing_transaction()
    ExecuteAsync_Func_throws_for_an_existing_transaction()
    public Task ExecuteAsync_Func_throws_for_an_existing_transaction()Public Function ExecuteAsync_Func_throws_for_an_existing_transaction As Task

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • GetNextDelay_returns_the_expected_default_sequence()
    GetNextDelay_returns_the_expected_default_sequence()
    public void GetNextDelay_returns_the_expected_default_sequence()Public Sub GetNextDelay_returns_the_expected_default_sequence
  • RetriesOnFailure_returns_true()
    RetriesOnFailure_returns_true()
    public void RetriesOnFailure_returns_true()Public Sub RetriesOnFailure_returns_true
  • Unwraps_DbUpdateException()
    Unwraps_DbUpdateException()
    public void Unwraps_DbUpdateException()Public Sub Unwraps_DbUpdateException
  • Unwraps_wrapped_null_exception()
    Unwraps_wrapped_null_exception()
    public void Unwraps_wrapped_null_exception()Public Sub Unwraps_wrapped_null_exception

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll