From 02495c07e0042021874de22f4920f3093a499925 Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Mon, 19 Sep 2016 15:13:09 -0700 Subject: [PATCH] Remove script extension inference test --- .../GivenThatIWantToMigrateTestApps.cs | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs index dc3b92b97..5da4741c7 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs @@ -112,33 +112,6 @@ namespace Microsoft.DotNet.Migration.Tests outputsIdentical.Should().BeTrue(); } - [Fact] - public void It_migrates_an_app_with_scripts_and_the_scripts_run() - { - var projectDirectory = - TestAssetsManager.CreateTestInstance("TestAppWithMigrateableScripts", callingMethod: "i").WithLockFiles().Path; - - BuildProjectJson(projectDirectory); - var projectJsonBuildOutputs = new HashSet(CollectBuildOutputs(projectDirectory)); - CleanBinObj(projectDirectory); - - MigrateProject(projectDirectory); - Restore(projectDirectory); - var msBuildStdOut = BuildMSBuild(projectDirectory); - - var msbuildBuildOutputs = new HashSet(CollectBuildOutputs(projectDirectory)); - - var outputsIdentical = projectJsonBuildOutputs.SetEquals(msbuildBuildOutputs); - outputsIdentical.Should().BeTrue(); - VerifyAllMSBuildOutputsRunnable(projectDirectory); - - var outputDir = - PathUtility.EnsureTrailingSlash(Path.Combine(projectDirectory, "bin", "Debug", "netcoreapp1.0")); - - msBuildStdOut.Should().Contain($"precompile_output ?Debug? ?{outputDir}? ?.NETCoreApp,Version=v1.0?"); - msBuildStdOut.Should().Contain($"postcompile_output ?Debug? ?{outputDir}? ?.NETCoreApp,Version=v1.0?"); - } - private MigratedBuildComparisonData GetDotnetNewComparisonData(string projectDirectory, string dotnetNewType) { DotnetNew(projectDirectory, dotnetNewType);