logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

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

    Constructors

    UnityMenuViewInspectorSnapshotTests()

    Declaration
    public UnityMenuViewInspectorSnapshotTests()

    Methods

    Capture_OnAnEditModeMenuViewWithNoViewModel_ReportsItUnboundWithoutThrowing()

    Declaration
    public void Capture_OnAnEditModeMenuViewWithNoViewModel_ReportsItUnboundWithoutThrowing()

    TearDown()

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