Examples of assertErrorMessage()


Examples of org.eclipse.egit.ui.common.RepoRemoteBranchesPage.assertErrorMessage()

    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();

    remoteBranches.selectBranches(SampleTestRepository.FIX);
    remoteBranches.assertNextIsEnabled();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoRemoteBranchesPage.assertErrorMessage()

  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"));
    remoteBranches.assertCannotProceed();
    remoteBranches.cancel();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoRemoteBranchesPage.assertErrorMessage()

  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"));
    remoteBranches.assertCannotProceed();
    remoteBranches.cancel();
View Full Code Here

Examples of org.eclipse.egit.ui.common.RepoRemoteBranchesPage.assertErrorMessage()

  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
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.