Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

View File

@ -317,6 +317,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void InterrupedWaitAny ()
{
using (var m1 = new Mutex (true)) {
@ -345,6 +346,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void InterrupedWaitAll ()
{
using (var m1 = new Mutex (true)) {
@ -373,6 +375,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void InterrupedWaitOne ()
{
using (var m1 = new Mutex (true)) {
@ -398,6 +401,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void WaitOneWithAbandonedMutex ()
{
using (var m = new Mutex (false)) {
@ -432,6 +436,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void WaitOneWithAbandonedMutexAndMultipleThreads ()
{
using (var m = new Mutex (true)) {
@ -465,6 +470,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void WaitAnyWithSecondMutexAbandoned ()
{
using (var m1 = new Mutex (false)) {
@ -525,6 +531,7 @@ namespace MonoTests.System.Threading {
[Test]
[ExpectedException (typeof (AbandonedMutexException))]
[Category ("MultiThreaded")]
public void WaitAllWithOneAbandonedMutex ()
{
using (var m1 = new Mutex (false)) {
@ -541,6 +548,7 @@ namespace MonoTests.System.Threading {
#if MONO_FEATURE_THREAD_SUSPEND_RESUME
[Test]
[Category ("MultiThreaded")]
public void WaitOneWithTimeoutAndSpuriousWake ()
{
/* This is to test that WaitEvent.WaitOne is not going to wait largely
@ -570,6 +578,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void WaitAnyWithTimeoutAndSpuriousWake ()
{
/* This is to test that WaitEvent.WaitAny is not going to wait largely
@ -600,6 +609,7 @@ namespace MonoTests.System.Threading {
}
[Test]
[Category ("MultiThreaded")]
public void WaitAllWithTimeoutAndSpuriousWake ()
{
/* This is to test that WaitEvent.WaitAll is not going to wait largely