Bug 17916 junit: progress max-filled when test still running
F1 the icon-progress is fully filled while test are still running (in my case, it was filled at ca. 1100 out of 1300 tests) what happens if the last test fails? (is the last 'brick' repainted?)
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/ProgressImages.java
if (fMissingImage != null)
			fMissingImage.dispose();	
				
		for (int i= 0; i < PROGRESS_STEPS; i++) {
			fOKImages[i].dispose();
			fOKImages[i]= null;
			fFailureImages[i].dispose();
			fFailureImages[i]= null;
		}
	}
	
	public Image getImage(int current, int total, int errors, int failures) {
		if (!isLoaded())
			load();
			
		if (total == 0)
			return fOKImages[0];
		int index= (current*PROGRESS_STEPS)/total;
		index= Math.min(Math.max(0, index), PROGRESS_STEPS-1);
		if (errors + failures == 0)
			return fOKImages[index];
		return fFailureImages[index];
	}
	
	boolean isLoaded() {
		return fOKImages[0] != null;
	}	
}