Пример #1
0
        public void VisitAllMenus()
        {
            if (m_window.Mediator == null)
            {
                ReopenWindow();                 // A previously run test had closed it, so the mediator was gone.
            }
            ITestableUIAdapter adapter = (ITestableUIAdapter)m_window.MenuAdapter;

            adapter.ClickOnEverything();
        }
Пример #2
0
        [Test]        //[Ignore("Temporary for the sake of NUnit 2.2")]
        public void VisitAllMenus()
        {
            if (m_window.Mediator == null)
            {
                ReopenWindow();                 // A previously run test had closed it, so the mediator was gone.
            }
            ITestableUIAdapter adapter = (ITestableUIAdapter)m_window.MenuAdapter;

            adapter.ClickOnEverything();

            //			foreach(MenuItem menu in m_window.Menu.MenuItems)
            //			{
            //				VisitMenu(menu);
            //			}
        }