logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnitySoundMixerServiceTests

    PlayMode/EditMode tests for UnitySoundMixerService.
    The service is a MonoBehaviour driving a real UnityEngine.Audio.AudioMixer. A real .mixer asset cannot be authored or constructed here, so these tests exercise the parts that do NOT require a usable mixer: parameter/dependency wiring, the null/unusable-mixer guard branches (which short- circuit before touching the mixer), and the event-dispatcher subscription wiring.

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

    Constructors

    UnitySoundMixerServiceTests()

    Declaration
    public UnitySoundMixerServiceTests()

    Methods

    ApplyEffectLoop_MixerUnusable_LogsErrorAndReturns()

    Declaration
    public void ApplyEffectLoop_MixerUnusable_LogsErrorAndReturns()

    ApplyEffectLoop_MixerUnusable_WithFadeDuration_LogsErrorAndReturns_NoLongerWarns()

    Declaration
    public void ApplyEffectLoop_MixerUnusable_WithFadeDuration_LogsErrorAndReturns_NoLongerWarns()

    ApplyEffectLoop_NullInput_MixerUnusable_DoesNotThrow()

    Declaration
    public void ApplyEffectLoop_NullInput_MixerUnusable_DoesNotThrow()

    ApplyEffectLoop_WithFadeDuration_MixerUnusable_DoesNotThrow()

    Declaration
    public void ApplyEffectLoop_WithFadeDuration_MixerUnusable_DoesNotThrow()

    ClearEffectLoop_MixerUnusable_LogsErrorAndReturns()

    Declaration
    public void ClearEffectLoop_MixerUnusable_LogsErrorAndReturns()

    ClearEffectLoop_MixerUnusable_WithFadeDuration_LogsErrorAndReturns_NoLongerWarns()

    Declaration
    public void ClearEffectLoop_MixerUnusable_WithFadeDuration_LogsErrorAndReturns_NoLongerWarns()

    ClearEffectLoop_NullInput_MixerUnusable_DoesNotThrow()

    Declaration
    public void ClearEffectLoop_NullInput_MixerUnusable_DoesNotThrow()

    ClearEffectLoop_WithFadeDuration_MixerUnusable_DoesNotThrow()

    Declaration
    public void ClearEffectLoop_WithFadeDuration_MixerUnusable_DoesNotThrow()

    Deactivate_MidFade_SettlesFadeAndUntracksIt()

    Declaration
    public void Deactivate_MidFade_SettlesFadeAndUntracksIt()

    Deactivate_WithNoFadeInFlight_DoesNotThrow()

    Declaration
    public void Deactivate_WithNoFadeInFlight_DoesNotThrow()

    GetAudioMixer_BeforeInitialize_ReturnsNull()

    Declaration
    public void GetAudioMixer_BeforeInitialize_ReturnsNull()

    GetSoundMixerParameters_BeforeSet_ReturnsNull()

    Declaration
    public void GetSoundMixerParameters_BeforeSet_ReturnsNull()

    Guid_RoundTrips()

    Declaration
    public void Guid_RoundTrips()

    Id_RoundTrips()

    Declaration
    public void Id_RoundTrips()

    Implements_ISoundMixerService()

    Declaration
    public void Implements_ISoundMixerService()

    InitializeEventDispatcher_SubscribesToThreeSignals()

    Declaration
    public void InitializeEventDispatcher_SubscribesToThreeSignals()

    InitializeService_CopiesExposedParameters()

    Declaration
    public void InitializeService_CopiesExposedParameters()

    InitializeService_NullAudioMixer_LeavesAudioMixerNull()

    Declaration
    public void InitializeService_NullAudioMixer_LeavesAudioMixerNull()

    InitializeService_NullAudioMixer_LogsError()

    Declaration
    public void InitializeService_NullAudioMixer_LogsError()

    InitializeService_NullEffectLoops_DoesNotThrow()

    Declaration
    public void InitializeService_NullEffectLoops_DoesNotThrow()

    LogService_RoundTrips()

    Declaration
    public void LogService_RoundTrips()

    SetEventDispatcherService_DoesNotSubscribe()

    Declaration
    public void SetEventDispatcherService_DoesNotSubscribe()

    SetSoundMixerParameters_GetSoundMixerParameters_RoundTrips()

    Declaration
    public void SetSoundMixerParameters_GetSoundMixerParameters_RoundTrips()

    SetUp()

    Declaration
    public void SetUp()

    SetVolume_AudioMixerNeverAssigned_LogsErrorAndReturns()

    Declaration
    public void SetVolume_AudioMixerNeverAssigned_LogsErrorAndReturns()

    SetVolume_NullLogService_DoesNotThrow()

    Declaration
    public void SetVolume_NullLogService_DoesNotThrow()

    SubscribeToEventDispatcherEvents_SubscribesToThreeSignals()

    Declaration
    public void SubscribeToEventDispatcherEvents_SubscribesToThreeSignals()

    TearDown()

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