use of org.eclipse.linuxtools.systemtap.graphing.core.datasets.row.RowDataSet in project linuxtools by eclipse.
the class FilteredRowDataSetTest method setUp.
@Before
public void setUp() {
data = new RowDataSet(new String[] { "a", "b", "c" });
fdata = new FilteredRowDataSet(data);
new FilteredRowDataSet(data.getTitles());
entry0 = new RowEntry();
entry0.putRow(0, new String[] { "1", "2", "3" });
data.setData(entry0);
RowEntry entry = new RowEntry();
entry.putRow(0, new String[] { "4", "5", "6" });
data.setData(entry);
}
use of org.eclipse.linuxtools.systemtap.graphing.core.datasets.row.RowDataSet in project linuxtools by eclipse.
the class RowDataSetTest method setUp.
@Before
public void setUp() {
data = new RowDataSet(new String[] { "a", "b", "c" });
entry0 = new RowEntry();
entry0.putRow(0, new String[] { "1", "2", "3" });
data.setData(entry0);
RowEntry entry = new RowEntry();
entry.putRow(0, new String[] { "4", "5", "6" });
data.setData(entry);
}
use of org.eclipse.linuxtools.systemtap.graphing.core.datasets.row.RowDataSet in project linuxtools by eclipse.
the class MockDataSet method buildDataSet.
public static RowDataSet buildDataSet(int rows, int cols) {
String[] titles = new String[cols];
int i;
for (i = 0; i < cols; i++) titles[i] = "" + i;
RowDataSet data = new RowDataSet(titles);
RowEntry entry;
int j;
for (i = 0; i < rows; i++) {
Object[] d = new Object[cols];
for (j = 0; j < cols; j++) {
d[j] = i * cols + j;
}
entry = new RowEntry();
entry.putRow(0, d);
data.append(entry);
}
return data;
}
use of org.eclipse.linuxtools.systemtap.graphing.core.datasets.row.RowDataSet in project linuxtools by eclipse.
the class ChartStreamDaemonTest method setUp.
@Before
public void setUp() {
csd = new ChartStreamDaemon(null, null);
assertNotNull(csd);
csd1 = new ChartStreamDaemon(new RowDataSet(new String[] { "a" }), new RowParser(new String[] { "\\w", "\\s" }));
assertNotNull(csd1);
}
Aggregations