Bug 127438 junit view: fast view icon shows "completed" state when view is shown
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
return fSuiteRunningIconDescriptor;
			else if (status == TestElement.Status.OK)
				return fSuiteOkIconDescriptor;
			else if (status == TestElement.Status.ERROR)
				return fSuiteErrorIconDescriptor;
			else if (status == TestElement.Status.FAILURE)
				return fSuiteFailIconDescriptor;
			else
				throw new IllegalStateException(element.toString());
		}
		public String getText(Object element) {
			TestRunSession session= (TestRunSession) element;
			if (session.getStartTime() == 0)
				return session.getTestRunName();
			else
				return session.getTestRunName() + " (" + DateFormat.getDateTimeInstance().format(new Date(session.getStartTime())) + ")";
		}
		public String getMaxEntriesMessage() {
			return "&Maximum count of remembered test runs:";
		}
		public int getMaxEntries() {
			IPreferenceStore store= JUnitPlugin.getDefault().getPreferenceStore();
			return store.getInt(JUnitPreferencesConstants.MAX_TEST_RUNS);
		}
		public void setMaxEntries(int maxEntries) {
			IPreferenceStore store= JUnitPlugin.getDefault().getPreferenceStore();
			store.setValue(JUnitPreferencesConstants.MAX_TEST_RUNS, maxEntries);
		}
	}
	private class TestRunSessionListener implements ITestRunSessionListener {