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