Author: zoltan
Date: 2005-03-23 13:00:44 -0500 (Wed, 23 Mar 2005)
New Revision: 42159
Modified:
trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
Log:
2005-03-23 Zoltan Varga <[EMAIL PROTECTED]>
* TypeBuilderTest.cs: Fix this up after the last change.
Modified: trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
2005-03-23 17:26:15 UTC (rev 42158)
+++ trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
2005-03-23 18:00:44 UTC (rev 42159)
@@ -1,3 +1,7 @@
+2005-03-23 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * TypeBuilderTest.cs: Fix this up after the last change.
+
2005-03-23 Martin Baulig <[EMAIL PROTECTED]>
* TypeBuilderTest.cs (TestIsAssignableTo_NotDotNet): Put this
Modified: trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
2005-03-23 17:26:15 UTC (rev 42158)
+++ trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
2005-03-23 18:00:44 UTC (rev 42159)
@@ -1774,11 +1774,13 @@
Assert ("06", !tb.IsAssignableFrom (typeof (IDisposable)));
tb.AddInterfaceImplementation (typeof (IDisposable));
+
+ // Fails under .net, so we don't support it either
+ //Assert ("07", tb.IsAssignableFrom (typeof (IDisposable)));
}
[Test]
[Category("NotDotNet")]
- [Category("NotWorking")]
public void TestIsAssignableTo_NotDotNet () {
Type icomparable = typeof (IComparable);
@@ -1789,10 +1791,8 @@
tb.AddInterfaceImplementation (typeof (IDisposable));
- Assert ("02", tb.IsAssignableFrom (typeof (IDisposable)));
-
// bug #73469
- Assert ("07", typeof (Bar[]).IsAssignableFrom (module.GetType
(tb.FullName + "[]")));
+ Assert ("02", typeof (Bar[]).IsAssignableFrom (module.GetType
(tb.FullName + "[]")));
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches