Class GameSessionStateBehaviorTests
Additional behavior tests for the GameSessionState entity.
Inherited Members
Namespace: Serenity.GameSession.Tests.Domain
Assembly: Tests.dll
Syntax
public class GameSessionStateBehaviorTests
Constructors
GameSessionStateBehaviorTests()
Declaration
public GameSessionStateBehaviorTests()
Methods
Complete_AfterGameOver_DoesNotChangeStatus()
Declaration
public void Complete_AfterGameOver_DoesNotChangeStatus()
Complete_FromNotStarted_DoesNotChangeStatus()
Declaration
public void Complete_FromNotStarted_DoesNotChangeStatus()
GameOver_AfterComplete_DoesNotChangeStatus()
Declaration
public void GameOver_AfterComplete_DoesNotChangeStatus()
GameOver_FromNotStarted_DoesNotChangeStatus()
Declaration
public void GameOver_FromNotStarted_DoesNotChangeStatus()
PauseThenResume_ReturnsToPlaying()
Declaration
public void PauseThenResume_ReturnsToPlaying()
Pause_WhenCompleted_DoesNotChangeStatus()
Declaration
public void Pause_WhenCompleted_DoesNotChangeStatus()
Pause_WhenGameOver_DoesNotChangeStatus()
Declaration
public void Pause_WhenGameOver_DoesNotChangeStatus()
Resume_WhenGameOver_DoesNotChangeStatus()
Declaration
public void Resume_WhenGameOver_DoesNotChangeStatus()
Resume_WhenNotStarted_DoesNotChangeStatus()
Declaration
public void Resume_WhenNotStarted_DoesNotChangeStatus()
Start_AfterComplete_DoesNotChangeStatus()
Declaration
public void Start_AfterComplete_DoesNotChangeStatus()
Start_AfterGameOver_DoesNotChangeStatus()
Declaration
public void Start_AfterGameOver_DoesNotChangeStatus()
Start_FromNotStarted_DoesNotAlterId()
Declaration
public void Start_FromNotStarted_DoesNotAlterId()
Start_WhenPaused_DoesNotChangeStatus()
Declaration
public void Start_WhenPaused_DoesNotChangeStatus()
ToSnapshot_CapturesIdValue()
Declaration
public void ToSnapshot_CapturesIdValue()
ToSnapshot_IncludesScoreSnapshot()
Declaration
public void ToSnapshot_IncludesScoreSnapshot()
ToSnapshot_WhenGameOver_ReflectsStatus()
Declaration
public void ToSnapshot_WhenGameOver_ReflectsStatus()
UpdateTime_NegativeDelta_WhilePlaying_Subtracts()
Declaration
public void UpdateTime_NegativeDelta_WhilePlaying_Subtracts()
UpdateTime_ResumeContinuesAccumulation()
Declaration
public void UpdateTime_ResumeContinuesAccumulation()
UpdateTime_WhenCompleted_DoesNotAccumulate()
Declaration
public void UpdateTime_WhenCompleted_DoesNotAccumulate()
UpdateTime_WhenGameOver_DoesNotAccumulate()
Declaration
public void UpdateTime_WhenGameOver_DoesNotAccumulate()