Merge pull request #4621 from alexanderkyte/strdup_env
[mono.git] / mcs / class / System / Test / System.ComponentModel / ToolboxItemAttributeTests.cs
index 0423b02159852064f2f0194b76a344104940cd27..8f2662a26788b0a241de111dcd78e8572492636c 100644 (file)
@@ -8,7 +8,6 @@
 
 using System;
 using System.ComponentModel;
-using System.Drawing.Design;
 
 using NUnit.Framework;
 
@@ -17,15 +16,13 @@ namespace MonoTests.System.ComponentModel
        [TestFixture]
        public class ToolboxItemAttributeTests
        {
+#if !MOBILE && !MONOMAC && !XAMMAC_4_5
                [Test]
-#if TARGET_JVM
-               [Ignore ("TD BUG ID: 7215, 7216")]
-#endif
                public void DefaultType ()
                {
                        ToolboxItemAttribute attr = new ToolboxItemAttribute (true);
                        
-                       Type toolboxItemType = typeof(ToolboxItem);
+                       Type toolboxItemType = typeof(global::System.Drawing.Design.ToolboxItem);
 
                        Assert.AreEqual (toolboxItemType.AssemblyQualifiedName, attr.ToolboxItemTypeName, "#1");
                        Assert.AreEqual (toolboxItemType, attr.ToolboxItemType, "#2");
@@ -37,7 +34,7 @@ namespace MonoTests.System.ComponentModel
                        Assert.AreEqual (true, ToolboxItemAttribute.Default.IsDefaultAttribute (), "#3");
                        Assert.AreEqual (ToolboxItemAttribute.Default.ToolboxItemTypeName.GetHashCode (), attr.GetHashCode (), "#4");
                }
-
+#endif
                [Test]
                public void NonDefaultType ()
                {