Namespace Serenity.UnityAudioPlayer.Tests.Infrastructure
Classes
UnityAudioPlayerClipDefinitionTests
Tests for the UnityAudioPlayerClipDefinition ScriptableObject and its explicit IAudioPlayerClipDefinition / IFoundationSettings implementations.
UnityAudioPlayerEmitterDtoTests
Tests for the Unity-specific emitter DTOs CreateUnityAudioPlayerEmitterInput and CreateUnityAudioPlayerEmitterOutput.
UnityAudioPlayerEmitterFactoryTests
Tests for UnityAudioPlayerEmitterFactory. Uses a real 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 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 UnityAudioPlayerSettings ScriptableObject and its explicit IAudioPlayerSettings / IFoundationSettings implementations.
UnityAudioPlayerSourceStateTests
Tests for UnityAudioPlayerSourceState, the per-slot runtime metadata tracked alongside each pooled UnityEngine.AudioSource.