refString);
}
@Test
public void testScmUriWithPathAndTag() throws Exception {
ScmUrlImportDescription description = new ScmUrlImportDescription(
"scm:git:git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git;path=\"bundles/org.eclipse.jface\";tag=v20111107-2125",
null);
URI uri = description.getUri();
GitURI gitUri = new GitURI(uri);
assertEquals("bundles/org.eclipse.jface", gitUri.getPath().toString());
URIish uriish = new URIish(
"git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git");
assertEquals(uriish, gitUri.getRepository());