logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ViewNodeListGuiDuplicateTests

    EditMode tests for Serenity.Menu.Infrastructure.Editor.Builder.ViewNodeListGui.DuplicateDraft(System.Collections.Generic.List{Serenity.Menu.Infrastructure.Editor.Builder.MenuDraft},System.Int32)'s identity handling: a duplicate is built with EditorUtility.CopySerialized, which copies the source's guid too, so the copy must be given one of its own — two drafts sharing a guid make a sibling transition target ambiguous and write two assets that collide on the identity every by-guid lookup resolves through.

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

    Constructors

    ViewNodeListGuiDuplicateTests()

    Declaration
    public ViewNodeListGuiDuplicateTests()

    Methods

    DuplicateDraft_GivesTheCopyItsOwnGuid()

    Declaration
    public void DuplicateDraft_GivesTheCopyItsOwnGuid()

    DuplicateDraft_GivesTheCopyItsOwnId()

    Declaration
    public void DuplicateDraft_GivesTheCopyItsOwnId()

    TearDown()

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