t Convert Test Assets to Microsoft.NETCore.App
fix dotnet-compile-fsc failures fix test failures
This commit is contained in:
parent
b682ab1d4f
commit
83d78129db
125 changed files with 483 additions and 492 deletions
|
@ -16,6 +16,7 @@ namespace Microsoft.Dotnet.Tools.Test.Tests
|
|||
private static readonly string ProjectJsonPath = Path.Combine(
|
||||
AppContext.BaseDirectory,
|
||||
"TestAssets",
|
||||
"TestProjects",
|
||||
"ProjectWithTests",
|
||||
"project.json");
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Microsoft.Dotnet.Tools.Test.Tests
|
|||
public class GivenThatWeWantToParseArgumentsForDotnetTest
|
||||
{
|
||||
private const string ProjectJson = "project.json";
|
||||
private const string Framework = "netstandardapp1.5";
|
||||
private const string Framework = "netcoreapp1.0";
|
||||
private const string Output = "some output";
|
||||
private const string BuildBasePath = "some build base path";
|
||||
private const string Config = "some config";
|
||||
|
@ -108,7 +108,7 @@ namespace Microsoft.Dotnet.Tools.Test.Tests
|
|||
[Fact]
|
||||
public void It_converts_the_framework_to_NugetFramework()
|
||||
{
|
||||
_dotnetTestFullParams.Framework.DotNetFrameworkName.Should().Be(".NETStandardApp,Version=v1.5");
|
||||
_dotnetTestFullParams.Framework.DotNetFrameworkName.Should().Be(".NETCoreApp,Version=v1.0");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
},
|
||||
"content": [
|
||||
"../../TestAssets/ProjectWithTests/project.json"
|
||||
"../../TestAssets/TestProjects/ProjectWithTests/project.json"
|
||||
],
|
||||
"testRunner": "xunit"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue