public void MainToolbar()
 {
     Form form = new ToolStripComboBoxTestForm();
       form.Show();
       ToolStripComboBoxTester tester = new ToolStripComboBoxTester("toolStripComboBox1", form);
       tester.Select(1);
       Assert.IsTrue(new LabelTester("label1", form).Text == "two clicked");
 }
示例#2
0
        public void MainToolbar()
        {
            Form form = new ToolStripComboBoxTestForm();

            form.Show();
            ToolStripComboBoxTester tester = new ToolStripComboBoxTester("toolStripComboBox1", form);

            tester.Select(1);
            Assert.IsTrue(new LabelTester("label1", form).Text == "two clicked");
        }