[tests] Disable on Android due to environment differences
authorMarek Habersack <grendel@twistedcode.net>
Tue, 7 Jul 2015 09:57:26 +0000 (11:57 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:39 +0000 (20:45 +0200)
Assemblies in Xamarin.Android cannot be accessed as FileStream/files directly

mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs

index 285450e570dbee8d243c05604b130725f4acca0a..186eac581ed7475437517964c8d3d9dfb5b41d90 100644 (file)
@@ -247,6 +247,7 @@ namespace MonoTests.System.Reflection
                }
 
                [Test]
+               [Category ("AndroidNotWorking")] // Assemblies in Xamarin.Android cannot be accessed as FileStream
                public void GetFiles_False ()
                {
                        Assembly corlib = typeof (int).Assembly;
@@ -259,6 +260,7 @@ namespace MonoTests.System.Reflection
                }
 
                [Test]
+               [Category ("AndroidNotWorking")] // Assemblies in Xamarin.Android cannot be accessed as FileStream
                public void GetFiles_True ()
                {
                        Assembly corlib = typeof (int).Assembly;
@@ -668,6 +670,7 @@ namespace MonoTests.System.Reflection
                }
 
                [Test]
+               [Category ("AndroidNotWorking")] // Assemblies in Xamarin.Android cannot be directly as files
                public void ReflectionOnlyLoadFrom ()
                {
                        string loc = typeof (AssemblyTest).Assembly.Location;