Bug 127441 junit view: showing errors only takes a long time
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java
return null;
	}
	public synchronized void registerViewerRefresh() {
		fNeedRefresh= true;
		fNeedUpdate.clear();
		fAutoClose.clear();
		clearAutoExpand();
	}
	
	public synchronized void registerViewerUpdate(final TestElement testElement) {
		
		TestElement element= testElement;
		do {
			fNeedUpdate.add(element);
			element= element.getParent();
		} while (element != null);
	}
	public synchronized void clearAutoExpand() {
		fAutoExpand.clear();
	}
	
	public void registerAutoScrollTarget(TestCaseElement testCaseElement) {
		fAutoScrollTarget= testCaseElement;
	}
	public synchronized void registerFailedForAutoScroll(TestCaseElement testCaseElement) {
		fAutoExpand.add(fTestSessionContentProvider.getParent(testCaseElement));
	}
}