Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
try {
JsTestDriverView view = (JsTestDriverView) page.showView(JsTestDriverView.ID);
TestResultsPanel panel = view.getTestResultsPanel();
panel.addTestResults(Lists.newArrayList(testResult));
} catch (PartInitException e) {
logger.log(Level.SEVERE, "", e);
}
}