@Test public void testModifyTestElement() { System.out.println("modifyTestElement"); TestElement te = new FlexibleFileWriter(); FlexibleFileWriterGui instance = new FlexibleFileWriterGui(); instance.modifyTestElement(te); }
@Override public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof FlexibleFileWriter) { FlexibleFileWriter fw = (FlexibleFileWriter) te; fw.setFilename(filename.getText()); fw.setColumns(columns.getText()); fw.setOverwrite(overwrite.isSelected()); fw.setFileHeader(header.getText()); fw.setFileFooter(footer.getText()); } }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof FlexibleFileWriter) { FlexibleFileWriter fw = (FlexibleFileWriter) te; fw.setFilename(filename.getText()); fw.setColumns(columns.getText()); fw.setOverwrite(overwrite.isSelected()); fw.setFileHeader(header.getText()); fw.setFileFooter(footer.getText()); } } }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof FlexibleFileWriter) { FlexibleFileWriter fw = (FlexibleFileWriter) te; fw.setFilename(filename.getText()); fw.setColumns(columns.getText()); fw.setOverwrite(overwrite.isSelected()); fw.setFileHeader(header.getText()); fw.setFileFooter(footer.getText()); } } FlexibleFileWriterGui(); }
FlexibleFileWriterGui extends AbstractListenerGui implements ClipboardOwner { @Override public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof FlexibleFileWriter) { FlexibleFileWriter fw = (FlexibleFileWriter) te; fw.setFilename(filename.getText()); fw.setColumns(columns.getText()); fw.setOverwrite(overwrite.isSelected()); fw.setFileHeader(header.getText()); fw.setFileFooter(footer.getText()); } } 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 modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof FlexibleFileWriter) { FlexibleFileWriter fw = (FlexibleFileWriter) te; fw.setFilename(filename.getText()); fw.setColumns(columns.getText()); fw.setOverwrite(overwrite.isSelected()); fw.setFileHeader(header.getText()); fw.setFileFooter(footer.getText()); } } 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; }