Class SerenityHubValidationRunnerRegistryTests
EditMode tests for SerenityHubValidationRunnerRegistry — the seam an assembly the Hub cannot reference (e.g. Localization, design ADR-1) uses to publish a project validator, mirroring SerenityHubStatusRowRegistry.
Inherited Members
Namespace: Serenity.Hub.Tests.Editor
Assembly: Serenity.Hub.Tests.Editor.dll
Syntax
public class SerenityHubValidationRunnerRegistryTests
Constructors
SerenityHubValidationRunnerRegistryTests()
Declaration
public SerenityHubValidationRunnerRegistryTests()
Methods
Register_BlankId_Throws()
Declaration
public void Register_BlankId_Throws()
Register_CalledTwiceWithTheSameId_DoesNotAccumulateDuplicateIds()
Declaration
public void Register_CalledTwiceWithTheSameId_DoesNotAccumulateDuplicateIds()
Register_CalledTwiceWithTheSameId_TheLaterRunnerWins()
Declaration
public void Register_CalledTwiceWithTheSameId_TheLaterRunnerWins()
Register_NullRunner_Throws()
Declaration
public void Register_NullRunner_Throws()
Register_RunnerIsInvokedLazily_NotAtRegistrationTime()
Declaration
public void Register_RunnerIsInvokedLazily_NotAtRegistrationTime()
RegisteredValidatorIds_KeepsFirstRegistrationOrder()
Declaration
public void RegisteredValidatorIds_KeepsFirstRegistrationOrder()
TryGet_WithABlankId_ReturnsFalseInsteadOfThrowing()
Declaration
public void TryGet_WithABlankId_ReturnsFalseInsteadOfThrowing()
TryGet_WithNoRegistrationForAnId_ReturnsFalseAndANullRunner()
Declaration
public void TryGet_WithNoRegistrationForAnId_ReturnsFalseAndANullRunner()