logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnitySoundMixerEffectLoopDefinitionFactoryTests

    Pure EditMode tests for Validate(CreateSoundMixerEffectLoopDefinitionInput) and the loop-id regex. The success path of Create requires a live AudioMixer (the factory rejects a null mixer first), so it is not exercised here; the validation rules below cover every reachable failure message and gate the UI's Create button.

    Inheritance
    object
    UnitySoundMixerEffectLoopDefinitionFactoryTests
    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 UnitySoundMixerEffectLoopDefinitionFactoryTests

    Constructors

    UnitySoundMixerEffectLoopDefinitionFactoryTests()

    Declaration
    public UnitySoundMixerEffectLoopDefinitionFactoryTests()

    Methods

    Create_NullInput_FailsGracefully()

    Declaration
    public void Create_NullInput_FailsGracefully()

    LoopIdRegex_AcceptsSafeKeys_RejectsSpacesAndSymbols()

    Declaration
    public void LoopIdRegex_AcceptsSafeKeys_RejectsSpacesAndSymbols()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    Validate_MissingMixer_ReturnsError()

    Declaration
    public void Validate_MissingMixer_ReturnsError()

    Validate_NullInput_ReturnsError()

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