logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CollectionSettingsSelectionTests

    Tests for WithoutShadowedTwins<T>(IReadOnlyList<T>, Func<T, string>, out IReadOnlyList<string>): the rule that drops a shipped collection member once the project owns the adopted clone made from it. Applied to plain string candidates so the policy itself stays engine-agnostic (exemplar: SingletonSettingsSelectionTests).

    Inheritance
    object
    CollectionSettingsSelectionTests
    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 CollectionSettingsSelectionTests

    Constructors

    CollectionSettingsSelectionTests()

    Declaration
    public CollectionSettingsSelectionTests()

    Methods

    WithoutShadowedTwins_AdoptedWithoutItsOriginal_IsKept()

    Declaration
    public void WithoutShadowedTwins_AdoptedWithoutItsOriginal_IsKept()

    WithoutShadowedTwins_NoCandidates_ReturnsEmptyAndReportsNothing()

    Declaration
    public void WithoutShadowedTwins_NoCandidates_ReturnsEmptyAndReportsNothing()

    WithoutShadowedTwins_NothingShadowed_PreservesOrderAndReportsNothing()

    Declaration
    public void WithoutShadowedTwins_NothingShadowed_PreservesOrderAndReportsNothing()

    WithoutShadowedTwins_NullCandidates_ReturnsEmptyAndReportsNothing()

    Declaration
    public void WithoutShadowedTwins_NullCandidates_ReturnsEmptyAndReportsNothing()

    WithoutShadowedTwins_NullOrEmptyIds_AreKept()

    Declaration
    public void WithoutShadowedTwins_NullOrEmptyIds_AreKept()

    WithoutShadowedTwins_PartialAdoption_KeepsTheUntwinnedShippedMembers()

    Declaration
    public void WithoutShadowedTwins_PartialAdoption_KeepsTheUntwinnedShippedMembers()

    WithoutShadowedTwins_ShippedWithAnAdoptedTwin_DropsTheShippedOne()

    Declaration
    public void WithoutShadowedTwins_ShippedWithAnAdoptedTwin_DropsTheShippedOne()

    WithoutShadowedTwins_ShippedWithoutATwin_IsKept()

    Declaration
    public void WithoutShadowedTwins_ShippedWithoutATwin_IsKept()

    WithoutShadowedTwins_TwinDeclaredBeforeItsOriginal_StillDropsTheShippedOne()

    Declaration
    public void WithoutShadowedTwins_TwinDeclaredBeforeItsOriginal_StillDropsTheShippedOne()

    WithoutShadowedTwins_TwoShippedMembersSharingAnId_AreBothDropped()

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