Author: everaldo
Date: 2007-11-19 15:33:40 -0500 (Mon, 19 Nov 2007)
New Revision: 89943
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/NotifyIconTest.cs
Log:
2007-11-19 Everaldo Canuto <[EMAIL PROTECTED]>
* NotifyIconTest.cs: Add Balloon test, bug #342141.
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2007-11-19 20:09:44 UTC (rev 89942)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2007-11-19 20:33:40 UTC (rev 89943)
@@ -1,3 +1,7 @@
+2007-11-19 Everaldo Canuto <[EMAIL PROTECTED]>
+
+ * NotifyIconTest.cs: Add Balloon test, bug #342141.
+
2007-11-16 Gert Driesen <[EMAIL PROTECTED]>
* ComboBoxTest.cs: Enabled test for bug #331144.
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/NotifyIconTest.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/NotifyIconTest.cs
2007-11-19 20:09:44 UTC (rev 89942)
+++
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/NotifyIconTest.cs
2007-11-19 20:33:40 UTC (rev 89943)
@@ -34,6 +34,18 @@
ni.ContextMenuStrip = cms;
Assert.AreSame (cms, ni.ContextMenuStrip, "B2");
}
+
+ [Test]
+ public void Balloon ()
+ {
+ NotifyIcon ni = new NotifyIcon ();
+ ni.Text = "NotifyIcon Text";
+ ni.BalloonTipTitle = "Balloon Tip Title";
+ ni.BalloonTipText = "Balloon Tip Text.";
+ ni.BalloonTipIcon = ToolTipIcon.None;
+ ni.Visible = true;
+ ni.ShowBalloonTip (1);
+ }
#endif
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches