Bug 127441 junit view: showing errors only takes a long time
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java
TestElement testElement= (TestElement) toUpdate[i];
					if (testElement instanceof TestCaseElement) {
						if (testElement.getStatus().isFailure()) {
							if (fTreeViewer.testFindItem(testElement) == null)
								fTreeViewer.add(testRoot, testElement);
							else
								fTreeViewer.update(testElement, null);
						} else {
							fTreeViewer.remove(testElement);
						}
					}
				}
			} else {
				fTreeViewer.update(toUpdate, null);
			}
		}
		autoScrollInUI();
	}
	private void autoScrollInUI() {
		if (! fTestRunnerPart.isAutoScroll()) {
			clearAutoExpand();			
			fAutoClose.clear();
			return;
		}
		
		synchronized (this) {
			for (Iterator iter= fAutoExpand.iterator(); iter.hasNext();) {
				TestSuiteElement suite= (TestSuiteElement) iter.next();
				fTreeViewer.setExpandedState(suite, true);
			}