protected void DotNetCoreSdksInstalled(params string[] versions) { var dotNetCoreVersions = versions.Select(DotNetCoreVersion.Parse) .OrderByDescending(version => version); DotNetCoreSdk.SetVersions(dotNetCoreVersions); DotNetCoreSdk.SetInstalled(dotNetCoreVersions.Any()); }
public void TearDownTestFixture() { DotNetCoreSdk.SetInstalled(sdkInstalled); DotNetCoreSdk.SetVersions(sdkVersions); DotNetCoreSdk.SetSdkRootPath(sdkRootPath); DotNetCoreRuntime.SetInstalled(runtimeInstalled); DotNetCoreRuntime.SetVersions(runtimeVersions); }
protected void DotNetCoreSdksNotInstalled() { DotNetCoreSdksInstalled(new string[0]); DotNetCoreSdk.SetInstalled(false); DotNetCoreSdk.SetSdkRootPath(null); }