17 references to StartInfo
dotnet.Tests (10)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (3)
652var dotnet = result.StartInfo.FileName; 655result.StartInfo.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set"); 656result.StartInfo.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestFromDll.cs (3)
75var dotnet = result.StartInfo.FileName; 78result.StartInfo.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set"); 79result.StartInfo.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\Test\GivenDotnetTestContainsEnvironmentVariables.cs (1)
80result.StartInfo.Arguments
CommandTests\VSTest\VSTestTests.cs (3)
114var dotnet = result.StartInfo.FileName; 117result.StartInfo.EnvironmentVariables.ContainsKey(dotnetRoot).Should().BeTrue($"because {dotnetRoot} should be set"); 118result.StartInfo.EnvironmentVariables[dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
Microsoft.DotNet.Cli.Utils.Tests (2)
BuiltInCommandTests.cs (2)
24Assert.Equal(new Muxer().MuxerPath, result.StartInfo.FileName); 25Assert.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)
193log.WriteLine($"> {result.StartInfo.FileName} {result.StartInfo.Arguments}");