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.
Inherited Members
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()