@Test public void useSnippet() { SwingInvokerTestUtil.runTestInSwingInvoker(new NoArgAction() { @Override public void invoke() { final JButton button = (JButton) toTest.getExampleList().getComponent(0); clickButton(button); Assert.assertEquals(TEST_SNIPPET, model.getCodeSnippet()); } }); }
public JPanel getExampleList() { return exampleList; }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JPanel getExampleList() { return exampleList; } }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JPanel getExampleList() { return exampleList; } ExampleRunningPanel(final RunningCodeViewModel model); }
ExampleRunningPanel extends javax.swing.JPanel implements Disposable { public JPanel getExampleList() { return exampleList; } 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 JPanel getExampleList() { return exampleList; } ExampleRunningPanel(final RunningCodeViewModel model); static ExampleRunningPanel create(RunningCodeViewModel model); JTextArea getOutputTextArea(); JTextArea getCodeTextArea(); JButton getRunButton(); @Override void dispose(); JButton getClearButton(); JPanel getExampleList();  }