提交 068f63af 编写于 作者: R RoslynTeam

Code formatter fixes.

上级 4862700e
using System;
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
......
using System;
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
......@@ -9,27 +11,27 @@ namespace RunTests
{
public sealed class ProcessOutput
{
private readonly int exitCode;
private readonly IEnumerable<string> outputLines;
private readonly IEnumerable<string> errorLines;
private readonly int _exitCode;
private readonly IEnumerable<string> _outputLines;
private readonly IEnumerable<string> _errorLines;
public ProcessOutput(int exitCode, IEnumerable<string> outputLines, IEnumerable<string> errorLines)
{
this.exitCode = exitCode;
this.outputLines = outputLines;
this.errorLines = errorLines;
_exitCode = exitCode;
_outputLines = outputLines;
_errorLines = errorLines;
}
public int ExitCode { get { return exitCode; } }
public int ExitCode { get { return _exitCode; } }
public IEnumerable<string> OutputLines
{
get { return outputLines; }
get { return _outputLines; }
}
public IEnumerable<string> ErrorLines
{
get { return errorLines; }
get { return _errorLines; }
}
}
......
using System;
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
......
using System;
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
......@@ -37,7 +39,7 @@ internal async Task<bool> RunAll(IEnumerable<string> assemblyList)
{
var max = Environment.ProcessorCount;
var allPassed = true;
var waiting = new Stack<string>(assemblyList);
var waiting = new Stack<string>(assemblyList);
var running = new List<Task<TestResult>>();
var completed = new List<TestResult>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册