report = ivy.resolve(url, option);
assertFalse(report.hasError());
// ensure that we hit only the cache and never try to hit in the repository
FileSystemResolver resolver = (FileSystemResolver) ivy.getSettings().getResolver("1");
resolver.setRepository(new AbstractRepository() {
public List list(String parent) throws IOException {
throw new UnsupportedOperationException();
}
public Resource getResource(String source) throws IOException {