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.
Inherited Members
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()