2007-01-10 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Thu, 11 Jan 2007 00:09:21 +0000 (00:09 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 11 Jan 2007 00:09:21 +0000 (00:09 -0000)
commit781cd2a3f8c17f2015ca59c12a02726d93a70b4d
tree4132f7f88dd6ae0290f717265c133fdd952a8bc1
parent262102ed7b58a771d1e8d8e707e7fe51551156a3
2007-01-10  Chris Toshok  <toshok@ximian.com>

* FocusTest.cs: Disable a couple of tests that rely on the
focus/active control state being available directly after
form.Show() - doesn't work on X11, since form.Show shows the
window asynchronously.  Also, add a large focus/enter/leave event
handling test andreia and I were using to correct problems in
ContainerControl.set_ActiveControl.

* FormTest.cs: add a test to show that even if OnActivate is
overriden and not chained up to the base class, ActiveControl is
still set.  Unfortunately it doesn't work on the X11 backend
because Form.Show is necessarily an async operation.

* ApplicationTest.cs: don't show forms in the taskbar, and dispose
of them.

* ApplicationContextTest.cs: same.

svn path=/trunk/mcs/; revision=70822
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ApplicationContextTest.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ApplicationTest.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FocusTest.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs