public static TaskProvider Create(RemoteTaskServer server, TaskExecutionNode assemblyNode)
 {
     var taskProvider = new TaskProvider(server);
     foreach (var classNode in assemblyNode.Children)
     {
         var classTask = (XunitTestClassTask) classNode.RemoteTask;
         taskProvider.AddClass(classTask);
         foreach (var methodNode in classNode.Children)
         {
             var methodTask = (XunitTestMethodTask) methodNode.RemoteTask;
             taskProvider.AddMethod(classTask, methodTask);
             foreach (var theoryNode in methodNode.Children)
                 taskProvider.AddTheory(methodTask, (XunitTestTheoryTask)theoryNode.RemoteTask);
         }
     }
     return taskProvider;
 }
        public static TaskProvider Create(RemoteTaskServer server, TaskExecutionNode assemblyNode)
        {
            var taskProvider = new TaskProvider(server);

            foreach (var classNode in assemblyNode.Children)
            {
                var classTask = (XunitTestClassTask)classNode.RemoteTask;
                taskProvider.AddClass(classTask);
                foreach (var methodNode in classNode.Children)
                {
                    var methodTask = (XunitTestMethodTask)methodNode.RemoteTask;
                    taskProvider.AddMethod(classTask, methodTask);
                    foreach (var theoryNode in methodNode.Children)
                    {
                        taskProvider.AddTheory(methodTask, (XunitTestTheoryTask)theoryNode.RemoteTask);
                    }
                }
            }
            return(taskProvider);
        }
Example #3
0
 public TestRunner(RemoteTaskServer server)
 {
     this.server   = server;
     configuration = server.Configuration;
 }
Example #4
0
 public XunitTaskRunner(IRemoteTaskServer server)
     : base(server)
 {
     taskServer = new RemoteTaskServer(server, TaskExecutor.Configuration);
     testRunner = new TestRunner(taskServer);
 }
Example #5
0
 public ReSharperRunnerLogger(RemoteTaskServer server, TaskProvider taskProvider)
 {
     this.server       = server;
     this.taskProvider = taskProvider;
 }
 public ReSharperRunnerLogger(RemoteTaskServer server, TaskProvider taskProvider)
 {
     this.server = server;
     this.taskProvider = taskProvider;
 }
 private TaskProvider(RemoteTaskServer server)
 {
     this.server = server;
 }
 public XunitTestRun(RemoteTaskServer server, IExecutorWrapper executor, TaskProvider taskProvider)
 {
     this.server = server;
     this.executor = executor;
     this.taskProvider = taskProvider;
 }
Example #9
0
 public XunitTestRun(RemoteTaskServer server, IExecutorWrapper executor, TaskProvider taskProvider)
 {
     this.server       = server;
     this.executor     = executor;
     this.taskProvider = taskProvider;
 }
Example #10
0
 public TestRunner(RemoteTaskServer server)
 {
     this.server = server;
     configuration = server.Configuration;
 }
 private TaskProvider(RemoteTaskServer server)
 {
     this.server = server;
 }