Examples of assertSourceParams()


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

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

    propertiesPage.setURI("git://www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT", "git",
        "", true, "", "", false, false);

    propertiesPage.appendToURI("X");

    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGITX",
View Full Code Here

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

    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT", "git",
        "", true, "", "", false, false);

    propertiesPage.appendToURI("X");

    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGITX",
        "git", "", true, "", "", false, false);

    propertiesPage.setURI("git://www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT", "git",
        "", true, "", "", false, false);
View Full Code Here

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

    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGITX",
        "git", "", true, "", "", false, false);

    propertiesPage.setURI("git://www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT", "git",
        "", true, "", "", false, false);

    propertiesPage.setURI("git://user:hi@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(
        " User not supported on git protocol.", "www.jgit.org",
View Full Code Here

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

    propertiesPage.setURI("git://www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT", "git",
        "", true, "", "", false, false);

    propertiesPage.setURI("git://user:hi@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(
        " User not supported on git protocol.", "www.jgit.org",
        "/EGIT", "git", "", true, "", "", false, false);

    // UI doesn't change URI even when password is entered in clear text as
    // part of URI. Opinions on this may vary.
View Full Code Here

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

    // UI doesn't change URI even when password is entered in clear text as
    // part of URI. Opinions on this may vary.
    propertiesPage.assertURI("git://user:hi@www.jgit.org/EGIT");

    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "", true, "user", "", true, true);

    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "", true, "user", "", true, true);
View Full Code Here

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

    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "", true, "user", "", true, true);

    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "", true, "user", "", true, true);

    propertiesPage.setURI("ssh://user:hi@www.jgit.org:33/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "33", true, "user", "hi", true, true);
View Full Code Here

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

    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "", true, "user", "", true, true);

    propertiesPage.setURI("ssh://user:hi@www.jgit.org:33/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "33", true, "user", "hi", true, true);

    propertiesPage.setURI("ssh:///EGIT");
    propertiesPage.assertSourceParams(" Host required for ssh protocol.",
        "", "/EGIT", "ssh", "", true, "", "", true, true);
View Full Code Here

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

    propertiesPage.setURI("ssh://user:hi@www.jgit.org:33/EGIT");
    propertiesPage.assertSourceParams(null, "www.jgit.org", "/EGIT",
        "ssh", "33", true, "user", "hi", true, true);

    propertiesPage.setURI("ssh:///EGIT");
    propertiesPage.assertSourceParams(" Host required for ssh protocol.",
        "", "/EGIT", "ssh", "", true, "", "", true, true);

    propertiesPage.setURI("file:///some/place");
    if (Platform.getOS().equals(Platform.OS_WIN32))
      propertiesPage.assertSourceParams(" "
View Full Code Here

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

    propertiesPage.assertSourceParams(" Host required for ssh protocol.",
        "", "/EGIT", "ssh", "", true, "", "", true, true);

    propertiesPage.setURI("file:///some/place");
    if (Platform.getOS().equals(Platform.OS_WIN32))
      propertiesPage.assertSourceParams(" "
          + System.getProperty("user.dir")
          + "\\.\\some\\place does not exist.", "", "/some/place",
          "file", "", false, "", "", false, false);
    else
      propertiesPage.assertSourceParams(" /some/place does not exist.",
View Full Code Here

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

      propertiesPage.assertSourceParams(" "
          + System.getProperty("user.dir")
          + "\\.\\some\\place does not exist.", "", "/some/place",
          "file", "", false, "", "", false, false);
    else
      propertiesPage.assertSourceParams(" /some/place does not exist.",
          "", "/some/place", "file", "", false, "", "", false, false);

    // Now try changing some fields other than URI and see how the URI field
    // gets changed
    propertiesPage.setURI("ssh://user@www.jgit.org/EGIT");
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.