@Test public void testModifyTestElement() { System.out.println("modifyTestElement"); TestElement c = new ResultCollector(); AbstractGraphPanelVisualizer instance = new AbstractGraphPanelVisualizerImpl(); instance.modifyTestElement(c); }
@Override public void modifyTestElement(TestElement c) { super.modifyTestElement(c); c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval)); c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate)); c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset())); c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset())); c.setProperty(new BooleanProperty( CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc())); c.setProperty(new BooleanProperty( CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc())); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void modifyTestElement(TestElement c) { super.modifyTestElement(c); c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval)); c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate)); c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset())); c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset())); c.setProperty(new BooleanProperty( CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc())); c.setProperty(new BooleanProperty( CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc())); } }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void modifyTestElement(TestElement c) { super.modifyTestElement(c); c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval)); c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate)); c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset())); c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset())); c.setProperty(new BooleanProperty( CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc())); c.setProperty(new BooleanProperty( CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc())); } AbstractGraphPanelVisualizer(); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void modifyTestElement(TestElement c) { super.modifyTestElement(c); c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval)); c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate)); c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset())); c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset())); c.setProperty(new BooleanProperty( CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc())); c.setProperty(new BooleanProperty( CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc())); } AbstractGraphPanelVisualizer(); @Override abstract String getStaticLabel(); void updateGui(Sample sample); void updateGui(); @Override void clearData(); @Override Image getImage(); @Override int getGranulation(); @Override void setGranulation(int granulation); @Override void stateChanged(ChangeEvent e); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement c); @Override void configure(TestElement el); @Override GraphPanelChart getGraphPanelChart(); @Override void switchModel(boolean aggregate); JSettingsPanel getSettingsPanel(); void setUpFiltering(CorrectedResultCollector rc); void setIgnoreCurrentTestStartTime(); boolean isIgnoreCurrentTestStartTime(); @Override void clearGui(); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void modifyTestElement(TestElement c) { super.modifyTestElement(c); c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval)); c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate)); c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels())); c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset())); c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset())); c.setProperty(new BooleanProperty( CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc())); c.setProperty(new BooleanProperty( CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc())); } AbstractGraphPanelVisualizer(); @Override abstract String getStaticLabel(); void updateGui(Sample sample); void updateGui(); @Override void clearData(); @Override Image getImage(); @Override int getGranulation(); @Override void setGranulation(int granulation); @Override void stateChanged(ChangeEvent e); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement c); @Override void configure(TestElement el); @Override GraphPanelChart getGraphPanelChart(); @Override void switchModel(boolean aggregate); JSettingsPanel getSettingsPanel(); void setUpFiltering(CorrectedResultCollector rc); void setIgnoreCurrentTestStartTime(); boolean isIgnoreCurrentTestStartTime(); @Override void clearGui(); static final String INTERVAL_PROPERTY; static final String GRAPH_AGGREGATED; }