Namespace Serenity.UnityModal.Tests.InterfaceAdapter
Classes
ModalButtonToUiOptionConverterTests
Tests for Serenity.Modal.InterfaceAdapters.EntityMappers.ModalButtonToUiOptionConverter: the static migration helper that turns legacy modal buttons (Serenity.Ui.Domain.Entities.SerializedComponentData) into rich Serenity.Ui.Domain.Entities.UiOption SUBMIT options. Uses the concrete Serenity.Ui.InterfaceAdapters.Entities.UnitySerializedComponentData as the button source.
UiShowModalEntityMapperTests
Tests for Serenity.Modal.InterfaceAdapters.EntityMappers.UiShowModalEntityMapper.ToUiModalParameters(Serenity.Modal.Application.Components.UiShowModalParameters,System.Single,Serenity.Global.Domain.Entities.Factories.IFoundationViewElementFactory,System.String,Serenity.Ui.Domain.Interfaces.IUiThemeSounds): the pure mapping from the show-modal parameters plus Unity-specific extras into a runtime Serenity.Modal.InterfaceAdapters.EntityMappers.UnityUiModalParameters, including the translate flags and rich-option layout fields carried after the base constructor.
UnityUiModalParametersTests
Tests for Serenity.Modal.InterfaceAdapters.EntityMappers.UnityUiModalParameters: the parameterized constructor wiring of the runtime and
serialized button collections, and the EnsureInvariants repair of null/desynced lists.
UnityUiShowModalParametersTests
Tests for Serenity.Modal.InterfaceAdapters.EntityMappers.UnityUiShowModalParameters: constructor button wiring, the lazy legacy
button-to-option migration triggered by EnsureInvariants, and the GetSignalInstance
override guarding empty signal type names.