@Test public void testConfigure() { System.out.println("configure"); TestElement element = new FlexibleFileWriter(); FlexibleFileWriterGui instance = new FlexibleFileWriterGui(); instance.configure(element); }
@Override public void configure(TestElement element) { super.configure(element); FlexibleFileWriter fw = (FlexibleFileWriter) element; filename.setText(fw.getFilename()); columns.setText(fw.getColumns()); overwrite.setSelected(fw.isOverwrite()); header.setText(fw.getFileHeader()); footer.setText(fw.getFileFooter()); }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void configure(TestElement element) { super.configure(element); FlexibleFileWriter fw = (FlexibleFileWriter) element; filename.setText(fw.getFilename()); columns.setText(fw.getColumns()); overwrite.setSelected(fw.isOverwrite()); header.setText(fw.getFileHeader()); footer.setText(fw.getFileFooter()); } }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void configure(TestElement element) { super.configure(element); FlexibleFileWriter fw = (FlexibleFileWriter) element; filename.setText(fw.getFilename()); columns.setText(fw.getColumns()); overwrite.setSelected(fw.isOverwrite()); header.setText(fw.getFileHeader()); footer.setText(fw.getFileFooter()); } FlexibleFileWriterGui(); }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void configure(TestElement element) { super.configure(element); FlexibleFileWriter fw = (FlexibleFileWriter) element; filename.setText(fw.getFilename()); columns.setText(fw.getColumns()); overwrite.setSelected(fw.isOverwrite()); header.setText(fw.getFileHeader()); footer.setText(fw.getFileFooter()); } FlexibleFileWriterGui(); @Override String getStaticLabel(); @Override String getLabelResource(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void clearGui(); @Override void configure(TestElement element); @Override void lostOwnership(Clipboard clipboard, Transferable contents); }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void configure(TestElement element) { super.configure(element); FlexibleFileWriter fw = (FlexibleFileWriter) element; filename.setText(fw.getFilename()); columns.setText(fw.getColumns()); overwrite.setSelected(fw.isOverwrite()); header.setText(fw.getFileHeader()); footer.setText(fw.getFileFooter()); } FlexibleFileWriterGui(); @Override String getStaticLabel(); @Override String getLabelResource(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void clearGui(); @Override void configure(TestElement element); @Override void lostOwnership(Clipboard clipboard, Transferable contents); static final String WIKIPAGE; }