コード例 #1
0
 private void simulateUpdates(List<File> files, List<ClassFileIndex> indexes) {
   int filesChanges = 0;
   for (ClassFileIndex each : indexes) {
     Set<JavaClass> classes = each.findClasses(files.subList(0, filesChanges++ % 10));
     each.findChangedParents(classes);
     print(".");
   }
 }
コード例 #2
0
 private ClassFileIndex simulateNewProject() {
   ClassFileIndex index = new ClassFileIndex(fakeClasspath());
   index.findClasses(files);
   return index;
 }