Package org.eclipse.egit.ui.test

Examples of org.eclipse.egit.ui.test.Eclipse


  }

  @After
  public void resetWorkspace() throws Exception {
    // close all editors/dialogs
    new Eclipse().reset();
    // cleanup
    for (IProject project : ResourcesPlugin.getWorkspace().getRoot()
        .getProjects())
      project.delete(false, false, null);
    shutDownRepositories();
View Full Code Here


    for (File f : d)
      if (f.exists())
        FileUtils.delete(f, FileUtils.RECURSIVE);
    ResourcesPlugin.getWorkspace().getRoot().refreshLocal(
        IResource.DEPTH_INFINITE, null);
    new Eclipse().reset();
  }
View Full Code Here

    }
  }

  @After
  public void resetWorkbench() {
    new Eclipse().reset();
  }
View Full Code Here

    config.save();
    getGitConfigurationPreferencePage();
  }

  private void getGitConfigurationPreferencePage() {
    preferencePage = new Eclipse().openPreferencePage(preferencePage);
    SWTBotTreeItem team = preferencePage.bot().tree().getTreeItem("Team");
    team.expand()
        .getNode(util.getPluginLocalizedValue("GitPreferences_name"))
        .expand()
        .getNode(util.getPluginLocalizedValue("ConfigurationPage.name"))
View Full Code Here

  }

  @AfterClass
  public static void afterTest() throws Exception {
    // reset saved preferences state
    SWTBotShell preferencePage = new Eclipse().openPreferencePage(null);
    preferencePage.bot().tree(0).getTreeItem("General").select();
    preferencePage.bot().button(IDialogConstants.OK_LABEL).click();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.test.Eclipse

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.