public void FixtureSetUp() { LooseCrossDomainAccessor.Clear(); LooseStopwatch.Unload(); LooseStopwatch.Register(); LooseStopwatch.Holder.Source = new Stopwatch(); }
public void FixtureTearDown() { LooseFunc <int, int, int> .Holder.Source = null; LooseFunc <int, int, int> .Unload(); LooseCrossDomainAccessor.Clear(); }
public void FixtureSetUp() { LooseCrossDomainAccessor.Clear(); LooseFunc <int, int, int> .Unload(); LooseFunc <int, int, int> .Register(); }
public void FixtureSetUp() { LooseCrossDomainAccessor.Clear(); LooseConsole.Unload(); LooseConsole.Register(); LooseConsole.Holder.Source = Console.Out; // Pre-call to run the action that was registered in this AppDomain, // not in other AppDomain but in this AppDomain. // Because the event loop that is managed by NUnit GUI - contains calling // Write or WriteLine method - runs in other thread. Console.Write(string.Empty); Console.Out.Flush(); }
public void FixtureTearDown() { LooseStopwatch.Holder.Source = null; LooseStopwatch.Unload(); LooseCrossDomainAccessor.Clear(); }
public void TearDown() { InstanceGetters.NewAdditionalDelegatesAssemblyRepository = null; InstanceGetters.NewIndirectionAssemblyRepository = null; LooseCrossDomainAccessor.Clear(); }
public void SetUp() { LooseCrossDomainAccessor.Clear(); InstanceGetters.NewIndirectionAssemblyRepository = () => new MockIndirectionAssemblyRepository(); InstanceGetters.NewAdditionalDelegatesAssemblyRepository = () => new MockAdditionalDelegatesAssemblyRepository(); }