public void SignalRegistryClearTest() { Signals.Get <TestSignal>(); Assert.IsTrue(Signals.Count == 1); Signals.Clear(); Assert.IsTrue(Signals.Count == 0); }
public void SignalRegistryGetMethodsTest() { Signals.Clear(); TestSignal testSignal0; TestSignal testSignal1; TestSignal testSignal2; testSignal0 = Signals.Get <TestSignal>(); Signals.Get(out testSignal1); testSignal2 = (TestSignal)Signals.Get(typeof(TestSignal)); Assert.IsTrue(testSignal0 == testSignal1); Assert.IsTrue(testSignal0 == testSignal2); }
public void Setup() { Signals.Clear(); }
private static void ResetSignalHub() { Debug.LogFormat("Resetting signal hub with {0} registered signals", Signals.Count); Signals.Clear(); }
public void FinalTearDown() { Signals.Clear(); }
public void InitialSetup() { callLog.Clear(); Signals.Clear(); Signals.Get(out signal); }
private static void ClearSignalHub() { Signals.Clear(); }