logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuPreviewLauncherThemeTests

    EditMode tests for Serenity.Menu.Infrastructure.Editor.Builder.MenuPreviewLauncher.EffectivePreviewTheme: it must distinguish "no preview has ever been opened" (fall back to the seed) from "an open preview's author explicitly chose None (wireframe)" (stay null even though a seed exists) — a null-coalesce on CurrentThemeOfOpenWindow() alone cannot tell the two apart, since both return null. See Serenity.Menu.Infrastructure.Editor.Builder.MenuPreviewLauncher.EffectivePreviewTheme's own remarks.

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

    Constructors

    MenuPreviewLauncherThemeTests()

    Declaration
    public MenuPreviewLauncherThemeTests()

    Methods

    EffectivePreviewTheme_PreviewClosed_FallsBackToTheSeed()

    Declaration
    public void EffectivePreviewTheme_PreviewClosed_FallsBackToTheSeed()

    EffectivePreviewTheme_PreviewOpenWithAThemeChosen_IsThatTheme()

    Declaration
    public void EffectivePreviewTheme_PreviewOpenWithAThemeChosen_IsThatTheme()

    EffectivePreviewTheme_PreviewOpenWithWireframeExplicitlyChosen_IsNullEvenWithASeed()

    Declaration
    public void EffectivePreviewTheme_PreviewOpenWithWireframeExplicitlyChosen_IsNullEvenWithASeed()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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