junit test fix caused by ivyde release (merged from trunk)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/branches/2.3.x@1311150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maarten Coene 2012-04-09 07:16:40 +00:00
parent 67c0b1cb6a
commit 4e878fb710
1 changed files with 6 additions and 1 deletions

View File

@ -55,7 +55,12 @@ public class UpdateSiteLoaderTest extends TestCase {
public void testIvyDE() throws IOException, ParseException, SAXException, URISyntaxException {
RepoDescriptor site = loader.load(new URI(
"http://www.apache.org/dist/ant/ivyde/updatesite/"));
assertEquals(13, site.getModules().size());
assertFalse(site.getModules().isEmpty());
for (Iterator it = site.getModules().iterator(); it.hasNext(); ) {
ModuleDescriptor md = (ModuleDescriptor) it.next();
String name = md.getModuleRevisionId().getName();
assertTrue(name, name.startsWith("org.apache.ivy"));
}
}
public void testM2Eclipse() throws IOException, ParseException, SAXException,