Bug 127441 junit view: showing errors only takes a long time
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java
}
	
	public TreeViewer getTreeViewer() {
		return fTreeViewer;
	}
	public synchronized void setActiveSession(TestRunSession testRunSession) {
		fTestRunSession= testRunSession;
		registerAutoScrollTarget(null);
		registerViewerRefresh();
	}
	void handleDefaultSelected(MouseEvent e) {
		IStructuredSelection selection= (IStructuredSelection) fTreeViewer.getSelection();
		if (selection.size() != 1)
			return;
		TestElement testElement= (TestElement) selection.getFirstElement();
		OpenTestAction action;
		if (testElement instanceof TestSuiteElement) {
			action= new OpenTestAction(fTestRunnerPart, testElement.getTestName());
		} else if (testElement instanceof TestCaseElement){
			TestCaseElement testCase= (TestCaseElement) testElement;
			action= new OpenTestAction(fTestRunnerPart, testCase.getClassName(), testCase.getTestMethodName());
		} else {
			throw new IllegalStateException(String.valueOf(testElement));
		}
		if (action.isEnabled())
			action.run();
	}
	
	private void handleSelected() {
		IStructuredSelection selection= (IStructuredSelection) fTreeViewer.getSelection();