[tests] Adjust the test for Android-specific behavior
authorMarek Habersack <grendel@twistedcode.net>
Tue, 7 Jul 2015 09:55:41 +0000 (11:55 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:38 +0000 (20:45 +0200)
mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs

index 62fd716c101107a1b1eaeb06fd4bfe48ecc754e2..285450e570dbee8d243c05604b130725f4acca0a 100644 (file)
@@ -190,7 +190,10 @@ namespace MonoTests.System.Reflection
                public void Corlib_test ()
                {
                        Assembly corlib_test = Assembly.GetExecutingAssembly ();
-#if MOBILE
+#if MONODROID
+                       Assert.IsNull (corlib_test.EntryPoint, "EntryPoint");
+                       Assert.IsNull (corlib_test.Evidence, "Evidence");
+#elif MOBILE
                        Assert.IsNotNull (corlib_test.EntryPoint, "EntryPoint");
                        Assert.IsNull (corlib_test.Evidence, "Evidence");
 #else