Author: adietish
Date: 2012-01-17 10:45:40 -0500 (Tue, 17 Jan 2012)
New Revision: 37899
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java
Log:
[JBIDE-10479] added test for EGitUtils#addRemoteTo
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java
===================================================================
---
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java 2012-01-17
15:43:37 UTC (rev 37898)
+++
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java 2012-01-17
15:45:40 UTC (rev 37899)
@@ -16,7 +16,6 @@
import org.eclipse.jgit.lib.ConfigConstants;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.StoredConfig;
-import org.eclipse.jgit.transport.URIish;
import org.jboss.tools.openshift.egit.core.EGitUtils;
import org.jboss.tools.openshift.egit.internal.test.util.TestProject;
import org.jboss.tools.openshift.egit.internal.test.util.TestRepository;
@@ -165,7 +164,7 @@
public void canAddRemoteRepo() throws Exception {
Repository repository = testRepository.getRepository();
String remoteName = "redhat";
- String gitUri = "http://www.redhat.com";
+ String gitUri = "www.redhat.com";
EGitUtils.addRemoteTo(remoteName, gitUri, repository);
StoredConfig config = repository.getConfig();
Show replies by date