logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AudioPlayerSettingsCreatorTests

    EditMode tests for AudioPlayerSettingsCreator: field/Id/folder validation and, in a temporary folder, actual channel-settings asset creation, including the resolve-or-create-in-place contract that replaced AudioChannelCreator's old unique-name-on-clash path. Mirrors Serenity.GameSave.Tests.Editor.Builder.GameSaveCreatorTests.

    Inheritance
    object
    AudioPlayerSettingsCreatorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Audio.SettingsCreator.Tests.Editor
    Assembly: Serenity.Audio.SettingsCreator.Tests.Editor.dll
    Syntax
    public class AudioPlayerSettingsCreatorTests

    Constructors

    AudioPlayerSettingsCreatorTests()

    Declaration
    public AudioPlayerSettingsCreatorTests()

    Methods

    AudioChannelCreator_Create_StillProducesTheSameAssetShape()

    AudioChannelCreator is now a thin adapter over AudioPlayerSettingsCreator. This proves the delegation still produces the exact same asset shape the old hand-rolled path did.

    Declaration
    public void AudioChannelCreator_Create_StillProducesTheSameAssetShape()

    Create_AssignsAGuid()

    Declaration
    public void Create_AssignsAGuid()

    Create_FailureRollsBackTheCreatedFolderAndAsset()

    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 ScoreSettingsCreatorTests' and CharacterConfigCreatorTests' identical regression test.

    Declaration
    public void Create_FailureRollsBackTheCreatedFolderAndAsset()

    Create_NewId_CreatesAssetWithEveryField()

    Declaration
    public void Create_NewId_CreatesAssetWithEveryField()

    Create_RegisterAsAddressablesFalse_CreatesNoAddressablesEntry()

    Declaration
    public void Create_RegisterAsAddressablesFalse_CreatesNoAddressablesEntry()

    Create_SameIdInSameFolder_UpdatesInPlaceWithoutDuplicating()

    Declaration
    public void Create_SameIdInSameFolder_UpdatesInPlaceWithoutDuplicating()

    OneTimeTearDown()

    Declaration
    public void OneTimeTearDown()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    Validate_RejectsChannelsBelowOne()

    Declaration
    public void Validate_RejectsChannelsBelowOne()

    Validate_RejectsEmptyId()

    Declaration
    public void Validate_RejectsEmptyId()

    Validate_RejectsFolderOutsideAssets()

    Declaration
    public void Validate_RejectsFolderOutsideAssets()

    Validate_RejectsIdWithSpaces()

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