Class UnityStageServiceTests
PlayMode tests for Serenity.Stage.Infrastructure.Services.UnityStageService. Covers initialization, prefab instantiation (null + real), authoring-component extraction, and the stage lifecycle (start / complete / fail / snapshot).
Inherited Members
Namespace: Serenity.UnityStage.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityStageServiceTests
Constructors
UnityStageServiceTests()
Declaration
public UnityStageServiceTests()
Methods
CompleteStage_AfterStart_SetsStatusCompleted()
Declaration
public void CompleteStage_AfterStart_SetsStatusCompleted()
CompleteStage_BeforeStart_DoesNotThrow()
Declaration
public void CompleteStage_BeforeStart_DoesNotThrow()
FailStage_AfterStart_SetsStatusFailed()
Declaration
public void FailStage_AfterStart_SetsStatusFailed()
GetSnapshot_BeforeStart_ReturnsDefault()
Declaration
public void GetSnapshot_BeforeStart_ReturnsDefault()
Implements_StageServiceAndRuntimeInterfaces()
Declaration
public void Implements_StageServiceAndRuntimeInterfaces()
InitializeService_SetsIdAndGuid()
Declaration
public void InitializeService_SetsIdAndGuid()
InstantiateStagePrefab_ExtractsStageRootAndSpawnResolver()
Declaration
public void InstantiateStagePrefab_ExtractsStageRootAndSpawnResolver()
InstantiateStagePrefab_Null_LeavesAuthoringRefsNull()
Declaration
public void InstantiateStagePrefab_Null_LeavesAuthoringRefsNull()
InstantiateStagePrefab_Null_ReturnsNull()
Declaration
public void InstantiateStagePrefab_Null_ReturnsNull()
InstantiateStagePrefab_RealPrefab_ParentsInstanceUnderWrapper()
Declaration
public void InstantiateStagePrefab_RealPrefab_ParentsInstanceUnderWrapper()
SetUp()
Declaration
public void SetUp()
StartStage_SetsSnapshotToInProgress()
Declaration
public void StartStage_SetsSnapshotToInProgress()
TearDown()
Declaration
public void TearDown()