diff --git a/tests/xharness/Jenkins/Jenkins.cs b/tests/xharness/Jenkins/Jenkins.cs index 7e73f2e489d..51d8f0ef1bd 100644 --- a/tests/xharness/Jenkins/Jenkins.cs +++ b/tests/xharness/Jenkins/Jenkins.cs @@ -125,7 +125,7 @@ async Task PopulateTasksAsync () // Start creating all the tasks in parallel var tasks = testFactories.Select (v => v.CreateTasksAsync ()).ToArray (); - + // Wait for everything to finish await Task.WhenAll (tasks); diff --git a/tests/xharness/Jenkins/MacTaskTestsFactory.cs b/tests/xharness/Jenkins/MacTaskTestsFactory.cs index 6cb9f411c94..dfc399b255d 100644 --- a/tests/xharness/Jenkins/MacTaskTestsFactory.cs +++ b/tests/xharness/Jenkins/MacTaskTestsFactory.cs @@ -28,8 +28,7 @@ public override Task> CreateTasksAsync () var rv = new List (); - foreach (var project in jenkins.Harness.TestProjects) - { + foreach (var project in jenkins.Harness.TestProjects) { if (!project.IsExecutableProject) continue; @@ -64,7 +63,7 @@ public override Task> CreateTasksAsync () SupportsParallelExecution = false, }; build.CloneTestProject (jenkins.MainLog, processManager, project, HarnessConfiguration.RootDirectory); - + var exec = new MacExecuteTask (jenkins, build, processManager, crashReportSnapshotFactory) { Ignored = ignored, TestName = project.Name, @@ -83,7 +82,7 @@ public override Task> CreateTasksAsync () v.Variation = string.IsNullOrEmpty (v.Variation) ? config : v.Variation; } - rv.AddRange(variations); + rv.AddRange (variations); } } diff --git a/tests/xharness/Jenkins/NUnitTestTasksEnumerable.cs b/tests/xharness/Jenkins/NUnitTestTasksEnumerable.cs index 8bed89e9604..00e81cb5883 100644 --- a/tests/xharness/Jenkins/NUnitTestTasksEnumerable.cs +++ b/tests/xharness/Jenkins/NUnitTestTasksEnumerable.cs @@ -11,7 +11,7 @@ namespace Xharness.Jenkins { abstract class TaskFactory { protected Jenkins Jenkins { get; private set; } - protected IMlaunchProcessManager ProcessManager { get; private set; } + protected IMlaunchProcessManager ProcessManager { get; private set; } protected TestVariationsFactory TestVariationsFactory { get; private set; } public TaskFactory (Jenkins jenkins, IMlaunchProcessManager processManager, TestVariationsFactory testVariationsFactory) diff --git a/tests/xharness/Jenkins/RunDeviceTasksFactory.cs b/tests/xharness/Jenkins/RunDeviceTasksFactory.cs index 17ab4470ef1..551f46b1534 100644 --- a/tests/xharness/Jenkins/RunDeviceTasksFactory.cs +++ b/tests/xharness/Jenkins/RunDeviceTasksFactory.cs @@ -7,7 +7,7 @@ using Xharness.Jenkins.TestTasks; namespace Xharness.Jenkins { - class RunDeviceTasksFactory : TaskFactory { + class RunDeviceTasksFactory : TaskFactory { public RunDeviceTasksFactory (Jenkins jenkins, IMlaunchProcessManager processManager, TestVariationsFactory testVariationsFactory) : base (jenkins, processManager, testVariationsFactory) { @@ -58,10 +58,9 @@ public override Task> CreateTasksAsync () tunnelBore: jenkins.TunnelBore, errorKnowledgeBase: jenkins.ErrorKnowledgeBase, useTcpTunnel: jenkins.Harness.UseTcpTunnel, - candidates: candidates) - { - Ignored = ignored, - }; + candidates: candidates) { + Ignored = ignored, + }; rv.Add (runTask); }