未验证 提交 326af2c3 编写于 作者: S Steve Pfister 提交者: GitHub

[iOS] Enable skipped System.Threading tests (#73498)

* [iOS] Enable skipped System.Threading tests

Fixes https://github.com/dotnet/runtime/issues/51400

* Redisable 60583 and remove added newline
Co-authored-by: NSteve Pfister <steve.pfister@microsoft.com>
Co-authored-by: Nmdh1418 <mitchhwang1418@gmail.com>
上级 495a6207
......@@ -205,7 +205,6 @@ public void WaitHandleWaitAny()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void PingPong()
{
using (AutoResetEvent are1 = new AutoResetEvent(true), are2 = new AutoResetEvent(false))
......
......@@ -62,7 +62,6 @@ public static void DisposeTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void FlowTest()
{
ThreadTestHelpers.RunTestInBackgroundThread(() =>
......@@ -170,7 +169,6 @@ public static void FlowTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void CaptureThenSuppressThenRunFlowTest()
{
ThreadTestHelpers.RunTestInBackgroundThread(() =>
......
......@@ -148,7 +148,6 @@ public void WaitHandleWaitAny()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void PingPong()
{
using (ManualResetEvent mre1 = new ManualResetEvent(true), mre2 = new ManualResetEvent(false))
......
......@@ -122,7 +122,6 @@ public static void InvalidLockCookieTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void BasicLockTest()
{
var trwl = new TestReaderWriterLock();
......@@ -511,7 +510,6 @@ public static void WaitingReadersTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void WaitingWritersTest()
{
var trwl = new TestReaderWriterLock();
......@@ -543,7 +541,6 @@ public static void WaitingWritersTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void ReadersWaitingOnWaitingWriterTest()
{
var trwl = new TestReaderWriterLock();
......@@ -594,7 +591,6 @@ public static void ReadersWaitingOnWaitingWriterTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void ReadersWaitingOnWaitingUpgraderTest()
{
var trwl = new TestReaderWriterLock();
......@@ -648,7 +644,6 @@ public static void ReadersWaitingOnWaitingUpgraderTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void WaitingUpgradersTest()
{
var trwl = new TestReaderWriterLock();
......@@ -694,7 +689,6 @@ public static void WaitingUpgradersTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void AtomicRecursiveReaderTest()
{
var trwl = new TestReaderWriterLock();
......@@ -721,7 +715,6 @@ public static void AtomicRecursiveReaderTest()
}
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public static void AtomicDowngradeTest()
{
var trwl = new TestReaderWriterLock();
......
......@@ -279,7 +279,6 @@ public void CanWaitWithoutBlockingForReleasedCount()
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/49890", TestPlatforms.Android)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51400", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void AnonymousProducerConsumer()
{
using (Semaphore s = new Semaphore(0, int.MaxValue))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册