RepoDescriptor site = loader.load(new URI("http://download.eclipse.org/releases/helios/"));
assertTrue(site.getModules().size() > 900);
}
public void testComposite() throws Exception {
RepoDescriptor site = loader.load(new File("test/test-p2/composite/").toURI());
assertEquals(8, site.getModules().size());
// check that the url of the artifact is correctly resolved
String path = new File("test/test-p2/ivyde-repo/").toURI().toURL().toExternalForm();
ModuleDescriptor md = (ModuleDescriptor) site.getModules().iterator().next();
assertTrue(md.getAllArtifacts()[0].getUrl().toExternalForm().startsWith(path));
}