Class UnityMenuViewInspectorSnapshotTests
The menu view's inspector reads runtime state that only exists once the menu is installed. In Edit mode no view model is bound, so reading it must answer "not bound" instead of throwing half-way through an IMGUI pass — an exception there leaves the inspector's layout groups open and the next component's header is drawn over leftover rows.
Inherited Members
Namespace: Serenity.Menu.Tests.Editor
Assembly: Serenity.Menu.Tests.Editor.dll
Syntax
public class UnityMenuViewInspectorSnapshotTests
Constructors
UnityMenuViewInspectorSnapshotTests()
Declaration
public UnityMenuViewInspectorSnapshotTests()
Methods
Capture_OnAnEditModeMenuViewWithNoViewModel_ReportsItUnboundWithoutThrowing()
Declaration
public void Capture_OnAnEditModeMenuViewWithNoViewModel_ReportsItUnboundWithoutThrowing()
TearDown()
Declaration
public void TearDown()