logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CutsceneDialogPresenterTests

    The presenter shows a dialog line for the length of a wait it is handed and hides it afterwards whatever ended the wait. The wait here is a fake the test completes by hand, so nothing depends on wall time.

    Inheritance
    object
    CutsceneDialogPresenterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class CutsceneDialogPresenterTests

    Constructors

    CutsceneDialogPresenterTests()

    Declaration
    public CutsceneDialogPresenterTests()

    Methods

    ConsecutiveDialogs_ShowOnlyTheCurrentLine()

    Declaration
    public IEnumerator ConsecutiveDialogs_ShowOnlyTheCurrentLine()
    Returns
    Type Description
    IEnumerator

    Release_DestroysThePanelAndTheNextShowBuildsAnother()

    Declaration
    public IEnumerator Release_DestroysThePanelAndTheNextShowBuildsAnother()
    Returns
    Type Description
    IEnumerator

    SetUp()

    Declaration
    public void SetUp()

    ShowAsync_AnOlderShowEndingLate_DoesNotHideTheNewerLine()

    Declaration
    public IEnumerator ShowAsync_AnOlderShowEndingLate_DoesNotHideTheNewerLine()
    Returns
    Type Description
    IEnumerator

    ShowAsync_BuildsOnePanelPerOverlay()

    Declaration
    public IEnumerator ShowAsync_BuildsOnePanelPerOverlay()
    Returns
    Type Description
    IEnumerator

    ShowAsync_EndingAfterRelease_DoesNotThrow()

    Declaration
    public IEnumerator ShowAsync_EndingAfterRelease_DoesNotThrow()
    Returns
    Type Description
    IEnumerator

    ShowAsync_NoSpeakerAndNoLine_ShowsNoPanelWaitsAndWarnsOnce()

    Declaration
    public IEnumerator ShowAsync_NoSpeakerAndNoLine_ShowsNoPanelWaitsAndWarnsOnce()
    Returns
    Type Description
    IEnumerator

    ShowAsync_OnAnotherOverlay_DestroysThePanelOfThePreviousOne()

    Declaration
    public IEnumerator ShowAsync_OnAnotherOverlay_DestroysThePanelOfThePreviousOne()
    Returns
    Type Description
    IEnumerator

    ShowAsync_ReadsTheLogServiceWhenItWarns_NotWhenItIsBuilt()

    Declaration
    public IEnumerator ShowAsync_ReadsTheLogServiceWhenItWarns_NotWhenItIsBuilt()
    Returns
    Type Description
    IEnumerator

    ShowAsync_ShorterThanTheMinimum_WaitsTheMinimumAndWarns()

    Declaration
    public IEnumerator ShowAsync_ShorterThanTheMinimum_WaitsTheMinimumAndWarns()
    Returns
    Type Description
    IEnumerator

    ShowAsync_ShowsTheLineUntilTheWaitEndsThenHidesIt()

    Declaration
    public IEnumerator ShowAsync_ShowsTheLineUntilTheWaitEndsThenHidesIt()
    Returns
    Type Description
    IEnumerator

    ShowAsync_TwiceWithoutTmpEssentials_WarnsOnlyOnceForThePresenter()

    Declaration
    public IEnumerator ShowAsync_TwiceWithoutTmpEssentials_WarnsOnlyOnceForThePresenter()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WhenTheOverlayIsDestroyedDuringTheWait_DoesNotThrow()

    Declaration
    public IEnumerator ShowAsync_WhenTheOverlayIsDestroyedDuringTheWait_DoesNotThrow()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WhenTheOverlayIsDestroyedWhileTheBoxIsBuilt_ShowsNothingAndStillWaits()

    Declaration
    public IEnumerator ShowAsync_WhenTheOverlayIsDestroyedWhileTheBoxIsBuilt_ShowsNothingAndStillWaits()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WhenTheWaitIsCancelled_HidesThePanel()

    Declaration
    public IEnumerator ShowAsync_WhenTheWaitIsCancelled_HidesThePanel()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithAPanelPrefab_ShowsTheLineInAnInstanceOfThePrefab()

    Declaration
    public IEnumerator ShowAsync_WithAPanelPrefab_ShowsTheLineInAnInstanceOfThePrefab()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithAPrefabLackingTheLineLabel_WarnsOnceAndUsesTheBuiltInPanel()

    Declaration
    public IEnumerator ShowAsync_WithAPrefabLackingTheLineLabel_WarnsOnceAndUsesTheBuiltInPanel()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithAPrefabLackingThePanel_WarnsOnceAndUsesTheBuiltInPanel()

    Declaration
    public IEnumerator ShowAsync_WithAPrefabLackingThePanel_WarnsOnceAndUsesTheBuiltInPanel()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithNoOverlay_StillWaitsTheStageDuration()

    Declaration
    public IEnumerator ShowAsync_WithNoOverlay_StillWaitsTheStageDuration()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithoutTmpEssentialsAndNoThemeFont_WarnsOnceShowsNoPanelAndWaits()

    Declaration
    public IEnumerator ShowAsync_WithoutTmpEssentialsAndNoThemeFont_WarnsOnceShowsNoPanelAndWaits()
    Returns
    Type Description
    IEnumerator

    ShowAsync_WithoutTmpEssentialsButAThemeFont_BuildsThePanel()

    Declaration
    public IEnumerator ShowAsync_WithoutTmpEssentialsButAThemeFont_BuildsThePanel()
    Returns
    Type Description
    IEnumerator

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved