using System;
using System.ComponentModel;
-using System.Drawing.Design;
using NUnit.Framework;
[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");
Assert.AreEqual (true, ToolboxItemAttribute.Default.IsDefaultAttribute (), "#3");
Assert.AreEqual (ToolboxItemAttribute.Default.ToolboxItemTypeName.GetHashCode (), attr.GetHashCode (), "#4");
}
-
+#endif
[Test]
public void NonDefaultType ()
{