Remove script extension inference test
This commit is contained in:
parent
448d9dc08b
commit
02495c07e0
1 changed files with 0 additions and 27 deletions
|
@ -112,33 +112,6 @@ namespace Microsoft.DotNet.Migration.Tests
|
||||||
outputsIdentical.Should().BeTrue();
|
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<string>(CollectBuildOutputs(projectDirectory));
|
|
||||||
CleanBinObj(projectDirectory);
|
|
||||||
|
|
||||||
MigrateProject(projectDirectory);
|
|
||||||
Restore(projectDirectory);
|
|
||||||
var msBuildStdOut = BuildMSBuild(projectDirectory);
|
|
||||||
|
|
||||||
var msbuildBuildOutputs = new HashSet<string>(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)
|
private MigratedBuildComparisonData GetDotnetNewComparisonData(string projectDirectory, string dotnetNewType)
|
||||||
{
|
{
|
||||||
DotnetNew(projectDirectory, dotnetNewType);
|
DotnetNew(projectDirectory, dotnetNewType);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue