}
}
@Override
public Object getValueAt(int row, int col) {
Run run = runs.get(row);
if (col == 0) {
Calendar cal = new GregorianCalendar();
cal.setTime(run.getRunDate());
int d = cal.get(Calendar.DAY_OF_MONTH);
int m = cal.get(Calendar.MONTH) + 1;
int y = cal.get(Calendar.YEAR);
int h = cal.get(Calendar.HOUR_OF_DAY);
int min = cal.get(Calendar.MINUTE);
int s = cal.get(Calendar.SECOND);
StringBuffer sb = new StringBuffer();
sb.append(m > 9 ? (m + "/") : ("0" + m + "/"));
sb.append(d > 9 ? (d + "/") : ("0" + d + "/"));
sb.append("0" + (y - 2000) + " ");
sb.append(h > 9 ? h : ("0" + h));
sb.append(":");
sb.append(min > 9 ? min : ("0" + min));
sb.append(":");
sb.append(s > 9 ? s : ("0" + s));
return sb.toString();
} else if (col == 1) {
return "" + run.getClassMethods().size();
} else if (col == 2) {
return "" + run.getResult().getRunCount();
} else if (col == 3) {
return ""
+ (run.getResult().getRunCount() - run.getResult()
.getFailureCount());
} else if (col == 4) {
return "" + run.getResult().getFailureCount();
} else if (col == 5) {
// logger.info("row: " + row);
// logger.info("selectedRuns.length: " + selectedRuns.length);
return selectedRuns[row];
} else