String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.finish", elapsedTimeAsString(elapsedTime)); postInfo(msg);
String[] keys= {elapsedTimeAsString(elapsedTime), String.valueOf(fErrors), String.valueOf(fFailures)}; String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.finish", keys); if (hasErrorsOrFailures()) postError(msg); else postInfo(msg);
	public void testRunEnded(long elapsedTime){		fExecutedTests--;		String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.finish", elapsedTimeAsString(elapsedTime)); //$NON-NLS-1$		postInfo(msg);		postAsyncRunnable(new Runnable() {							public void run() {				if(isDisposed()) 					return;					if (fFirstFailure != null) {					fActiveRunView.setSelectedTest(fFirstFailure.fTestName);					handleTestSelected(fFirstFailure.fTestName);				}				updateViewIcon();				if (fDirtyListener == null) {					fDirtyListener= new DirtyListener();					JavaCore.addElementChangedListener(fDirtyListener);				}			}		});		}