logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityAssetIdRulesTests

    Tests for Serenity.Global.Infrastructure.Editor.SerenityAssetIdRules. Like SerenityAssetIdLookupTests these build real assets on disk, because the only way to obtain a Serenity.Global.Infrastructure.Editor.SerenityAssetIdLookup.IdMatches`1 is to run a real pass over them — the struct's constructor is internal precisely so a rule can never be fed a pair no lookup produced.

    Every pass here is folder-scoped. None asks for the whole project, so this suite cannot be perturbed by what the real project ships.

    Inheritance
    object
    SerenityAssetIdRulesTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityGlobal.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class SerenityAssetIdRulesTests

    Constructors

    SerenityAssetIdRulesTests()

    Declaration
    public SerenityAssetIdRulesTests()

    Methods

    RejectCaseVariantInFolder_CaseVariantInFolder_BlocksBecauseTheFileNamesWouldCollide()

    Declaration
    public void RejectCaseVariantInFolder_CaseVariantInFolder_BlocksBecauseTheFileNamesWouldCollide()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    WarnAboutCaseVariantElsewhere_ExactDuplicateOnly_SaysNothing()

    Declaration
    public void WarnAboutCaseVariantElsewhere_ExactDuplicateOnly_SaysNothing()

    WarnAboutDuplicateIdElsewhere_CaseVariantOnly_SaysNothingBecauseThatIsTheOtherRulesJob()

    Declaration
    public void WarnAboutDuplicateIdElsewhere_CaseVariantOnly_SaysNothingBecauseThatIsTheOtherRulesJob()

    WarnAboutDuplicateIdElsewhere_ExactMatch_NamesThePathAndTheCallersConsequence()

    Declaration
    public void WarnAboutDuplicateIdElsewhere_ExactMatch_NamesThePathAndTheCallersConsequence()

    WarnAboutDuplicateIdElsewhere_ExactMatch_NeverBlocks()

    Declaration
    public void WarnAboutDuplicateIdElsewhere_ExactMatch_NeverBlocks()

    WarnAboutDuplicateIdElsewhere_NothingMatched_SaysNothing()

    Declaration
    public void WarnAboutDuplicateIdElsewhere_NothingMatched_SaysNothing()

    WarnAboutDuplicateIdElsewhere_UsesTheIdLabelTheCallerPassed()

    Declaration
    public void WarnAboutDuplicateIdElsewhere_UsesTheIdLabelTheCallerPassed()
    In this article
    © 2026 Serenity. All Rights Reserved