Reacting to Hosting deployer change

This commit is contained in:
John Luo 2016-03-04 11:56:20 -08:00
parent c737227b3c
commit 8f811502d5
3 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests
EnvironmentName = "HelloWorld", // Will pick the Start class named 'StartupHelloWorld',
ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Http.config") : null,
SiteName = "HttpTestSite", // This is configured in the Http.config
PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50"
};
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))

View File

@ -41,6 +41,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests
EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld',
ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null,
SiteName = "HttpsTestSite", // This is configured in the Https.config
PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50"
};
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))
@ -109,6 +110,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests
EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld',
ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null,
SiteName = "HttpsTestSite", // This is configured in the Https.config
PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50"
};
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))

View File

@ -36,6 +36,7 @@ namespace Microsoft.AspNetCore.IISPlatformHandler.FunctionalTests
EnvironmentName = "NtlmAuthentication", // Will pick the Start class named 'StartupNtlmAuthentication'
ApplicationHostConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("NtlmAuthentation.config") : null,
SiteName = "NtlmAuthenticationTestSite", // This is configured in the NtlmAuthentication.config
PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "dnx451" : "dnxcore50"
};
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))