25 references to Args
dotnet (1)
CommandFactory\CommandFactoryUsingResolver.cs (1)
106
Arguments = commandSpec.
Args
,
dotnet.Tests (24)
CommandFactoryTests\GivenADotnetToolsCommandResolver.cs (1)
59
var commandPath = result.
Args
.Trim('"');
CommandFactoryTests\GivenALocalToolsCommandResolver.cs (4)
47
var commandPath = result.
Args
?.Trim('"') ?? "";
66
var commandPath = result.
Args
?.Trim('"') ?? "";
220
}).
Args
!.Trim('"').Should().Be(fakeExecutableA.Value);
225
}).
Args
!.Trim('"').Should().Be(fakeExecutableDotnetA.Value);
CommandFactoryTests\GivenAnAppBaseCommandResolver.cs (3)
105
result.
Args
.Should().Be("\"arg with space\"");
125
result.
Args
.Should().Be(string.Empty);
177
result.
Args
.Should().Contain(testCommandPath);
CommandFactoryTests\GivenAProjectDependencyCommandResolver.cs (3)
56
result.
Args
.Should().Contain(commandResolverArguments.CommandName);
87
result.
Args
.Should().Contain("--depsfile");
157
result.
Args
.Should().Contain($"--depsfile {depsFilePath}");
CommandFactoryTests\GivenAProjectPathCommandResolver.cs (3)
129
result.
Args
.Should().Be("\"arg with space\"");
179
result.
Args
.Should().Be(string.Empty);
233
result.
Args
.Should().Contain(testCommandPath);
CommandFactoryTests\GivenAProjectToolsCommandResolver.cs (5)
131
result.
Args
.Should().Contain(commandResolverArguments.CommandName);
156
result.
Args
.Should().Contain("\"arg with space\"");
182
var commandPath = result.
Args
.Trim('"');
209
var commandPath = result.
Args
.Trim('"');
320
result.
Args
.Should().NotContain("--fx-version");
CommandFactoryTests\GivenARootedCommandResolver.cs (2)
77
result.
Args
.Should().Be("\"arg with space\"");
96
result.
Args
.Should().Be(string.Empty);
CommandTests\Tool\Run\ToolRunCommandTests.cs (3)
43
result.
Args
.Should().ContainAll("--roll-forward", "Major", fakeExecutable.Value);
63
result.
Args
.Should().Contain(fakeExecutable.Value);
64
result.
Args
.Should().NotContain("--roll-forward", "Major");