protected void tearDown() throws Exception {
CacheCleaner.deleteDir(cache);
}
public void testIvyDE() throws IOException, ParseException, SAXException, URISyntaxException {
RepoDescriptor site = loader.load(new URI(
"http://www.apache.org/dist/ant/ivyde/updatesite/"));
assertTrue(site.getModules().hasNext());
for (Iterator it = site.getModules(); it.hasNext();) {
ModuleDescriptor md = ((ModuleDescriptorWrapper) it.next()).getModuleDescriptor();
String name = md.getModuleRevisionId().getName();
assertTrue(name, name.startsWith("org.apache.ivy"));
}
}