Class UnityShowModalComponentDispatcherTests
A show-modal trigger listens for its signal on the event dispatcher the modal installer hands it. It must never go looking for a game settings service in the scene to borrow one: a project booting through both the bootstrap and a canonical profile can hold two such services, and the one the lookup found had no dispatcher, so every trigger threw at start-up. A trigger that was handed no dispatcher says once which boot task creates working triggers, and does nothing else. A trigger whose modal setting has no signal says once which field to fill, and listens for nothing.
Inherited Members
Namespace: Serenity.UnityModal.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityShowModalComponentDispatcherTests
Constructors
UnityShowModalComponentDispatcherTests()
Declaration
public UnityShowModalComponentDispatcherTests()
Methods
Initialize_OfATriggerTheModalFactoryCreated_ListensOnTheDispatcherTheFactoryWasGiven()
Declaration
public void Initialize_OfATriggerTheModalFactoryCreated_ListensOnTheDispatcherTheFactoryWasGiven()
Initialize_OfATriggerWhoseModalSettingHasNoSignal_WarnsOnceNamingTheModalAndTheFieldAndListensForNothing()
Declaration
public void Initialize_OfATriggerWhoseModalSettingHasNoSignal_WarnsOnceNamingTheModalAndTheFieldAndListensForNothing()
Initialize_WithoutAHandedDispatcherWhileTheSceneHoldsDispatcherlessSettingsServices_WarnsOnceNamingTheModalTask()
Declaration
public void Initialize_WithoutAHandedDispatcherWhileTheSceneHoldsDispatcherlessSettingsServices_WarnsOnceNamingTheModalTask()
TearDown()
Declaration
public void TearDown()