Class SerenityBuildSettingsBinderTests
EditMode tests for Serenity.CreateGame.Infrastructure.Editor.SerenityBuildSettingsBinder. UnityEditor.EditorBuildSettings.scenes is this dev project's REAL boot configuration (it ships Serenity_InitializationScene + GameScene), so every test snapshots the full array in SetUp() and restores it unconditionally in TearDown() — which then asserts the restore actually landed, so a leak into the shared project state fails loudly in the same run instead of silently corrupting it for whatever runs next.
Inherited Members
Namespace: Serenity.CreateGame.Tests.Editor
Assembly: Serenity.CreateGame.Tests.Editor.dll
Syntax
public class SerenityBuildSettingsBinderTests
Constructors
SerenityBuildSettingsBinderTests()
Declaration
public SerenityBuildSettingsBinderTests()
Methods
Generate_RestoresBuildSettingsWhenCommitWindowFails()
Declaration
public void Generate_RestoresBuildSettingsWhenCommitWindowFails()
RegisterScenes_AddsBootAtIndexZero_GameplayAfter_ExistingEntriesPreservedAfterThem()
Declaration
public void RegisterScenes_AddsBootAtIndexZero_GameplayAfter_ExistingEntriesPreservedAfterThem()
RegisterScenes_GeneratorIntegration_RegistersBothGeneratedScenesWithBootAtIndexZero()
Declaration
public void RegisterScenes_GeneratorIntegration_RegistersBothGeneratedScenesWithBootAtIndexZero()
RegisterScenes_RejectsNullOrEmptyPaths_WithoutTouchingTheArray()
Declaration
public void RegisterScenes_RejectsNullOrEmptyPaths_WithoutTouchingTheArray()
RegisterScenes_RerunIsIdempotent_NoDuplicatesCountStable()
Declaration
public void RegisterScenes_RerunIsIdempotent_NoDuplicatesCountStable()
RegisterScenes_WhenAlreadyPresentAtOtherPositions_MovesBootToIndexZeroWithoutDuplicating()
Declaration
public void RegisterScenes_WhenAlreadyPresentAtOtherPositions_MovesBootToIndexZeroWithoutDuplicating()
RegisterScenes_WhenExistingEntryIsAlreadyEnabled_DoesNotReportIt()
Declaration
public void RegisterScenes_WhenExistingEntryIsAlreadyEnabled_DoesNotReportIt()
RegisterScenes_WhenExistingEntryIsDisabled_ReportsItAsReEnabled()
Declaration
public void RegisterScenes_WhenExistingEntryIsDisabled_ReportsItAsReEnabled()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()