logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CreateSystemConfigurationSettingsWindowReloadSafetyTests

    EditMode tests proving CreateSystemConfigurationSettingsWindow re-attaches to its surviving scratch draft after a domain reload instead of rebuilding from disk and losing unsaved edits. A real script recompile cannot be driven from this suite, so Serenity.SystemConfiguration.Infrastructure.Editor.Builder.CreateSystemConfigurationSettingsWindow.SimulateDomainReloadForTests reproduces only what a reload leaves behind (the non-serialized wrapper gone, the [SerializeField] mirror untouched) — see that seam's own remarks for what stays unverified.

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

    Constructors

    CreateSystemConfigurationSettingsWindowReloadSafetyTests()

    Declaration
    public CreateSystemConfigurationSettingsWindowReloadSafetyTests()

    Methods

    EnsureDraftBuilt_AfterSimulatedReload_ReattachesTheSurvivingScratchInsteadOfRebuilding()

    Declaration
    public void EnsureDraftBuilt_AfterSimulatedReload_ReattachesTheSurvivingScratchInsteadOfRebuilding()

    OnEnable_OnAFreshWindowWithNoSurvivingScratch_BuildsADraftImmediately()

    Declaration
    public void OnEnable_OnAFreshWindowWithNoSurvivingScratch_BuildsADraftImmediately()

    OneTimeTearDown()

    Declaration
    public void OneTimeTearDown()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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