Class UnityGameRailServiceTests
Tests for UnityGameRailService: rail registration, progress management (set/advance/reset/clamp) and snapshot reporting.
Inherited Members
Namespace: Serenity.UnityGameRail.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityGameRailServiceTests
Constructors
UnityGameRailServiceTests()
Declaration
public UnityGameRailServiceTests()
Methods
AdvanceProgress_AddsDelta()
Declaration
public void AdvanceProgress_AddsDelta()
AdvanceProgress_ClampMode_MatchesLegacyOverload()
Declaration
public void AdvanceProgress_ClampMode_MatchesLegacyOverload()
AdvanceProgress_ClampsAtOne()
Declaration
public void AdvanceProgress_ClampsAtOne()
AdvanceProgress_LoopMode_UnknownRail_DoesNotThrow()
Declaration
public void AdvanceProgress_LoopMode_UnknownRail_DoesNotThrow()
AdvanceProgress_LoopMode_WrapsBeyondOne()
Declaration
public void AdvanceProgress_LoopMode_WrapsBeyondOne()
AdvanceProgress_UnknownRail_DoesNotThrow()
Declaration
public void AdvanceProgress_UnknownRail_DoesNotThrow()
ConfigureRail_RegistersFromConfig()
Declaration
public void ConfigureRail_RegistersFromConfig()
GetPath_UnknownRail_ReturnsNull()
Declaration
public void GetPath_UnknownRail_ReturnsNull()
GetProgress_UnknownRail_ReturnsStart()
Declaration
public void GetProgress_UnknownRail_ReturnsStart()
GetSnapshot_ReportsProgressAndNodeCount()
Declaration
public void GetSnapshot_ReportsProgressAndNodeCount()
GetSnapshot_UnknownRail_ReportsZeroNodes()
Declaration
public void GetSnapshot_UnknownRail_ReportsZeroNodes()
InitializeService_AssignsIdAndGuid()
Declaration
public void InitializeService_AssignsIdAndGuid()
RegisterRail_StoresPathAndStartsAtZeroProgress()
Declaration
public void RegisterRail_StoresPathAndStartsAtZeroProgress()
ResetProgress_ReturnsToStart()
Declaration
public void ResetProgress_ReturnsToStart()
ResetProgress_UnknownRail_DoesNotThrow()
Declaration
public void ResetProgress_UnknownRail_DoesNotThrow()
Service_Implements_IGameRailService()
Declaration
public void Service_Implements_IGameRailService()
Service_Implements_IRailPathProvider()
Declaration
public void Service_Implements_IRailPathProvider()
SetProgress_KnownRail_UpdatesProgress()
Declaration
public void SetProgress_KnownRail_UpdatesProgress()
SetProgress_UnknownRail_IsIgnored()
Declaration
public void SetProgress_UnknownRail_IsIgnored()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()