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

@@ -517,7 +517,15 @@ public class ArrayTest
var arr2_2 = new C [1] { new DC () };
try {
Array.Copy (arr2_2, arr1_2, 1);
Assert.Fail ("#1");
Assert.Fail ("#2");
} catch (InvalidCastException) {
}
var arr1_3 = new float [5];
var arr2_3 = new object [1];
try {
Array.Copy (arr2_3, arr1_3, 1);
Assert.Fail ("#3");
} catch (InvalidCastException) {
}
}
@@ -2278,7 +2286,7 @@ public class ArrayTest
errorThrown = true;
}
Assert.IsTrue (!errorThrown, "#M93(" + types [i] + ")");
Assert.IsFalse (errorThrown, "#M93(" + types [i] + ")");
}
// Copy

View File

@@ -1 +1 @@
7dddddb510af5037a9ba9a26f203104dae03ef87
3ae30ec5879b05386b8c0d570a13a94f4a6667e2

View File

@@ -708,7 +708,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestToSingle()
{
// Single Decimal.ToSingle(Decimal)
@@ -726,7 +725,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestToDouble()
{
Double d = Decimal.ToDouble(new Decimal(0, 0, 1, false, 0));

View File

@@ -507,7 +507,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestConstructSingle ()
{
Decimal d;
@@ -630,7 +629,6 @@ namespace MonoTests.System
[Test]
[SetCulture("en-US")]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestConstructDouble ()
{
Decimal d;
@@ -729,7 +727,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestConstructDoubleRound ()
{
decimal d;
@@ -982,7 +979,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void ToInt32 ()
{
Decimal d = 254.9m;
@@ -1045,7 +1041,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void ToSingle ()
{
Decimal d = 254.9m;
@@ -1059,7 +1054,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void ToDouble ()
{
Decimal d = 254.9m;

View File

@@ -851,7 +851,6 @@ namespace MonoTests.System
delegate object Boxer ();
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void BoxingCovariance ()
{
var boxer = (Boxer) Delegate.CreateDelegate (
@@ -913,7 +912,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void NullFirstArgumentOnStaticMethod ()
{
CallTarget call = (CallTarget) Delegate.CreateDelegate (
@@ -927,7 +925,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
#if MONOTOUCH || FULL_AOT_RUNTIME
[Category ("NotWorking")] // #10539
#endif
@@ -1027,7 +1024,6 @@ namespace MonoTests.System
#if MONOTOUCH || FULL_AOT_RUNTIME
[Category ("NotWorking")] // #10539
#endif
[Category ("NotWorkingRuntimeInterpreter")]
public void ClosedOverNullReferenceStaticMethod ()
{
var del = (Func<long?,long?>) Delegate.CreateDelegate (
@@ -1105,7 +1101,6 @@ namespace MonoTests.System
event Action bar_handler;
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
[ExpectedException (typeof (ArgumentException))] // #635349, #605936
public void NewDelegateClosedOverNullReferenceInstanceMethod ()
{
@@ -1149,6 +1144,7 @@ namespace MonoTests.System
}
[Test]
// Interp uses slowpath delegate invoke virtual wrapper which throws NRE also with JIT
[Category ("NotWorkingRuntimeInterpreter")]
public void DynamicInvokeOpenInstanceDelegate ()
{
@@ -1287,7 +1283,6 @@ namespace MonoTests.System
}
#if !MONOTOUCH && !FULL_AOT_RUNTIME
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void CreateDelegateWithLdFtnAndAbstractMethod ()
{
AssemblyName assemblyName = new AssemblyName ();

View File

@@ -262,7 +262,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void GetObjectData ()
{
string msg = "MESSAGE";
@@ -380,7 +379,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void Source ()
{
Exception ex1 = new Exception ("MSG");

View File

@@ -317,7 +317,6 @@ public class TimeZoneTest {
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void GetUtcOffsetAtDSTBoundary ()
{
/*

View File

@@ -51,7 +51,6 @@ namespace MonoCasTests.System {
// when reflection is used (i.e. it gets testable).
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
[ReflectionPermission (SecurityAction.Deny, MemberAccess = true)]
[ExpectedException (typeof (SecurityException))]
public void MakeTypedReference ()

View File

@@ -59,7 +59,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void MakeTypedReference ()
{
var o = new CClass () { a = new AStruct () { b = "5" }};

View File

@@ -52,7 +52,6 @@ namespace MonoTests.System
}
[Test]
[Category ("NotWorkingRuntimeInterpreter")]
public void TestEquals_Nullable ()
{
NullableStruct f1 = new NullableStruct { f = 5 };