logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Audio.SfxImport.Tests.Editor

    Classes

    BatchSoundEffectImportCollisionTests

    "Make unique names (never overwrite)" promises a numbered suffix on a colliding name. The suffix is one number applied to the id and the asset file together, so the created definition's file name and the id it carries never disagree. With the toggle off the collision is refused, and the refusal names the way forward.

    BatchSoundEffectImportWindowResultSurfaceTests

    A batch import that fails reports the failure in the importer's own window — its result area and activity log, with the way forward — never in a modal. Driven through the Create button's own action with nothing to import, the one failure a fresh window can reach without touching the project.

    BatchSoundEffectImportWindowSpatialDefaultsTests

    The window's Common Defaults carry the spatial group: a row added after the author set them starts with those values, and "Apply defaults to all rows" overwrites the group on every row already added.

    BatchSoundEffectImporterSpatialSettingsTests

    A sound effect row carries the clip definition's spatial group. The importer refuses a group the runtime would ignore, but only while the row turns it on, and writes the group onto the created definition. Rows that never touch the group create a definition with the toggle off.

    BatchSoundEffectImporterTests

    EditMode tests for BatchSoundEffectImporter: filename inference, path generation, duplicate detection, validation rules and (in a temporary folder) actual asset creation.

    In this article
    © 2026 Serenity. All Rights Reserved