Example #1
0
        protected void DotNetCoreSdksInstalled(params string[] versions)
        {
            var dotNetCoreVersions = versions.Select(DotNetCoreVersion.Parse)
                                     .OrderByDescending(version => version);

            DotNetCoreSdk.SetVersions(dotNetCoreVersions);
            DotNetCoreSdk.SetInstalled(dotNetCoreVersions.Any());
        }
Example #2
0
        public void TearDownTestFixture()
        {
            DotNetCoreSdk.SetInstalled(sdkInstalled);
            DotNetCoreSdk.SetVersions(sdkVersions);
            DotNetCoreSdk.SetSdkRootPath(sdkRootPath);

            DotNetCoreRuntime.SetInstalled(runtimeInstalled);
            DotNetCoreRuntime.SetVersions(runtimeVersions);
        }
Example #3
0
 protected void DotNetCoreSdksNotInstalled()
 {
     DotNetCoreSdksInstalled(new string[0]);
     DotNetCoreSdk.SetInstalled(false);
     DotNetCoreSdk.SetSdkRootPath(null);
 }