@Test public void clearUp() { SwingInvokerTestUtil.runTestInSwingInvoker(new NoArgAction() { @Override public void invoke() { model.getConsoleView().getWriter().println("Hi"); clickButton(toTest.getClearButton()); Assert.assertEquals("", model.getConsoleView().getText()); } }); }
public JButton getClearButton() { return clearConsole; }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JButton getClearButton() { return clearConsole; } }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JButton getClearButton() { return clearConsole; } ExampleRunningPanel(final RunningCodeViewModel model); }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JButton getClearButton() { return clearConsole; } ExampleRunningPanel(final RunningCodeViewModel model); static ExampleRunningPanel create(RunningCodeViewModel model); JTextArea getOutputTextArea(); JTextArea getCodeTextArea(); JButton getRunButton(); @Override void dispose(); JButton getClearButton(); JPanel getExampleList(); }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JButton getClearButton() { return clearConsole; } ExampleRunningPanel(final RunningCodeViewModel model); static ExampleRunningPanel create(RunningCodeViewModel model); JTextArea getOutputTextArea(); JTextArea getCodeTextArea(); JButton getRunButton(); @Override void dispose(); JButton getClearButton(); JPanel getExampleList();  }