Beispiel #1
0
Datei: Test.cs Projekt: dfr0/moon
		void RunTest ()
		{
			// Verify that elements which are focused but never get a chance to emit
			// the focus event (and so are queued on the Surface forever) are still
			// able to be collected on application shutdown.
			for (int i = 0; i < 50; i++) {
				var c = new ContentControl ();
				Children.Add (c);
				c.Focus ();
			}
			Succeed ();
		}