logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Tests.Editor

    Classes

    FontAssetCreatorTests

    EditMode tests for FontAssetCreator. Every test that writes an asset targets a private temp folder, so these tests stay hermetic regardless of what the project already has under DefaultOutputFolder. Mirrors GameSaveCreatorTests and UiSettingsCreatorTests.

    UiSettingsCreatorTests

    EditMode tests for UiSettingsCreator: field validation and, in a temporary folder, actual settings asset creation — including the create-vs-update singleton contract and EnsureSettings(string, bool, string)'s found/created/error outcomes. Every fixture uses an explicit Serenity.Ui.Tests.Editor.UiSettingsCreatorTests.TempFolder and either an explicit new-asset path, an explicit UiSettingsCreator.Input.ExistingSettingsAssetPath, or — for EnsureSettings(string, bool, string) — its searchRootFolder test seam, so these tests stay hermetic even though the package ships its own real singleton at Assets/Serenity/Media/Ui/UiSettings.asset; that asset is never touched here. Mirrors Serenity.Menu.Tests.Editor.MenuServiceSettingsCreatorTests.

    In this article
    © 2026 Serenity. All Rights Reserved