12 references to GivenDotnetBuildInvocation
dotnet.Tests (12)
CommandTests\MSBuild\GivenDotnetBuildInvocation.cs (1)
19
TestPathUtilities.FormatAbsolutePath(nameof(
GivenDotnetBuildInvocation
));
CommandTests\MSBuild\GivenDotnetOsArchOptions.cs (8)
22
TestPathUtilities.FormatAbsolutePath(nameof(
GivenDotnetBuildInvocation
)); [Fact]
31
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, $"--property:RuntimeIdentifier=os-{expectedArch}", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
53
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, $"--property:RuntimeIdentifier={expectedOs}-arch", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
65
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, "--property:RuntimeIdentifier=os-arch", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
83
..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore
152
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, "--property:RuntimeIdentifier=os-x64", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
169
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, $"--property:RuntimeIdentifier=os-{expectedArch}", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
196
List<string> expectedArgs = [.. ExpectedPrefix, .. DefaultArgs, $"--property:RuntimeIdentifier={expectedOs}-arch", ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
CommandTests\MSBuild\GivenDotnetPackInvocation.cs (1)
45
var expectedPrefix = args.FirstOrDefault() == "--no-build" ? ExpectedNoBuildPrefix : [.. ExpectedPrefix, ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
CommandTests\MSBuild\GivenDotnetPublishInvocation.cs (2)
58
List<string> expected = [.. ExpectedPrefix, "-restore", "--target:Publish", .. ExpectedProperties, .. expectedAdditionalArgs, NuGetDisabledProperty, ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForImplicitRestore];
78
.BeEquivalentTo([.. ExpectedPrefix, "--target:Restore", "-tlp:verbosity=quiet", .. ExpectedProperties, NuGetDisabledProperty, ..
GivenDotnetBuildInvocation
.RestoreExpectedPrefixForSeparateRestore]);