Пример #1
0
 public GlobalSetupManager(Func <SpecificationFixture> fixtureFactory)
 {
     _fixtureFactory = fixtureFactory;
     _thread         = null;
     _runMutex       = new LolMutex(new AutoResetEvent(false));
     _visitor        = new GlobalSetupVisitor(_runMutex);
 }
Пример #2
0
 public GlobalSetupVisitor(LolMutex runningLock)
 {
     _runningLock            = runningLock;
     _executingPastDiscovery = null;
     _executingCleanup       = null;
     _errorAccumulator       = new ErrorAccumulator();
     _setupResultAccumulator = new GlobalSetupResultAccumulator();
     _traceTracker           = new TraceTracker();
 }