logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    SerenityHubValidationRunnerRegistryTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved