logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    SerenitySampleSceneGeneratorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved