2009-06-15 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 15 Jun 2009 15:25:08 +0000 (15:25 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 15 Jun 2009 15:25:08 +0000 (15:25 -0000)
* load-exceptions.cs class.cs: Add regression test for #508487.

* t-missing.cs: Add nested type.

svn path=/trunk/mono/; revision=136135

mono/tests/ChangeLog
mono/tests/load-exceptions.cs
mono/tests/t-missing.cs

index 763e35cd369eb21e0428a39b04971652f0bfd0e5..0b0b9432b855b08b01aa61a5d8039a5c7f4d7a29 100644 (file)
@@ -1,3 +1,9 @@
+2009-06-15 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * load-exceptions.cs class.cs: Add regression test for #508487.
+
+       * t-missing.cs: Add nested type.
+
 2009-06-06  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * bug-508538.cs: New regression test for bug #508538.
index 697a79ce2a9dcb9ff9a43ad80b310b4369cfbb6c..ed6f8cb357c07475312bd93926d91d1091745641 100644 (file)
@@ -247,8 +247,17 @@ public class Tests : LoadMissing {
                } catch (TypeLoadException) {}
                return 0;
        }
-       
-       // FIXME: These do not work yet
+
+
+       public static void missing_outer () {
+               new Missing.Foo1.InnerFoo ();
+       }
+
+       //Regression test for #508487
+       public static int test_0_missing_outer_type_in_typeref () {
+               return check_type_load (new TestDel (missing_outer));
+       }
+
 #if FALSE
        public static void missing_parent () {
                new Miss1 ();
index bbb25bfb39ddcae1f7efb11b52fb880915f82389..e594b3e7c21343d2c7f99bfcce5f33d144795da9 100644 (file)
@@ -4,6 +4,7 @@ namespace Missing {
 
 #if FOUND
 public class Foo1 {
+       public class InnerFoo {}
 }
 #endif