Beispiel #1
0
        public void TearDownTestFixture()
        {
            DotNetCoreSdk.SetInstalled(sdkInstalled);
            DotNetCoreSdk.SetVersions(sdkVersions);
            DotNetCoreSdk.SetSdkRootPath(sdkRootPath);

            DotNetCoreRuntime.SetInstalled(runtimeInstalled);
            DotNetCoreRuntime.SetVersions(runtimeVersions);
        }
        public void Init()
        {
            directories   = new HashSet <string> ();
            templateFiles = new List <string> ();

            sdkRootPath = ToNativePath("/usr/local/share/dotnet/sdk");
            DotNetCoreSdk.SetSdkRootPath(sdkRootPath);

            provider = new DotNetCoreProjectTemplateStringTagProvider();
            provider.DirectoryExists = DirectoryExists;
            provider.EnumerateFiles  = EnumerateFiles;
        }
Beispiel #3
0
 protected void DotNetCoreSdksNotInstalled()
 {
     DotNetCoreSdksInstalled(new string[0]);
     DotNetCoreSdk.SetInstalled(false);
     DotNetCoreSdk.SetSdkRootPath(null);
 }