@Test public void testModifyTestElement() { System.out.println("modifyTestElement"); TestElement te = new VariablesFromCSV(); VariablesFromCSVGui instance = new VariablesFromCSVGui(); instance.modifyTestElement(te); }
@Override public void modifyTestElement(TestElement te) { configureTestElement(te); if (te instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV) te; varsCsv.setFileName(fileName.getText()); varsCsv.setVariablePrefix(variablePrefix.getText()); varsCsv.setSeparator(separator.getText()); varsCsv.setSkipLines(Integer.parseInt(skipLines.getText())); varsCsv.setStoreAsSystemProperty(storeSysProp.isSelected()); } }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void modifyTestElement(TestElement te) { configureTestElement(te); if (te instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV) te; varsCsv.setFileName(fileName.getText()); varsCsv.setVariablePrefix(variablePrefix.getText()); varsCsv.setSeparator(separator.getText()); varsCsv.setSkipLines(Integer.parseInt(skipLines.getText())); varsCsv.setStoreAsSystemProperty(storeSysProp.isSelected()); } } }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void modifyTestElement(TestElement te) { configureTestElement(te); if (te instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV) te; varsCsv.setFileName(fileName.getText()); varsCsv.setVariablePrefix(variablePrefix.getText()); varsCsv.setSeparator(separator.getText()); varsCsv.setSkipLines(Integer.parseInt(skipLines.getText())); varsCsv.setStoreAsSystemProperty(storeSysProp.isSelected()); } } VariablesFromCSVGui(); }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void modifyTestElement(TestElement te) { configureTestElement(te); if (te instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV) te; varsCsv.setFileName(fileName.getText()); varsCsv.setVariablePrefix(variablePrefix.getText()); varsCsv.setSeparator(separator.getText()); varsCsv.setSkipLines(Integer.parseInt(skipLines.getText())); varsCsv.setStoreAsSystemProperty(storeSysProp.isSelected()); } } VariablesFromCSVGui(); @Override String getStaticLabel(); @Override String getLabelResource(); @Override void configure(TestElement element); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void clearGui(); JTextArea getCheckInfoTextArea(); }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void modifyTestElement(TestElement te) { configureTestElement(te); if (te instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV) te; varsCsv.setFileName(fileName.getText()); varsCsv.setVariablePrefix(variablePrefix.getText()); varsCsv.setSeparator(separator.getText()); varsCsv.setSkipLines(Integer.parseInt(skipLines.getText())); varsCsv.setStoreAsSystemProperty(storeSysProp.isSelected()); } } VariablesFromCSVGui(); @Override String getStaticLabel(); @Override String getLabelResource(); @Override void configure(TestElement element); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void clearGui(); JTextArea getCheckInfoTextArea(); static final String WIKIPAGE; }