Bug 50097 [junit] Cannot rerun test case (but can rerun test method)
It is very nice that one can right-click "Rerun" a test method. I have a test suite with many test case classes. I want to be able to right-click rerun on a test case class and rerun it. Version 3.0.m6.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/HierarchyRunView.java
TreeItem parent= treeItem.getParentItem();
		if (fLastParent != parent) {
			updatePath(parent);
			fLastParent= parent;
		}
		setCurrentItem(treeItem);		
	}
	private void updatePath(TreeItem parent) {
		List newPath= new ArrayList();
		while (parent != null) {
			newPath.add(parent);
			parent= parent.getParentItem();
		}
		Collections.reverse(newPath);
		
		
		ListIterator old= fExecutionPath.listIterator();
		ListIterator np= newPath.listIterator();
		int c= 0;
		while (old.hasNext() && np.hasNext()) {
			if (old.next() != np.next())
				break;
			c++;
		}
		
		for (ListIterator iter= fExecutionPath.listIterator(c); iter.hasNext(); ) 
			refreshItem((TreeItem) iter.next(), false);		
		
		for (ListIterator iter= newPath.listIterator(c); iter.hasNext(); ) 
			refreshItem((TreeItem) iter.next(), true);