Imported Upstream version 5.16.0.100

Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-07 15:19:03 +00:00
parent 0a9828183b
commit 7d7f676260
4419 changed files with 170950 additions and 90273 deletions

View File

@@ -456,6 +456,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
[Category("WASM")] //This test takes forever under WASM due to over allocating
public void OldGenKeysMakeNewGenObjectsReachable ()
{
if (GC.MaxGeneration == 0) /*Boehm doesn't handle ephemerons */

View File

@@ -195,6 +195,7 @@ namespace MonoTests.System.Runtime.CompilerServices
}
[Test]
[Category ("MultiThreaded")]
public void GetResultWaitOnCompletion ()
{
TaskAwaiter awaiter;
@@ -273,6 +274,7 @@ namespace MonoTests.System.Runtime.CompilerServices
}
[Test]
[Category ("MultiThreaded")]
public void CompletionOnSameCustomSynchronizationContext ()
{
progress = "";
@@ -313,6 +315,7 @@ namespace MonoTests.System.Runtime.CompilerServices
}
[Test]
[Category ("MultiThreaded")]
public void CompletionOnDifferentCustomSynchronizationContext ()
{
mre = new ManualResetEvent (false);
@@ -365,6 +368,7 @@ namespace MonoTests.System.Runtime.CompilerServices
}
[Test]
[Category ("MultiThreaded")]
public void NestedLeakingSynchronizationContext ()
{
var sc = SynchronizationContext.Current;

View File

@@ -42,8 +42,6 @@ namespace MonoTests.System.Runtime.CompilerServices {
{
var a = new TypeForwardedFromAttribute ("System.Web, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a");
Assert.AreEqual ("System.Web, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a", a.AssemblyFullName);
var nullArgumentDoesntThrowException = new TypeForwardedFromAttribute (null);
}
}
}