Imported Upstream version 6.4.0.137

Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-07-26 19:53:28 +00:00
parent e9207cf623
commit ef583813eb
2712 changed files with 74169 additions and 40587 deletions

View File

@ -41,7 +41,7 @@ namespace MonoTests.System.ComponentModel.Design.Serialization {
[TestFixture]
public class InstanceDescriptorTest {
private const string url = "http://www.mono-project.com/";
private const string url = "http://www.example.com/";
private ConstructorInfo ci;
[TestFixtureSetUp]
@ -185,10 +185,11 @@ namespace MonoTests.System.ComponentModel.Design.Serialization {
}
}
#if !DISABLE_SECURITY
[Test]
public void Property_Arguments_Mismatch ()
{
#if MOBILE
#if MOBILE && !DISABLE_SECURITY
// ensure the property is not linked out of the application since it make the test fails
Assert.IsNotNull (Thread.CurrentPrincipal, "pre-test");
#endif
@ -211,7 +212,7 @@ namespace MonoTests.System.ComponentModel.Design.Serialization {
[Test]
public void Property_Arguments_Null ()
{
#if MOBILE
#if MOBILE && !DISABLE_SECURITY
// ensure the property is not linked out of the application since it make the test fails
Assert.IsNotNull (Thread.CurrentPrincipal, "pre-test");
#endif
@ -223,6 +224,7 @@ namespace MonoTests.System.ComponentModel.Design.Serialization {
Assert.AreSame (pi, id.MemberInfo, "#3");
Assert.IsNotNull (id.Invoke (), "#4");
}
#endif
[Test]
public void Property_MemberInfo_NonStatic ()