未验证 提交 e846cf89 编写于 作者: A Alexander Köplinger 提交者: GitHub

[mono] Disable failing Globalization and Transactions tests (#74433)

* [mono] Disable failing Globalization and Transactions tests

The System.Transactions.Tests.OleTxTests aren't supported by Mono on Windows: https://github.com/dotnet/runtime/issues/74187

The System.Globalization test failure is a real issue that is being investigated: https://github.com/dotnet/runtime/issues/74179

* Disable InvariantMode tests as well
上级 affc0fc7
......@@ -183,6 +183,7 @@ public static IEnumerable<object[]> IndexOf_U_WithDiaeresis_TestData()
[MemberData(nameof(IndexOf_TestData))]
[MemberData(nameof(IndexOf_Aesc_Ligature_TestData))]
[MemberData(nameof(IndexOf_U_WithDiaeresis_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74179", TestRuntimes.Mono)]
public void IndexOf_String(CompareInfo compareInfo, string source, string value, int startIndex, int count, CompareOptions options, int expected, int expectedMatchLength)
{
if (value.Length == 1)
......
......@@ -864,6 +864,7 @@ private static StringComparison GetStringComparison(CompareOptions options)
[ConditionalTheory(nameof(PredefinedCulturesOnlyIsDisabled))]
[MemberData(nameof(IndexOf_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74179", TestRuntimes.Mono)]
public void TestIndexOf(string source, string value, int startIndex, int count, CompareOptions options, int result)
{
foreach (string cul in s_cultureNames)
......@@ -911,6 +912,7 @@ static void TestCore(CompareInfo compareInfo, string source, string value, int s
[ConditionalTheory(nameof(PredefinedCulturesOnlyIsDisabled))]
[MemberData(nameof(LastIndexOf_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74179", TestRuntimes.Mono)]
public void TestLastIndexOf(string source, string value, int startIndex, int count, CompareOptions options, int result)
{
foreach (string cul in s_cultureNames)
......
......@@ -13,6 +13,7 @@ namespace System.Transactions.Tests;
#nullable enable
[PlatformSpecific(TestPlatforms.Windows)]
[SkipOnMono("COM Interop not supported on Mono")]
public class OleTxTests : IClassFixture<OleTxTests.OleTxFixture>
{
private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册