Imported Upstream version 5.18.0.248

Former-commit-id: 738e3044ff639637d8fe2511a8b60b065577838e
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-01-26 08:23:49 +00:00
parent ce8e504569
commit 2393d5688b
315 changed files with 1737 additions and 313 deletions

View File

@ -525,9 +525,10 @@ namespace MonoTests.System
{
var monoType = Type.GetType ("Mono.Runtime", false);
var convert = monoType.GetMethod("CheckCrashReportLog", BindingFlags.NonPublic | BindingFlags.Static);
var result = (int) convert.Invoke(null, new object[] { "./", true });
var monoSummaryDone = 8;
Assert.AreEqual (monoSummaryDone, result, "#DLC1");
var result = convert.Invoke(null, new object[] { "./", true });
var enumType = monoType.Assembly.GetType("Mono.Runtime+CrashReportLogLevel");
var doneEnum = Enum.Parse(enumType, "MonoSummaryDone");
Assert.AreEqual (doneEnum, result, "#DLC1");
}
[Test]