logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ThemeAudioPlayerTests

    Tests for ThemeAudioPlayer: the single guarded choke point for theme UI-sound playback. A theme with empty, partial, or duplicated sound slots must never throw and must never play a missing clip.

    Inheritance
    object
    ThemeAudioPlayerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AudioPlayer.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class ThemeAudioPlayerTests

    Constructors

    ThemeAudioPlayerTests()

    Declaration
    public ThemeAudioPlayerTests()

    Methods

    BuildClipMap_NullArray_YieldsEmptyMap()

    Declaration
    public void BuildClipMap_NullArray_YieldsEmptyMap()

    BuildClipMap_NullClipsSkipped()

    Declaration
    public void BuildClipMap_NullClipsSkipped()

    BuildClipMap_SameClipOnTwoSlots_DoesNotThrow_AndCollapses()

    Declaration
    public void BuildClipMap_SameClipOnTwoSlots_DoesNotThrow_AndCollapses()

    EmptyTheme_PlaysNothing_AndNeverThrows()

    Declaration
    public void EmptyTheme_PlaysNothing_AndNeverThrows()

    SetUp()

    Declaration
    public void SetUp()

    TryPlay_AllGuardsPass_ExecutesOnce()

    Declaration
    public void TryPlay_AllGuardsPass_ExecutesOnce()

    TryPlay_KeyOverload_PlaysRegisteredClipOnce()

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