Applied expression bodies for methods to solution.
This commit is contained in:
parent
c9ab438e6c
commit
67cbc0dd65
36 changed files with 106 additions and 378 deletions
|
@ -58,10 +58,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
{
|
||||
}
|
||||
|
||||
public static string GetUniqueName()
|
||||
{
|
||||
return Guid.NewGuid().ToString("D");
|
||||
}
|
||||
public static string GetUniqueName() => Guid.NewGuid().ToString("D");
|
||||
|
||||
public TempRoot Temp
|
||||
{
|
||||
|
@ -126,15 +123,9 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
string outputDir,
|
||||
string executableName,
|
||||
string expectedOutput,
|
||||
bool native = false)
|
||||
{
|
||||
TestExecutable(GetCompilationOutputPath(outputDir, native), executableName, expectedOutput);
|
||||
}
|
||||
bool native = false) => TestExecutable(GetCompilationOutputPath(outputDir, native), executableName, expectedOutput);
|
||||
|
||||
protected void TestNativeOutputExecutable(string outputDir, string executableName, string expectedOutput)
|
||||
{
|
||||
TestOutputExecutable(outputDir, executableName, expectedOutput, true);
|
||||
}
|
||||
protected void TestNativeOutputExecutable(string outputDir, string executableName, string expectedOutput) => TestOutputExecutable(outputDir, executableName, expectedOutput, true);
|
||||
|
||||
protected string GetCompilationOutputPath(string outputDir, bool native)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue