Namespace Serenity.UnityAudioPlayer.Tests.Infrastructure
Classes
UnityAudioPlayerClipDefinitionTests
Tests for the Serenity.AudioPlayer.Infrastructure.Settings.UnityAudioPlayerClipDefinition ScriptableObject and its explicit Serenity.AudioPlayer.Domain.Interfaces.IAudioPlayerClipDefinition / Serenity.Global.Domain.Interfaces.IFoundationSettings implementations.
UnityAudioPlayerEmitterDtoTests
Tests for the Unity-specific emitter DTOs Serenity.AudioPlayer.Application.DTO.CreateUnityAudioPlayerEmitterInput and Serenity.AudioPlayer.Application.DTO.CreateUnityAudioPlayerEmitterOutput.
UnityAudioPlayerEmitterFactoryTests
Tests for Serenity.AudioPlayer.Infrastructure.Services.UnityAudioPlayerEmitterFactory. Uses a real Serenity.AudioPlayer.Installation.Settings.UnityAudioPlayerSettings with a NULL AudioMixerGroup so the factory's verification path stays on the (warning-only) happy branch: assigning null and reading back null keeps the assignment "retained", so no LogError is produced.
UnityAudioPlayerServiceFactoryTests
Tests for Serenity.AudioPlayer.Infrastructure.Services.UnityAudioPlayerServiceFactory.
Only the constructor / wiring is exercised here; the full CreateService path is
intentionally not driven because it spins up a UnityAudioPlayerService MonoBehaviour
and calls Initialize, which subscribes to events and touches the audio engine —
that needs scene/runtime fixtures out of scope for a pure unit test.
UnityAudioPlayerSettingsTests
Tests for the Serenity.AudioPlayer.Installation.Settings.UnityAudioPlayerSettings ScriptableObject and its explicit Serenity.AudioPlayer.Application.Interfaces.IAudioPlayerSettings / Serenity.Global.Domain.Interfaces.IFoundationSettings implementations.
UnityAudioPlayerSourceStateTests
Tests for Serenity.AudioPlayer.Infrastructure.Services.UnityAudioPlayerSourceState, the per-slot runtime metadata tracked alongside each pooled UnityEngine.AudioSource.