void (List<VirtualFile> roots) { VirtualFile first = tempDirectory.newVirtualDirectory("first/"); VirtualFile second = tempDirectory.newVirtualDirectory("second/"); assertNothingToRescan(); roots.add(first); assertRescanningIndexableSets(ThreeState.NO, first); assertRescanningIndexableSets(UNSURE, first); roots.add(second); assertRescanningIndexableSets(UNSURE, first, second); assertRescanningIndexableSets(ThreeState.NO, second); assertRescanningIndexableSets(UNSURE, first, second); roots.clear(); assertNothingToRescan(); }