Author: adietish
Date: 2012-01-17 10:50:18 -0500 (Tue, 17 Jan 2012)
New Revision: 37900
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:45:40 UTC (rev 37899)
+++
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java 2012-01-17
15:50:18 UTC (rev 37900)
@@ -169,11 +169,8 @@
StoredConfig config = repository.getConfig();
Set<String> subsections =
config.getSubsections(ConfigConstants.CONFIG_REMOTE_SECTION);
- assertEquals(1, subsections.size()); // origin and redhat
+ assertEquals(1, subsections.size());
assertTrue(subsections.contains(remoteName));
assertEquals(gitUri, config.getString(ConfigConstants.CONFIG_REMOTE_SECTION,
remoteName, ConfigConstants.CONFIG_KEY_URL));
}
-
-
-
}
Show replies by date