1 write to _task
Microsoft.DotNet.Helix.Sdk.Tests (1)
InstallDotNetToolTests.cs (1)
69
_task
= new InstallDotNetTool()
14 references to _task
Microsoft.DotNet.Helix.Sdk.Tests (14)
InstallDotNetToolTests.cs (14)
87
_task
.ConfigureServices(collection);
91
_task
.InvokeExecute(provider).Should().BeTrue();
117
_task
.ConfigureServices(collection);
121
_task
.InvokeExecute(provider).Should().BeTrue();
126
_task
.ToolPath.Should().Be(s_installedPath);
142
_task
.ConfigureServices(collection);
146
_task
.InvokeExecute(provider).Should().BeFalse();
183
_task
.ConfigureServices(collection);
184
_task
.Source = "https://dev.azure.com/some/feed";
185
_task
.DotnetPath = _dotnetPath = @"D:\dotnet\dotnet.exe";
186
_task
.TargetArchitecture = "arm64";
187
_task
.TargetFramework = "net6.0";
191
_task
.InvokeExecute(provider).Should().BeTrue();
196
_task
.ToolPath.Should().Be(s_installedPath);