@Test public void testModifyTestElement() { System.out.println("modifyTestElement"); TestElement sampler = new HttpSimpleTableControl(); HttpSimpleTableControlGui instance = new HttpSimpleTableControlGui(); instance.modifyTestElement(sampler); }
@Override public void modifyTestElement(TestElement el) { configureTestElement(el); if (el instanceof HttpSimpleTableControl) { simpleTableController = (HttpSimpleTableControl) el; if (portField.getText().isEmpty()) { simpleTableController .setPort(HttpSimpleTableControl.DEFAULT_PORT_S); } else { simpleTableController.setPort(portField.getText()); } if (datasetDirectoryField.getText().isEmpty()) { simpleTableController .setDataDir(HttpSimpleTableControl.DEFAULT_DATA_DIR); } else { simpleTableController.setDataDir(datasetDirectoryField .getText()); } simpleTableController.setTimestamp(timestampChkBox.isSelected()); } }
HttpSimpleTableControlGui extends LogicControllerGui implements
        JMeterGUIComponent, ActionListener, UnsharedComponent { @Override public void modifyTestElement(TestElement el) { configureTestElement(el); if (el instanceof HttpSimpleTableControl) { simpleTableController = (HttpSimpleTableControl) el; if (portField.getText().isEmpty()) { simpleTableController .setPort(HttpSimpleTableControl.DEFAULT_PORT_S); } else { simpleTableController.setPort(portField.getText()); } if (datasetDirectoryField.getText().isEmpty()) { simpleTableController .setDataDir(HttpSimpleTableControl.DEFAULT_DATA_DIR); } else { simpleTableController.setDataDir(datasetDirectoryField .getText()); } simpleTableController.setTimestamp(timestampChkBox.isSelected()); } } }
HttpSimpleTableControlGui extends LogicControllerGui implements
        JMeterGUIComponent, ActionListener, UnsharedComponent { @Override public void modifyTestElement(TestElement el) { configureTestElement(el); if (el instanceof HttpSimpleTableControl) { simpleTableController = (HttpSimpleTableControl) el; if (portField.getText().isEmpty()) { simpleTableController .setPort(HttpSimpleTableControl.DEFAULT_PORT_S); } else { simpleTableController.setPort(portField.getText()); } if (datasetDirectoryField.getText().isEmpty()) { simpleTableController .setDataDir(HttpSimpleTableControl.DEFAULT_DATA_DIR); } else { simpleTableController.setDataDir(datasetDirectoryField .getText()); } simpleTableController.setTimestamp(timestampChkBox.isSelected()); } } HttpSimpleTableControlGui(); }
HttpSimpleTableControlGui extends LogicControllerGui implements
        JMeterGUIComponent, ActionListener, UnsharedComponent { @Override public void modifyTestElement(TestElement el) { configureTestElement(el); if (el instanceof HttpSimpleTableControl) { simpleTableController = (HttpSimpleTableControl) el; if (portField.getText().isEmpty()) { simpleTableController .setPort(HttpSimpleTableControl.DEFAULT_PORT_S); } else { simpleTableController.setPort(portField.getText()); } if (datasetDirectoryField.getText().isEmpty()) { simpleTableController .setDataDir(HttpSimpleTableControl.DEFAULT_DATA_DIR); } else { simpleTableController.setDataDir(datasetDirectoryField .getText()); } simpleTableController.setTimestamp(timestampChkBox.isSelected()); } } HttpSimpleTableControlGui(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement el); String getLabelResource(); @Override String getStaticLabel(); @Override Collection<String> getMenuCategories(); @Override void configure(TestElement element); @Override void actionPerformed(ActionEvent action); @Override void clearGui(); }
HttpSimpleTableControlGui extends LogicControllerGui implements
        JMeterGUIComponent, ActionListener, UnsharedComponent { @Override public void modifyTestElement(TestElement el) { configureTestElement(el); if (el instanceof HttpSimpleTableControl) { simpleTableController = (HttpSimpleTableControl) el; if (portField.getText().isEmpty()) { simpleTableController .setPort(HttpSimpleTableControl.DEFAULT_PORT_S); } else { simpleTableController.setPort(portField.getText()); } if (datasetDirectoryField.getText().isEmpty()) { simpleTableController .setDataDir(HttpSimpleTableControl.DEFAULT_DATA_DIR); } else { simpleTableController.setDataDir(datasetDirectoryField .getText()); } simpleTableController.setTimestamp(timestampChkBox.isSelected()); } } HttpSimpleTableControlGui(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement el); String getLabelResource(); @Override String getStaticLabel(); @Override Collection<String> getMenuCategories(); @Override void configure(TestElement element); @Override void actionPerformed(ActionEvent action); @Override void clearGui(); static final String WIKIPAGE; }