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

@ -252,6 +252,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #325566
[Category ("MultiThreaded")]
public void GetHashCodeTest ()
{
C1Test test1 = new C1Test ();
@ -281,6 +282,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #82700
[Category ("MultiThreaded")]
public void ManagedThreadId ()
{
C1Test test1 = new C1Test ();
@ -307,7 +309,7 @@ namespace MonoTests.System.Threading
[Test]
[Category ("NotDotNet")] // it hangs.
[Category ("InterpreterNotWorking")] /* crashes on linux/arm64 */
[Category ("NotWorkingRuntimeInterpreter")] /* crashes on linux/arm64 */
public void TestStart()
{
{
@ -349,6 +351,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestApartmentState ()
{
C2Test test1 = new C2Test();
@ -450,7 +453,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("InterpreterNotWorking")]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestUndivisibleByPageSizeMaxStackSize ()
{
const int undivisible_stacksize = 1048573;
@ -461,6 +464,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestIsBackground1 ()
{
C2Test test1 = new C2Test();
@ -480,6 +484,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestIsBackground2 ()
{
C2Test test1 = new C2Test();
@ -505,6 +510,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestName()
{
C2Test test1 = new C2Test();
@ -545,6 +551,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestNestedThreads1()
{
C3Test test1 = new C3Test();
@ -562,6 +569,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestNestedThreads2()
{
C4Test test1 = new C4Test();
@ -578,6 +586,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestJoin1()
{
C1Test test1 = new C1Test();
@ -664,6 +673,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestThreadState ()
{
//TODO: Test The rest of the possible transitions
@ -768,6 +778,7 @@ namespace MonoTests.System.Threading
#if MONO_FEATURE_THREAD_SUSPEND_RESUME
[Test]
[Category ("MultiThreaded")]
public void TestSuspend ()
{
Thread t = new Thread (new ThreadStart (DoCount));
@ -795,6 +806,7 @@ namespace MonoTests.System.Threading
#if MONO_FEATURE_THREAD_SUSPEND_RESUME && MONO_FEATURE_THREAD_ABORT
[Test]
[Category("NotDotNet")] // On MS, ThreadStateException is thrown on Abort: "Thread is suspended; attempting to abort"
[Category ("MultiThreaded")]
public void TestSuspendAbort ()
{
Thread t = new Thread (new ThreadStart (DoCount));
@ -982,6 +994,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #81720
[Category ("MultiThreaded")]
public void IsBackGround ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@ -1020,6 +1033,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #60031
[Category ("MultiThreaded")]
public void StoppedThreadsThrowThreadStateException ()
{
var t = new Thread (() => { });
@ -1150,6 +1164,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #81658
[Category ("MultiThreaded")]
public void ApartmentState_StoppedThread ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@ -1189,6 +1204,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestApartmentState ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@ -1253,6 +1269,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestTrySetApartmentState ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@ -1267,6 +1284,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void TestTrySetApartmentStateRunning ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@ -1303,6 +1321,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void ThreadStartSimple ()
{
int i = 0;
@ -1316,6 +1335,7 @@ namespace MonoTests.System.Threading
}
[Test]
[Category ("MultiThreaded")]
public void ParametrizedThreadStart ()
{
int i = 0;