logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Character.Tests.Editor.Builder

    Classes

    CharacterConfigCreatorTests

    EditMode tests for CharacterConfigCreator. Every test targets fixture asset paths under a private temp folder — the real project's own CharacterConfigSO assets, if any, are never touched — and every test passes an explicit FolderPath so folder-scoped resolution never resolves to (or is made ambiguous by) anything the real project ships. DuplicateIdSearchFolder is pinned to Serenity.Character.Tests.Editor.Builder.CharacterConfigCreatorTests.TempFolder in Serenity.Character.Tests.Editor.Builder.CharacterConfigCreatorTests.BuildInput(System.String,System.String) (mirroring GameModeSettingsCreatorTests' PlayerInputSettingsSearchFolder pinning) so the duplicate-Id-elsewhere scan is hermetic by construction rather than by the real project happening to ship zero CharacterConfigSO assets today.

    CreateCharacterWindowStepErrorGateTests

    Covers the Configure step's own blocking error (a blank Id, which Validate(Input) requires): Serenity.Character.Infrastructure.Editor.Builder.CreateCharacterWindow.StepErrorForTests(System.Int32) must report it on the Configure step itself, and go quiet again once the Id is fixed — the behavior SerenityWizardStepController.UseStepErrorGate now gates a breadcrumb jump on.

    In this article
    © 2026 Serenity. All Rights Reserved