diff options
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java index ed9ed0f257..5479fdfe8e 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java @@ -312,4 +312,16 @@ public class GitCloneWizardTest extends GitCloneWizardTestBase { bot.button("Cancel").click(); } + @Test + public void gitStyleUriSelectsSshProtocol() throws Exception { + importWizard.openWizard(); + + RepoPropertiesPage propertiesPage = importWizard + .openRepoPropertiesPage(); + + propertiesPage.setURI("git@github.com:someone/somerepo.git"); + propertiesPage.assertSourceParams(null, "github.com", + "someone/somerepo.git", "ssh", "", true, "git", "", true, + true); + } } |