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.
Inherited Members
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()