logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

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