}
- public void updateInfo(int numTests, int numTestsRun, int numFailures, int numErrors) {
-
- //update progress bar
- progressBar.setMaximum(numTests);
- progressBar.setSelection(numTestsRun);
-
-
- //update labels
- labelRunsVal.setText(numTestsRun + " / " + numTests);
- labelFailuresVal.setText("" + numFailures);
- labelErrorsVal.setText("" + numErrors);
-
- //TODO: change Failures label to red if some exist.
-
-
-
- }
-
-
public void updateInfo(TestPool testPool) {
int numTestsOverall = testPool.getNumTestsOverall();