docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEditor.UIElements.TestFramework

    Classes

    ContextMenuSimulator

    Provides a testable wrapper for context menu interactions in UI Toolkit tests. Allows simulation and verification of context menu display, item selection, and menu content without invoking the native system menu.

    DebugUITestFixture

    Use this class instead of UITestFixture to keep an EditorWindow visible while developing or debugging tests.

    EditorPanelSimulator

    A PanelSimulator with a default EditorPanel.

    EditorWindowPanelSimulator

    A PanelSimulator accessing an EditorWindow's panel. Allows for the simulation of time passing, sending events, and updating the panel in a synchronous manner.

    EditorWindowUITestFixture<EditorWindowType>

    Test fixture base class that creates an EditorWindow.

    InspectorTestUtility

    Utility class to create an Inspector for a given object.

    StylesApplicator

    Applies styles to UI in conjunction with the test fixtures.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)