Class AudioMixerEffectLoopCreatorCreateTests
EditMode tests for Create(CreateAudioMixerEffectLoopInput) against a real, working
AudioMixer — a temporary copy of the project's own Media/SoundMixer/AudioMixers/AudioMixer.mixer,
so the reflection adapter's internal-API calls run against a genuine AudioMixerController
instead of one hand-constructed in memory, which — per AudioMixerEffectLoopSyncServiceTests
and AudioChannelCreatorTests — cannot be done in EditMode. A failure INSIDE that internal
API (e.g. mid-loop, after the group already exists) is likewise not reproducible without a live
editor session, so these cover what IS deterministic here: a full successful run, the unique-name
resolution path, the pre-mutation validation guard leaving the mixer untouched, and that this
creator — unlike LeaderboardCreator/GameSaveCreator — registers nothing with
Addressables, since it only edits an AudioMixer asset that is already registered.
Inherited Members
Namespace: Serenity.UnitySoundMixer.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AudioMixerEffectLoopCreatorCreateTests
Constructors
AudioMixerEffectLoopCreatorCreateTests()
Declaration
public AudioMixerEffectLoopCreatorCreateTests()
Methods
Create_DuplicateLoopName_ResolvesToAUniqueNameAndWarns()
Declaration
public void Create_DuplicateLoopName_ResolvesToAUniqueNameAndWarns()
Create_InvalidLoopName_ReturnsFailureWithoutCreatingAnyGroup()
Declaration
public void Create_InvalidLoopName_ReturnsFailureWithoutCreatingAnyGroup()
Create_Success_RegistersNothingWithAddressables()
Declaration
public void Create_Success_RegistersNothingWithAddressables()
Create_ValidInput_BuildsTheFullEffectChainAndPersistsIt()
Declaration
public void Create_ValidInput_BuildsTheFullEffectChainAndPersistsIt()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()