Package com.google.eclipse.javascript.jstestdriver.ui.view

Examples of com.google.eclipse.javascript.jstestdriver.ui.view.JsTestDriverView


  @Override
  public void run() {
    IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
    try {
      JsTestDriverView view = (JsTestDriverView) page.showView(JsTestDriverView.ID);
      TestResultsPanel panel = view.getTestResultsPanel();
      panel.setupForNextTestRun(configuration);
      panel.addNumberOfTests(testsNumber);
    } catch (CoreException e) {
      logger.log(Level.SEVERE, "", e);
    }
View Full Code Here


    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);
        }
      }
View Full Code Here

TOP

Related Classes of com.google.eclipse.javascript.jstestdriver.ui.view.JsTestDriverView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.