17 references to StartInfo
dotnet.Tests (10)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (3)
652
var dotnet = result.
StartInfo
.FileName;
655
result.
StartInfo
.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set");
656
result.
StartInfo
.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestFromDll.cs (3)
75
var dotnet = result.
StartInfo
.FileName;
78
result.
StartInfo
.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set");
79
result.
StartInfo
.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\Test\GivenDotnetTestContainsEnvironmentVariables.cs (1)
80
result.
StartInfo
.Arguments
CommandTests\VSTest\VSTestTests.cs (3)
114
var dotnet = result.
StartInfo
.FileName;
117
result.
StartInfo
.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set");
118
result.
StartInfo
.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
Microsoft.DotNet.Cli.Utils.Tests (2)
BuiltInCommandTests.cs (2)
24
Assert.Equal(new Muxer().MuxerPath, result.
StartInfo
.FileName);
25
Assert.Equal("fakeCommand 1 2", result.
StartInfo
.Arguments);
Microsoft.NET.TestFramework (5)
Assertions\CommandResultAssertions.cs (3)
172
$"Working Directory: {_commandResult.
StartInfo
?.WorkingDirectory}{Environment.NewLine}" +
173
$"File Name: {_commandResult.
StartInfo
?.FileName}{Environment.NewLine}" +
174
$"Arguments: {_commandResult.
StartInfo
?.Arguments}{Environment.NewLine}" +
Commands\TestCommand.cs (2)
193
log.WriteLine($"> {result.
StartInfo
.FileName} {result.
StartInfo
.Arguments}");