Class SoundMixerSettingsCreatorTests
EditMode tests for SoundMixerSettingsCreator: field/bounds/exposed-parameter validation
and, in a temporary folder, actual settings asset creation — including the create-vs-update singleton
contract and the EffectLoops/ExposedParameters merge contracts described on the creator's type doc
comment. Mirrors Serenity.Audio.SettingsCreator.Tests.Editor.AudioPlayerSettingsCreatorTests.
Inherited Members
Namespace: Serenity.Audio.SoundMixerSettings.Tests.Editor
Assembly: Serenity.Audio.SoundMixerSettings.Tests.Editor.dll
Syntax
public class SoundMixerSettingsCreatorTests
Constructors
SoundMixerSettingsCreatorTests()
Declaration
public SoundMixerSettingsCreatorTests()
Methods
Create_AssignsAGuid()
Declaration
public void Create_AssignsAGuid()
Create_ExistingExposedParameters_KeepsUnknownKeysAndUpdatesKnownOnes()
Declaration
public void Create_ExistingExposedParameters_KeepsUnknownKeysAndUpdatesKnownOnes()
Create_ExistingWithEffectLoops_MergesRatherThanReplaces()
Declaration
public void Create_ExistingWithEffectLoops_MergesRatherThanReplaces()
Create_Existing_EditsInsteadOfDuplicating()
Declaration
public void Create_Existing_EditsInsteadOfDuplicating()
Create_FailureRollsBack()
Forces a genuine failure the same way SettingsAssetAuthoring.VerifyAssetWasWrittenToDisk's own
doc comment describes: a folder Unity's AssetDatabase cache still reports as valid, but that
has actually been removed from disk directly. Mirrors AudioPlayerSettingsCreatorTests'
identical regression test.
Declaration
public void Create_FailureRollsBack()
Create_NoExisting_CreatesAtTheGivenPath()
Declaration
public void Create_NoExisting_CreatesAtTheGivenPath()
Create_RegisterAsAddressablesFalse_NoAddressablesPollution()
Declaration
public void Create_RegisterAsAddressablesFalse_NoAddressablesPollution()
Create_UpdateRunAgainstAnExistingAsset_DoesNotCreateTheOutputFolder()
Declaration
public void Create_UpdateRunAgainstAnExistingAsset_DoesNotCreateTheOutputFolder()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
Validate_RejectsDuplicateExposedParameterNames()
Declaration
public void Validate_RejectsDuplicateExposedParameterNames()
Validate_RejectsEmptyExposedParameterName()
Declaration
public void Validate_RejectsEmptyExposedParameterName()
Validate_RejectsLowestNotBelowMaximumDecibels()
Declaration
public void Validate_RejectsLowestNotBelowMaximumDecibels()
Validate_RejectsMinNotLessThanMax()
Declaration
public void Validate_RejectsMinNotLessThanMax()
Validate_UpdateRunWithADifferentId_WarnsAboutTheRename()
An Id change on an already-resolved existing asset is a rename, not an ordinary field edit: nothing resolves this singleton by path, only by Id, so a silent rename breaks every runtime lookup that still names the previous one. SingletonSettingsCreationEngine<TSettings,TInput,TResult>.Validate must disclose it as a non-blocking warning (a deliberate rename is legitimate) BEFORE the write, not merely let it through indistinguishable from a bounds-only edit.
Declaration
public void Validate_UpdateRunWithADifferentId_WarnsAboutTheRename()
Validate_UpdateRunWithTheSameId_ReportsNoRenameWarning()
Companion to Validate_UpdateRunWithADifferentId_WarnsAboutTheRename(): an update-in-place run that keeps the same Id must never report a rename warning.
Declaration
public void Validate_UpdateRunWithTheSameId_ReportsNoRenameWarning()
Validate_WarnsWhenNoAudioMixerAssigned()
Declaration
public void Validate_WarnsWhenNoAudioMixerAssigned()