Bug 79660 Rerunning single test with keepalive: no indication when test run has finished [JUnit]
I200411240800 I launch tests in debug mode with 'Keep JUnit running ...' enabled. When rerunning single tests (test's context menu > Run), there's no indication when the test run has finished. If the test produces a different result than the last time, the user can maybe spot a change in the failure trace pane - otherwise, there's no sure way to tell whether the test has finished (apart from looking at the CPU load ;-). I would expect this: - view title becomes italic during the test run, and upright after end of run - view's ContentDescription changes to $test_name$ and then to "Finished after $not_so_many$ seconds"
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
}
	public void rerunTestFailedFirst() {
		if (lastLaunchIsKeptAlive()) {
			
			if (MessageDialog.openQuestion(getSite().getShell(), JUnitMessages.TestRunnerViewPart_terminate_title, JUnitMessages.TestRunnerViewPart_terminate_message)) {  
				if (fTestRunnerClient != null)
					fTestRunnerClient.stopTest();
			}
		}
		if (fLastLaunch != null && fLastLaunch.getLaunchConfiguration() != null) {
				ILaunchConfiguration launchConfiguration= fLastLaunch.getLaunchConfiguration();
				if (launchConfiguration != null) {
					try {
						String name= JUnitMessages.TestRunnerViewPart_rerunLaunchConfigName; 
						String configName= Messages.format(JUnitMessages.TestRunnerViewPart_configName, name); 
						ILaunchConfigurationWorkingCopy tmp= launchConfiguration.copy(configName); 
						tmp.setAttribute(JUnitBaseLaunchConfiguration.FAILURES_FILENAME_ATTR, createFailureNamesFile());
						tmp.launch(fLastLaunch.getLaunchMode(), null);	
						return;	
					} catch (CoreException e) {
						ErrorDialog.openError(getSite().getShell(), 
							JUnitMessages.TestRunnerViewPart_error_cannotrerun, e.getMessage(), e.getStatus() 
						);
					}
				}
				MessageDialog.openInformation(getSite().getShell(), 
					JUnitMessages.TestRunnerViewPart_cannotrerun_title,  
					JUnitMessages.TestRunnerViewPart_cannotrerurn_message
				); 
		}