Search in sources :

Example 11 with GraphRowPercentiles

use of kg.apc.charting.rows.GraphRowPercentiles in project jmeter-plugins by undera.

the class GraphRowPercentilesTest method testIterator.

/**
 * Test of iterator method, of class GraphRowPercentiles.
 */
@Test
public void testIterator() {
    System.out.println("iterator");
    GraphRowPercentiles instance = new GraphRowPercentiles();
    Iterator result = instance.iterator();
    Assert.assertNotNull(result);
    Assert.assertTrue(result.hasNext());
    int cnt = 0;
    while (result.hasNext()) {
        Assert.assertNotNull(result.next());
        cnt++;
    }
    Assert.assertEquals(expectedCount, cnt);
}
Also used : Iterator(java.util.Iterator) GraphRowPercentiles(kg.apc.charting.rows.GraphRowPercentiles)

Aggregations

GraphRowPercentiles (kg.apc.charting.rows.GraphRowPercentiles)11 AbstractGraphPanelChartElement (kg.apc.charting.AbstractGraphPanelChartElement)4 Entry (java.util.Map.Entry)3 Iterator (java.util.Iterator)1