示例#1
0
文件: Test.cs 项目: 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 ();
		}