public void ZDynamicallyModifyListGroup()
        {
            ITestableUIAdapter adapter = (ITestableUIAdapter)m_window.MenuAdapter;

            TesterControl.cbModifyVowelList.Checked = false;
            //			MenuItem menu =FindMenu("Vowels");
            //			menu.PerformClick();//cause the polling of the display properties
            //			MenuItem item =FindMenuItem("OO");		//this item should not be there yet
            //			Assert.IsTrue(item == null,"The extra Vowels are not supposed to be there yet. the list should revert to what is in the XML configuration if no colleagues modifies it.");
            Assert.IsFalse(adapter.HasItem("Vowels", "OO"), "The extra Vowels are not supposed to be there yet. the list should revert to what is in the XML configuration if no colleagues modifies it.");

            TesterControl.cbModifyVowelList.Checked = true;
            //			menu.PerformClick();//cause the polling of the display properties
            //			item =FindMenuItem("OO");		//make sure one of the new items was added
            //			Assert.IsTrue(item != null,"The extra Vowels do not seem to have been added");
            Assert.IsTrue(adapter.HasItem("Vowels", "OO"), "The extra Vowels do not seem to have been added");
        }
Beispiel #2
0
        [Test]        //[Ignore("Temporary for the sake of NUnit 2.2")]
        public void ConfigurationInclude()
        {
            ITestableUIAdapter adapter = (ITestableUIAdapter)m_window.MenuAdapter;

            Assert.IsTrue(adapter.HasItem("DebugMenu", "ClearFields"));
        }