FileUtil.forceDelete(_cache);
}
// Test case for issue IVY-388
public void testIvy388() throws Exception {
ResolveReport report = ivy.resolve(
LatestConflictManagerTest.class.getResource("ivy-388.xml"), getResolveOptions());
List deps = report.getDependencies();
Iterator dependencies = deps.iterator();
String[] confs = report.getConfigurations();
while (dependencies.hasNext()) {
IvyNode node = (IvyNode) dependencies.next();
for (int i = 0; i < confs.length; i++) {
String conf = confs[i];
if (!node.isEvicted(conf)) {
boolean flag1 = report.getConfigurationReport(conf).getDependency(
node.getResolvedId()) != null;
boolean flag2 = report.getConfigurationReport(conf).getModuleRevisionIds()
.contains(node.getResolvedId());
assertEquals("Inconsistent data for node " + node + " in conf " + conf, flag1,
flag2);
}
}