logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    AudioMixerEffectLoopCreatorCreateTests
    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.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()
    In this article
    © 2026 Serenity. All Rights Reserved