Class SerenityCreateGameSceneGeneratorTests
EditMode tests for SerenityCreateGameSceneGenerator. Every test that touches disk points
at a private temp folder — the shipped Serenity.CreateGame.Infrastructure.Editor.CreateGameScenePaths.DefaultRootFolder is never
written to — and cleans up both the assets and their Addressables entries in TearDown(),
mirroring SerenityCreateGameBootSceneTests and SerenitySampleSceneGeneratorTests.
Inherited Members
Namespace: Serenity.CreateGame.Tests.Editor
Assembly: Serenity.CreateGame.Tests.Editor.dll
Syntax
public class SerenityCreateGameSceneGeneratorTests
Constructors
SerenityCreateGameSceneGeneratorTests()
Declaration
public SerenityCreateGameSceneGeneratorTests()
Methods
Generate_ConsumesRecipeReportPaths()
Tier-3 seam test: runs the real SerenityRecipeEngine in Import
over a minimal-loop recipe, builds CreateGameGeneratedAssets from the resulting
report's asset actions (never from a hand-rolled path), and asserts the boot scene's installer ends
up referencing the recipe-generated UnityUiSettings asset — not the shipped default.
Declaration
public void Generate_ConsumesRecipeReportPaths()
Generate_CreatesBootAndGameplayScenes()
Declaration
public void Generate_CreatesBootAndGameplayScenes()
Generate_GameplaySceneHasNoAudioListener_BootSceneHasExactlyOne()
Declaration
public void Generate_GameplaySceneHasNoAudioListener_BootSceneHasExactlyOne()
Generate_RequiresRootFolder()
Declaration
public void Generate_RequiresRootFolder()
Generate_RollsBackOnFailure()
Declaration
public void Generate_RollsBackOnFailure()
Generate_RollsBackWhenSecondPassSaveFails()
Declaration
public void Generate_RollsBackWhenSecondPassSaveFails()
Generate_SecondRunIsIdempotent()
Declaration
public void Generate_SecondRunIsIdempotent()
Generate_WiresGameplaySceneOntoInstaller()
Declaration
public void Generate_WiresGameplaySceneOntoInstaller()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()