logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityModal.Tests.InterfaceAdapter

    Classes

    ModalButtonToUiOptionConverterTests

    Tests for ModalButtonToUiOptionConverter: the static migration helper that turns legacy modal buttons (SerializedComponentData) into rich UiOption SUBMIT options. Uses the concrete UnitySerializedComponentData as the button source.

    UiShowModalEntityMapperTests

    Tests for ToUiModalParameters(UiShowModalParameters, float, IFoundationViewElementFactory, string, IUiThemeSounds): the pure mapping from the show-modal parameters plus Unity-specific extras into a runtime UnityUiModalParameters, including the translate flags and rich-option layout fields carried after the base constructor.

    UnityUiModalParametersTests

    Tests for UnityUiModalParameters: the parameterized constructor wiring of the runtime and serialized button collections, and the EnsureInvariants repair of null/desynced lists.

    UnityUiShowModalParametersTests

    Tests for UnityUiShowModalParameters: constructor button wiring, the lazy legacy button-to-option migration triggered by EnsureInvariants, and the GetSignalInstance override guarding empty signal type names.

    In this article
    © 2026 Serenity. All Rights Reserved