public void MainToolbar() { Form form = new ToolStripSplitButtonTestForm(); form.Show(); LabelTester label = new LabelTester("label1", form); ToolStripSplitButtonTester tester = new ToolStripSplitButtonTester("toolStripSplitButton1", form); tester.Click(); Assert.True(label.Text == "toolStripSplitButton1 clicked"); }
public void MainToolbar() { Form form = new ToolStripSplitButtonTestForm(); form.Show(); LabelTester label = new LabelTester("label1", form); ToolStripSplitButtonTester tester = new ToolStripSplitButtonTester("toolStripSplitButton1", form); tester.Click(); Assert.True(label.Text == "toolStripSplitButton1 clicked"); }