logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FoundationIdentityRulesTests

    Tests for FoundationIdentityRules: the shared Id/Guid uniqueness rules, plus ClassifyDuplicateIdGroup(IGrouping<string, IdentityRecord>, Func<IdentityRecord, bool>) — the ownership-aware read of a duplicate-Id group that lets a project-owned clone shadow a shipped asset with the same Id instead of being flagged as a genuine conflict.

    Inheritance
    object
    FoundationIdentityRulesTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Global.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class FoundationIdentityRulesTests

    Constructors

    FoundationIdentityRulesTests()

    Declaration
    public FoundationIdentityRulesTests()

    Methods

    ClassifyDuplicateIdGroup_NonePackageOwned_IsDuplicate()

    Declaration
    public void ClassifyDuplicateIdGroup_NonePackageOwned_IsDuplicate()

    ClassifyDuplicateIdGroup_OneProjectOwnedAmongPackageContent_IsShadowed()

    Declaration
    public void ClassifyDuplicateIdGroup_OneProjectOwnedAmongPackageContent_IsShadowed()

    ClassifyDuplicateIdGroup_TwoProjectOwned_IsDuplicate()

    Declaration
    public void ClassifyDuplicateIdGroup_TwoProjectOwned_IsDuplicate()

    FindDuplicateGuidGroups_SameGuidAcrossTypes_Grouped()

    Declaration
    public void FindDuplicateGuidGroups_SameGuidAcrossTypes_Grouped()

    FindDuplicateIdGroups_SameIdDifferentType_NotGrouped()

    Declaration
    public void FindDuplicateIdGroups_SameIdDifferentType_NotGrouped()

    IsIdDuplicated_ExcludingOwnIndex_ReturnsFalseForUniqueId()

    Declaration
    public void IsIdDuplicated_ExcludingOwnIndex_ReturnsFalseForUniqueId()

    IsIdDuplicated_SameTypeSameId_ReturnsTrue()

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