@Test public void testConfigure() { System.out.println("configure"); TestElement element = new VariablesFromCSV(); VariablesFromCSVGui instance = new VariablesFromCSVGui(); instance.configure(element); }
@Override public void configure(TestElement element) { super.configure(element); if (element instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV)element; fileName.setText(varsCsv.getFileName()); variablePrefix.setText(varsCsv.getVariablePrefix()); separator.setText(varsCsv.getSeparator()); skipLines.setText(Integer.toString(varsCsv.getSkipLines())); storeSysProp.setSelected(varsCsv.isStoreAsSystemProperty()); } }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV)element; fileName.setText(varsCsv.getFileName()); variablePrefix.setText(varsCsv.getVariablePrefix()); separator.setText(varsCsv.getSeparator()); skipLines.setText(Integer.toString(varsCsv.getSkipLines())); storeSysProp.setSelected(varsCsv.isStoreAsSystemProperty()); } } }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV)element; fileName.setText(varsCsv.getFileName()); variablePrefix.setText(varsCsv.getVariablePrefix()); separator.setText(varsCsv.getSeparator()); skipLines.setText(Integer.toString(varsCsv.getSkipLines())); storeSysProp.setSelected(varsCsv.isStoreAsSystemProperty()); } } VariablesFromCSVGui(); }
VariablesFromCSVGui extends AbstractConfigGui { @Override public void configure(TestElement element) { super.configure(element); if (element instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV)element; fileName.setText(varsCsv.getFileName()); variablePrefix.setText(varsCsv.getVariablePrefix()); separator.setText(varsCsv.getSeparator()); skipLines.setText(Integer.toString(varsCsv.getSkipLines())); storeSysProp.setSelected(varsCsv.isStoreAsSystemProperty()); } } 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 configure(TestElement element) { super.configure(element); if (element instanceof VariablesFromCSV) { VariablesFromCSV varsCsv = (VariablesFromCSV)element; fileName.setText(varsCsv.getFileName()); variablePrefix.setText(varsCsv.getVariablePrefix()); separator.setText(varsCsv.getSeparator()); skipLines.setText(Integer.toString(varsCsv.getSkipLines())); storeSysProp.setSelected(varsCsv.isStoreAsSystemProperty()); } } 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; }