Class SerenitySampleSceneGeneratorTests
EditMode tests for SerenitySampleSceneGenerator. Every test points the generator at a private temp folder — the shipped SampleSceneAssetPaths.DefaultRootFolder is never touched — and cleans up both the assets and their Addressables entries in TearDown() so the project's Addressables settings are never polluted by a test run.
Inherited Members
Namespace: Serenity.SampleScene.Tests.Editor
Assembly: Serenity.SampleScene.Tests.Editor.dll
Syntax
public class SerenitySampleSceneGeneratorTests
Constructors
SerenitySampleSceneGeneratorTests()
Declaration
public SerenitySampleSceneGeneratorTests()
Methods
Generate_AssignsToastPrefabReferenceOnTheHost()
Declaration
public void Generate_AssignsToastPrefabReferenceOnTheHost()
Generate_BuildsToastPrefabWithTmpTextAndCanvasGroup()
Declaration
public void Generate_BuildsToastPrefabWithTmpTextAndCanvasGroup()
Generate_CreatesDiagnosticsOverlay()
Declaration
public void Generate_CreatesDiagnosticsOverlay()
Generate_DoesNotCreateASignalChain()
Declaration
public void Generate_DoesNotCreateASignalChain()
Generate_RegistersEveryCreatedAssetAsAddressable()
Declaration
public void Generate_RegistersEveryCreatedAssetAsAddressable()
Generate_SecondRunIsIdempotent()
Declaration
public void Generate_SecondRunIsIdempotent()
Generate_WiresTheButtonToShowToastWithAConstantMessage()
Declaration
public void Generate_WiresTheButtonToShowToastWithAConstantMessage()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()