Package org.fest.swing.test.recorder

Examples of org.fest.swing.test.recorder.ClickRecorder.wasClicked()


  @Test
  public void should_click_menu() {
    ClickRecorder clickRecorder = attachTo(menuItem);
    driver.click(menuItem);
    clickRecorder.wasClicked();
  }

  private static class MyWindow extends TestWindow {
    final JMenu menuFile = new JMenu("File");
    final JMenuItem menuNew = new JMenuItem("New");
View Full Code Here


  @Test
  public void should_click_column() {
    showWindow();
    ClickRecorder recorder = attachTo(tableHeader);
    driver.clickColumn(tableHeader, index);
    recorder.wasClicked();
    assertThatColumnWasClicked(recorder, index);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.