use of kg.apc.charting.rows.GraphRowOverallAverages in project jmeter-plugins by undera.
the class GraphRowOverallAveragesTest method testIterator.
/**
* Test of iterator method, of class GraphRowOverallAverages.
*/
@Test
public void testIterator() {
System.out.println("iterator");
GraphRowOverallAverages instance = new GraphRowOverallAverages();
Iterator expResult = instance;
Iterator result = instance.iterator();
Assert.assertEquals(expResult, result);
}
use of kg.apc.charting.rows.GraphRowOverallAverages in project jmeter-plugins by undera.
the class GraphRowOverallAveragesTest method testSetValue.
/**
* Test of setValue method, of class GraphRowOverallAverages.
*/
@Test
public void testSetValue() {
System.out.println("setValue");
GraphPanelChartAverageElement value = null;
GraphRowOverallAverages instance = new GraphRowOverallAverages();
try {
AbstractGraphPanelChartElement result = instance.setValue(value);
Assert.fail("Exception expected");
} catch (UnsupportedOperationException e) {
}
}
use of kg.apc.charting.rows.GraphRowOverallAverages in project jmeter-plugins by undera.
the class GraphRowOverallAveragesTest method testGetElement.
/**
* Test of getElement method, of class GraphRowOverallAverages.
*/
@Test
public void testGetElement() {
System.out.println("getElement");
long value = 100L;
GraphRowOverallAverages instance = new GraphRowOverallAverages();
AbstractGraphPanelChartElement expResult = new GraphPanelChartAverageElement(10);
instance.add(value, 10);
AbstractGraphPanelChartElement result = instance.getElement(value);
Assert.assertTrue(instance.getElement(value).getValue() == expResult.getValue());
}
use of kg.apc.charting.rows.GraphRowOverallAverages in project jmeter-plugins by undera.
the class GraphRowOverallAveragesTest method testNext.
/**
* Test of next method, of class GraphRowOverallAverages.
*/
@Test
public void testNext() {
System.out.println("next");
GraphRowOverallAverages instance = new GraphRowOverallAverages();
assertEquals(instance, instance.next());
}
Aggregations