mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
teach more tests that find in path is multithreaded (IDEA-CR-15039)
This commit is contained in:
@@ -131,7 +131,7 @@ public class SearchInLibsTest extends PsiTestCase {
|
||||
model.setStringToFind("xxx");
|
||||
model.setProjectScope(false);
|
||||
|
||||
List<UsageInfo> usages = new ArrayList<>();
|
||||
List<UsageInfo> usages = Collections.synchronizedList(new ArrayList<>());
|
||||
CommonProcessors.CollectProcessor<UsageInfo> consumer = new CommonProcessors.CollectProcessor<>(usages);
|
||||
FindUsagesProcessPresentation presentation = FindInProjectUtil.setupProcessPresentation(getProject(), false, FindInProjectUtil.setupViewPresentation(false, model));
|
||||
FindInProjectUtil.findUsages(model, getProject(), consumer, presentation);
|
||||
|
||||
Reference in New Issue
Block a user