Skip to content

Commit

Permalink
temporarily disabled C# 12 tests - https://github.com/dotnet/sdk/issu…
Browse files Browse the repository at this point in the history
  • Loading branch information
vlada-shubina committed Nov 23, 2022
1 parent 4033320 commit beb2d43
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ public void NuGetConfigPermissions()
};

string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
//C# 12 is not supported yet - https://github.com/dotnet/sdk/issues/29195
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", /*"12.0", */"latest", "latestMajor", "default", "preview" };

string?[] topLevelStatementSupport = { null, "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };

Expand Down Expand Up @@ -442,8 +443,9 @@ static void Main(string[] args)
}

[Theory]
[InlineData("12.0")]
[InlineData("12")]
//C# 12 is not supported yet - https://github.com/dotnet/sdk/issues/29195
//[InlineData("12.0")]
//[InlineData("12")]
[InlineData("11.0")]
[InlineData("11")]
[InlineData("10.0")]
Expand Down Expand Up @@ -548,7 +550,8 @@ static void Main(string[] args)
};

string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
//C# 12 is not supported yet - https://github.com/dotnet/sdk/issues/29195
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", /*"12.0", */"latest", "latestMajor", "default", "preview" };

string?[] supportedInFrameworkByDefault = { null, "net8.0", "netstandard2.1" };
string?[] supportedInLanguageVersion = { "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
Expand Down Expand Up @@ -654,7 +657,8 @@ public void NullableSupport(string name, bool buildPass, string? framework, stri
new { Template = "classlib", Frameworks = new[] { null, "net8.0", "netstandard2.0", "netstandard2.1" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
//C# 12 is not supported yet - https://github.com/dotnet/sdk/issues/29195
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", /*"12.0", */"latest", "latestMajor", "default", "preview" };

string?[] supportedInFramework = { null, "net8.0" };
string?[] supportedInLangVersion = { null, "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
Expand Down Expand Up @@ -757,7 +761,8 @@ public void ImplicitUsingsSupport(string name, bool buildPass, string? framework
new { Template = "classlib", Frameworks = new[] { null, "net8.0", "netstandard2.0", "netstandard2.1" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
//C# 12 is not supported yet - https://github.com/dotnet/sdk/issues/29195
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", /*"12.0", */"latest", "latestMajor", "default", "preview" };

string?[] supportedFrameworks = { null, "net8.0" };
string?[] fileScopedNamespacesSupportedLanguages = { "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
Expand Down

0 comments on commit beb2d43

Please sign in to comment.