Examples of assertSourceParams()


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

    // ..change host
    bot.textWithLabel("Host:").setText("example.com");
    propertiesPage.assertURI("ssh://user@example.com/EGIT");

    propertiesPage.assertSourceParams(null, "example.com", "/EGIT",
        "ssh", "", true, "user", "", true, true);

    // ..change user
    bot.textWithLabel("User:").setText("gitney");
    propertiesPage.assertURI("ssh://gitney@example.com/EGIT");
View Full Code Here

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

        "ssh", "", true, "user", "", true, true);

    // ..change user
    bot.textWithLabel("User:").setText("gitney");
    propertiesPage.assertURI("ssh://gitney@example.com/EGIT");
    propertiesPage.assertSourceParams(null, "example.com", "/EGIT",
        "ssh", "", true, "gitney", "", true, true);

    // ..change password
    bot.textWithLabel("Password:").setText("fsck");
    // Password is not written into the URL here!
View Full Code Here

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

    // ..change password
    bot.textWithLabel("Password:").setText("fsck");
    // Password is not written into the URL here!
    propertiesPage.assertURI("ssh://gitney@example.com/EGIT");
    propertiesPage.assertSourceParams(null, "example.com", "/EGIT",
        "ssh", "", true, "gitney", "fsck", true, true);

    // change port number
    bot.textWithLabel("Port:").setText("99");
    propertiesPage.assertURI("ssh://gitney@example.com:99/EGIT");
View Full Code Here

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

        "ssh", "", true, "gitney", "fsck", true, true);

    // change port number
    bot.textWithLabel("Port:").setText("99");
    propertiesPage.assertURI("ssh://gitney@example.com:99/EGIT");
    propertiesPage.assertSourceParams(null, "example.com", "/EGIT",
        "ssh", "99", true, "gitney", "fsck", true, true);

    // change protocol to another with user/password capability
    bot.comboBoxWithLabel("Protocol:").setSelection("ftp");
    propertiesPage.assertURI("ftp://gitney@example.com:99/EGIT");
View Full Code Here

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

        "ssh", "99", true, "gitney", "fsck", true, true);

    // change protocol to another with user/password capability
    bot.comboBoxWithLabel("Protocol:").setSelection("ftp");
    propertiesPage.assertURI("ftp://gitney@example.com:99/EGIT");
    propertiesPage.assertSourceParams(null, "example.com", "/EGIT", "ftp",
        "99", true, "gitney", "fsck", true, true);

    // change protocol to one without user/password capability
    bot.comboBoxWithLabel("Protocol:").setSelection("git");
    propertiesPage.assertURI("git://example.com:99/EGIT");
View Full Code Here

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

        "99", true, "gitney", "fsck", true, true);

    // change protocol to one without user/password capability
    bot.comboBoxWithLabel("Protocol:").setSelection("git");
    propertiesPage.assertURI("git://example.com:99/EGIT");
    propertiesPage.assertSourceParams(null, "example.com", "/EGIT",
        "git", "99", true, "", "", false, false);

    // change protocol to one without host capability
    bot.comboBoxWithLabel("Protocol:").setSelection("file");
    propertiesPage.assertURI("file:///EGIT");
View Full Code Here

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

        "git", "99", true, "", "", false, false);

    // change protocol to one without host capability
    bot.comboBoxWithLabel("Protocol:").setSelection("file");
    propertiesPage.assertURI("file:///EGIT");
    propertiesPage.assertSourceParams(" /EGIT does not exist.", "",
        "/EGIT",
        "file", "", false,
        "", "", false, false);

    // Local protocol with file: prefix. We need to make sure the
View Full Code Here

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

    // that one should exist.
    if (Platform.getOS().equals(Platform.OS_WIN32))
      propertiesPage.setURI("file:///" + System.getProperty("user.home"));
    else
      propertiesPage.setURI("file://" + System.getProperty("user.home"));
    propertiesPage.assertSourceParams(null, "", System.getProperty(
        "user.home"), "file", "", false, "", "",
        false, false);

    // Local protocol without file: prefix
    propertiesPage.setURI(System.getProperty("user.home"));
View Full Code Here

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

        "user.home"), "file", "", false, "", "",
        false, false);

    // Local protocol without file: prefix
    propertiesPage.setURI(System.getProperty("user.home"));
    propertiesPage.assertSourceParams(null, "", System.getProperty(
        "user.home"), "file", "", false, "", "",
        false, false);

    // On windows the use can choose forward or backward slashes, so add
    // a case for forward slashes using the non prefixed local protocol.
View Full Code Here

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

    // On windows the use can choose forward or backward slashes, so add
    // a case for forward slashes using the non prefixed local protocol.
    if (Platform.getOS().equals(Platform.OS_WIN32)) {
      propertiesPage.setURI(System.getProperty("user.home"));
      propertiesPage.assertSourceParams(null, "", System.getProperty(
          "user.home"), "file", "", false, "", "",
          false, false);
    }
    bot.button("Cancel").click();
  }
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.