Examples of nextToRemoteBranches()


Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

        .getRoot().getLocation().toFile(), "test1");

    importWizard.openWizard();
    RepoPropertiesPage propertiesPage = importWizard.openRepoPropertiesPage();

    RepoRemoteBranchesPage remoteBranches = propertiesPage
        .nextToRemoteBranches(r.getUri());

    cloneRepo(destRepo, remoteBranches);
    bot.button("Cancel").click();
  }
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

  @Test
  public void clonedRepositoryShouldExistOnFileSystem() throws Exception {
    importWizard.openWizard();
    RepoPropertiesPage repoProperties = importWizard.openRepoPropertiesPage();
    RepoRemoteBranchesPage remoteBranches = repoProperties
        .nextToRemoteBranches(r.getUri());
    remoteBranches.assertRemoteBranches(SampleTestRepository.FIX, Constants.MASTER);
    WorkingCopyPage workingCopy = remoteBranches.nextToWorkingCopy();
    workingCopy.assertWorkingCopyExists();
    bot.button("Cancel").click();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

    destRepo = new File(ResourcesPlugin.getWorkspace()
        .getRoot().getLocation().toFile(), "test2");

    importWizard.openWizard();
    RepoPropertiesPage repoProperties = importWizard.openRepoPropertiesPage();
    RepoRemoteBranchesPage remoteBranches = repoProperties
        .nextToRemoteBranches(r.getUri());
    remoteBranches.deselectAllBranches();
    remoteBranches
        .assertErrorMessage("At least one branch must be selected.");
    remoteBranches.assertNextIsDisabled();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

  @Ignore
  @Test
  public void invalidHostnameFreezesDialog() throws Exception {
    importWizard.openWizard();
    RepoPropertiesPage repoProperties = importWizard.openRepoPropertiesPage();
    RepoRemoteBranchesPage remoteBranches = repoProperties
        .nextToRemoteBranches("git://no.example.com/EGIT");
    remoteBranches.assertErrorMessage(NLS.bind(
        UIText.SourceBranchPage_CompositeTransportErrorMessage,
        "Exception caught during execution of ls-remote command",
        "git://no.example.com/EGIT: unknown host"));
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

  @Ignore
  @Test
  public void invalidPortFreezesDialog() throws Exception {
    importWizard.openWizard();
    RepoPropertiesPage repoProperties = importWizard.openRepoPropertiesPage();
    RepoRemoteBranchesPage remoteBranches = repoProperties
        .nextToRemoteBranches("git://localhost:80/EGIT");
    remoteBranches.assertErrorMessage(NLS.bind(
        UIText.SourceBranchPage_CompositeTransportErrorMessage,
        "Exception caught during execution of ls-remote command",
        "git://localhost:80/EGIT: Connection refused"));
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

  // an error. Perhaps set a higher timeout for this test ?
  @Ignore
  public void timeoutToASocketFreezesDialog() throws Exception {
    importWizard.openWizard();
    RepoPropertiesPage repoProperties = importWizard.openRepoPropertiesPage();
    RepoRemoteBranchesPage remoteBranches = repoProperties
        .nextToRemoteBranches("git://www.example.com/EGIT");
    remoteBranches
        .assertErrorMessage("git://www.example.com/EGIT: unknown host");
    remoteBranches.assertCannotProceed();
    remoteBranches.cancel();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoPropertiesPage.nextToRemoteBranches()

    propertiesPage.setURI(r.getUri());
    propertiesPage.setUser("agitter");
    propertiesPage.setPassword("letmein");
    propertiesPage.setStoreInSecureStore(false);

    RepoRemoteBranchesPage remoteBranches = propertiesPage
        .nextToRemoteBranches();

    cloneRepo(destRepo, remoteBranches);
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.