@Test public void testModifyTestElement() { System.out.println("modifyTestElement"); TestElement c = new MonitoringResultsCollector(); AbstractMonitoringVisualizer instance = new AbstractMonitoringVisualizerImpl(); instance.modifyTestElement(c); assertNotNull(c.getProperty(MonitoringResultsCollector.DATA_PROPERTY)); }
@Override public void modifyTestElement(TestElement te) { super.modifyTestElement(te); if (grid.isEditing()) { grid.getCellEditor().stopCellEditing(); } if (te instanceof MonitoringResultsCollector) { MonitoringResultsCollector mrc = (MonitoringResultsCollector) te; CollectionProperty rows = JMeterPluginsUtils.tableModelRowsToCollectionProperty(tableModel, MonitoringResultsCollector.DATA_PROPERTY); mrc.setData(rows); } super.configureTestElement(te); }
AbstractMonitoringVisualizer extends AbstractOverTimeVisualizer { @Override public void modifyTestElement(TestElement te) { super.modifyTestElement(te); if (grid.isEditing()) { grid.getCellEditor().stopCellEditing(); } if (te instanceof MonitoringResultsCollector) { MonitoringResultsCollector mrc = (MonitoringResultsCollector) te; CollectionProperty rows = JMeterPluginsUtils.tableModelRowsToCollectionProperty(tableModel, MonitoringResultsCollector.DATA_PROPERTY); mrc.setData(rows); } super.configureTestElement(te); } }
AbstractMonitoringVisualizer extends AbstractOverTimeVisualizer { @Override public void modifyTestElement(TestElement te) { super.modifyTestElement(te); if (grid.isEditing()) { grid.getCellEditor().stopCellEditing(); } if (te instanceof MonitoringResultsCollector) { MonitoringResultsCollector mrc = (MonitoringResultsCollector) te; CollectionProperty rows = JMeterPluginsUtils.tableModelRowsToCollectionProperty(tableModel, MonitoringResultsCollector.DATA_PROPERTY); mrc.setData(rows); } super.configureTestElement(te); } AbstractMonitoringVisualizer(); }
AbstractMonitoringVisualizer extends AbstractOverTimeVisualizer { @Override public void modifyTestElement(TestElement te) { super.modifyTestElement(te); if (grid.isEditing()) { grid.getCellEditor().stopCellEditing(); } if (te instanceof MonitoringResultsCollector) { MonitoringResultsCollector mrc = (MonitoringResultsCollector) te; CollectionProperty rows = JMeterPluginsUtils.tableModelRowsToCollectionProperty(tableModel, MonitoringResultsCollector.DATA_PROPERTY); mrc.setData(rows); } super.configureTestElement(te); } AbstractMonitoringVisualizer(); @Override abstract String getWikiPage(); @Override abstract String getStaticLabel(); @Override String getLabelResource(); void clearErrorMessage(); @Override void clearData(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void configure(TestElement te); @Override void add(SampleResult res); }
AbstractMonitoringVisualizer extends AbstractOverTimeVisualizer { @Override public void modifyTestElement(TestElement te) { super.modifyTestElement(te); if (grid.isEditing()) { grid.getCellEditor().stopCellEditing(); } if (te instanceof MonitoringResultsCollector) { MonitoringResultsCollector mrc = (MonitoringResultsCollector) te; CollectionProperty rows = JMeterPluginsUtils.tableModelRowsToCollectionProperty(tableModel, MonitoringResultsCollector.DATA_PROPERTY); mrc.setData(rows); } super.configureTestElement(te); } AbstractMonitoringVisualizer(); @Override abstract String getWikiPage(); @Override abstract String getStaticLabel(); @Override String getLabelResource(); void clearErrorMessage(); @Override void clearData(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void configure(TestElement te); @Override void add(SampleResult res);  }