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/TestHierarchyTab.java
else	
			children= parent.getItems();
		
		for (int i= 0; i < children.length; i++) {
			TreeItem item2= children[i];
			if (item2 == item) {
				TreeItem[] result= null;
				if (next) {
					if (!includeNode) {
						result= new TreeItem[children.length-i-1];
						System.arraycopy(children, i+1, result, 0, children.length-i-1);
					} else {
						result= new TreeItem[children.length-i];
						System.arraycopy(children, i, result, 0, children.length-i);
						
					}
				} else {
					if (!includeNode) {
						result= new TreeItem[i];
						System.arraycopy(children, 0, result, 0, i);
					} else {
						result= new TreeItem[i+1];
						System.arraycopy(children, 0, result, 0, i+1);
					}
				}
				return result;
			}	
		}
		return new TreeItem[0];
	}