Author: zoltan
Date: 2007-06-01 19:43:38 -0400 (Fri, 01 Jun 2007)
New Revision: 78467

Modified:
   trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
   trunk/mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs
Log:
2007-06-02  Zoltan Varga  <[EMAIL PROTECTED]>

        * PropertyInfoTest.cs: Mark new test as NotWorking.


Modified: trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog     2007-06-01 
23:38:46 UTC (rev 78466)
+++ trunk/mcs/class/corlib/Test/System.Reflection/ChangeLog     2007-06-01 
23:43:38 UTC (rev 78467)
@@ -1,5 +1,7 @@
 2007-06-02  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * PropertyInfoTest.cs: Mark new test as NotWorking.
+       
        * PropertyInfoTest.cs: Added new test.
 
 2007-05-07  Gert Driesen  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs   
2007-06-01 23:38:46 UTC (rev 78466)
+++ trunk/mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs   
2007-06-01 23:43:38 UTC (rev 78467)
@@ -9,7 +9,6 @@
 
 using System;
 using System.Reflection; 
-using System.ComponentModel;
 
 using NUnit.Framework;
 
@@ -31,17 +30,20 @@
                }
 
                [Test]
+               [Category ("NotWorking")]
                public void GetCustomAttributesInherited ()
                {
                        Type derived = typeof (Derived);
                        PropertyInfo p = derived.GetProperty ("P");
 
-                       Assert.AreEqual (2, p.GetCustomAttributes 
(true).Length);
+                       Assert.AreEqual (1, p.GetCustomAttributes 
(true).Length);
                }
-                       
+
+               public class ThisAttribute : Attribute {
+               }
+
                class Base {
-                       [DesignOnly (true)]
-                       [Description ("Desc")]
+                       [ThisAttribute]
                        public virtual string P {
                                get { return null; }
                                set { }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to