Class AudioChannelCreatorTests
EditMode tests for AudioChannelCreator: id/folder validation rules (pure) and, in a temporary folder, actual channel-settings asset creation including the no-overwrite unique-name path. The AudioMixerGroup is passed as null (allowed) because a real AudioMixerGroup cannot be constructed in EditMode.
Inherited Members
Namespace: Serenity.UnitySoundMixer.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AudioChannelCreatorTests
Constructors
AudioChannelCreatorTests()
Declaration
public AudioChannelCreatorTests()
Methods
Create_GeneratesUniquePath_DoesNotOverwriteExisting()
Declaration
public void Create_GeneratesUniquePath_DoesNotOverwriteExisting()
Create_ValidationFailure_ReturnsErrorWithoutAsset()
Declaration
public void Create_ValidationFailure_ReturnsErrorWithoutAsset()
Create_WritesSettingsAsset_WithConfiguredFields()
Declaration
public void Create_WritesSettingsAsset_WithConfiguredFields()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
Validate_AcceptsSafeId()
Declaration
public void Validate_AcceptsSafeId()
Validate_RejectsEmptyId()
Declaration
public void Validate_RejectsEmptyId()
Validate_RejectsIdWithSpacesOrSymbols()
Declaration
public void Validate_RejectsIdWithSpacesOrSymbols()
Validate_RejectsInvalidFolder()
Declaration
public void Validate_RejectsInvalidFolder()