Class ReentrancyGateTests
Tests for ReentrancyGate: the "not while I am already running" gate, and the property that separates it from its OnceGuard sibling — it releases, so the guarded work is reachable again after it finishes.
Inherited Members
Namespace: Serenity.Shared.Tests.Utils
Assembly: Tests.dll
Syntax
public class ReentrancyGateTests
Constructors
ReentrancyGateTests()
Declaration
public ReentrancyGateTests()
Methods
Exit_WithoutEnter_LeavesTheGateFree()
Declaration
public void Exit_WithoutEnter_LeavesTheGateFree()
IsInside_TracksEveryEnterAndExit()
Declaration
public void IsInside_TracksEveryEnterAndExit()
TryEnter_AfterExit_IsAllowedAgain()
Declaration
public void TryEnter_AfterExit_IsAllowedAgain()
TryEnter_FirstCall_TakesTheGate()
Declaration
public void TryEnter_FirstCall_TakesTheGate()
TryEnter_WhileInside_IsRefused()
Declaration
public void TryEnter_WhileInside_IsRefused()