Run() public method

public Run ( Assembly assembly, IEnumerable contexts ) : void
assembly System.Reflection.Assembly
contexts IEnumerable
return void
Exemplo n.º 1
0
        void StartRun(IDictionary <Assembly, IEnumerable <Context> > contextMap)
        {
            _runStart();

            foreach (var pair in contextMap)
            {
                var assembly = pair.Key;
                // TODO: move this filtering to a more sensible place
                var contexts = pair.Value.FilteredBy(_options);

                _assemblyRunner.Run(assembly, contexts);
            }

            _runEnd();
        }
        private void StartRun(IDictionary <Assembly, IEnumerable <Context> > contextMap)
        {
            if (!explicitStartAndEnd)
            {
                runStart.Invoke();
            }

            foreach (var(assembly, contexts) in contextMap)
            {
                assemblyRunner.Run(assembly, contexts);
            }

            if (!explicitStartAndEnd)
            {
                runEnd.Invoke();
            }
        }
Exemplo n.º 3
0
        void StartAssemblyRun(Assembly assembly, IEnumerable <Context> contexts)
        {
            var runner = new AssemblyRunner(_listener, _options);

            runner.Run(assembly, contexts.FilteredBy(_options));
        }
 void StartAssemblyRun(Assembly assembly, IEnumerable<Context> contexts)
 {
   var runner = new AssemblyRunner(_listener, _options);
   runner.Run(assembly, contexts.FilteredBy(_options));
 }
Exemplo n.º 5
0
 void StartAssemblyRun(Assembly assembly, IEnumerable <Context> contexts)
 {
     _assemblyRunner.Run(assembly, contexts.FilteredBy(_options));
 }