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.
Inherited Members
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()