logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ThemeCreatorLeaderboardTests

    EditMode tests for the Leaderboard.prefab generated by ChromePrefabBuilders.BuildLeaderboard as part of a full theme generation run. Exercised end-to-end through the public SerenityThemeBuilderRunner entry point rather than calling ThemeCreator directly, since ThemeCreator/GenerationContext/ChromePrefabBuilders are internal to the Ui Installation Editor assembly and this test assembly has no InternalsVisibleTo grant into it.

    Inheritance
    object
    ThemeCreatorLeaderboardTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UiThemeValidation.Tests.Editor
    Assembly: Serenity.UiThemeValidation.Tests.Editor.dll
    Syntax
    public class ThemeCreatorLeaderboardTests

    Constructors

    ThemeCreatorLeaderboardTests()

    Declaration
    public ThemeCreatorLeaderboardTests()

    Methods

    CreateFromJson_EmptyStateShowsMessageAndStartsInactive()

    Declaration
    public void CreateFromJson_EmptyStateShowsMessageAndStartsInactive()

    CreateFromJson_GeneratesLeaderboardTemplate()

    Declaration
    public void CreateFromJson_GeneratesLeaderboardTemplate()

    CreateFromJson_IncludeLeaderboardFalse_SkipsLeaderboardGeneration()

    Declaration
    public void CreateFromJson_IncludeLeaderboardFalse_SkipsLeaderboardGeneration()

    CreateFromJson_LeaderboardHeaderShowsLeaderboardText()

    Declaration
    public void CreateFromJson_LeaderboardHeaderShowsLeaderboardText()

    CreateFromJson_LeaderboardTemplateCarriesPanelComponent()

    Declaration
    public void CreateFromJson_LeaderboardTemplateCarriesPanelComponent()

    CreateFromJson_LeaderboardTemplateNestsIgnoreLayoutBackground()

    Declaration
    public void CreateFromJson_LeaderboardTemplateNestsIgnoreLayoutBackground()

    CreateFromJson_OutputFolderMissing_CreatesTheFolderAndTheTheme()

    ThemeCreator's own Validate/Create are internal to the Ui Installation Editor assembly, with no InternalsVisibleTo grant into this test assembly — see the class doc. This exercises the same "the output folder does not exist yet" case end-to-end through the public JSON runner instead: a not-yet-existing outputFolder must not block generation, and the runner must create it (mirrors FeedbackCreatorTests.Create_OutputFolderMissing_CreatesTheFolderAndTheAssets).

    Declaration
    public void CreateFromJson_OutputFolderMissing_CreatesTheFolderAndTheTheme()

    CreateFromJson_RowsContainerHasThreePreviewRows()

    Declaration
    public void CreateFromJson_RowsContainerHasThreePreviewRows()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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