Class UnityLeaderboardViewLayoutTests
EditMode tests for how Configure(UnityLeaderboardViewDefinition, UnityLeaderboardPanel, ILeaderboardService, ILeaderboardSettings, IEventDispatcherService, IViewRouter, IViewBrowserService, SerenityUiContext, ILogService, IServiceLocator) always drives
ApplyElementPlacements(IReadOnlyList<LeaderboardElementPlacement>) with the definition's resolved placements.
Builds a panel and a view with every collaborator left null (Configure only stores them; nothing else
touches them for these assertions), mirroring how lightly UnityLeaderboardViewCancelTests builds
its own view but without the router/history scaffolding this slice doesn't need.
Inherited Members
Namespace: Serenity.Leaderboard.Tests.Editor
Assembly: Serenity.Leaderboard.Tests.Editor.dll
Syntax
public class UnityLeaderboardViewLayoutTests
Constructors
UnityLeaderboardViewLayoutTests()
Declaration
public UnityLeaderboardViewLayoutTests()
Methods
Configure_AllDefaultDefinition_BackgroundRendersUnderThemeMode()
Declaration
public void Configure_AllDefaultDefinition_BackgroundRendersUnderThemeMode()
Configure_AuthoredButtons_EachBuiltButtonIgnoresLayoutAndCarriesItsAuthoredPlacement()
Declaration
public void Configure_AuthoredButtons_EachBuiltButtonIgnoresLayoutAndCarriesItsAuthoredPlacement()
Configure_AuthoredButtons_NoUiContextOrTemplate_BuildsOneProceduralButtonPerEntry()
Declaration
public void Configure_AuthoredButtons_NoUiContextOrTemplate_BuildsOneProceduralButtonPerEntry()
Configure_ForwardsCustomBackgroundSettingsToThePanel()
Declaration
public void Configure_ForwardsCustomBackgroundSettingsToThePanel()
Configure_HiddenBackgroundMode_DeactivatesTheBackgroundChild()
Declaration
public void Configure_HiddenBackgroundMode_DeactivatesTheBackgroundChild()
Configure_NoAuthoredBackgroundPlacement_LeavesAFullStretchBackgroundChildUntouched()
Declaration
public void Configure_NoAuthoredBackgroundPlacement_LeavesAFullStretchBackgroundChildUntouched()
Configure_NoAuthoredButtons_BuildsNoButtonChildren()
Declaration
public void Configure_NoAuthoredButtons_BuildsNoButtonChildren()
Configure_NullDefinition_FallsBackToDefaultBackgroundStyle()
Declaration
public void Configure_NullDefinition_FallsBackToDefaultBackgroundStyle()
Configure_WithNoAuthoredPlacements_AppliesTheDefaultPlacements()
Declaration
public void Configure_WithNoAuthoredPlacements_AppliesTheDefaultPlacements()
NewDefinition_DefaultsToTheThemeBackgroundMode()
Declaration
public void NewDefinition_DefaultsToTheThemeBackgroundMode()
ResolveElementPlacements_OmitsBackgroundUntilAuthored()
Declaration
public void ResolveElementPlacements_OmitsBackgroundUntilAuthored()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()