disable 'too many suspicious ids' heuristics in tests

This commit is contained in:
peter
2012-01-19 22:08:52 +01:00
parent 829bf465e5
commit 841010b11e
@@ -844,7 +844,7 @@ public class PsiSearchHelperImpl implements PsiSearchHelper {
}
});
if (set == null || set.size() > 1000) {
if (set == null || set.size() > 1000 && !ApplicationManager.getApplication().isUnitTestMode()) {
return SearchCostResult.TOO_MANY_OCCURRENCES;
}