mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-197098 Affected Tests: IndexNotReadyException
honor dumb mode
This commit is contained in:
+1
@@ -264,6 +264,7 @@ public class ShowDiscoveredTestsAction extends AnAction {
|
||||
@NotNull PsiMethod[] methods,
|
||||
@NotNull TestDiscoveryProducer.PsiTestProcessor consumer,
|
||||
@Nullable Runnable doWhenDone) {
|
||||
if (DumbService.isDumb(project)) return;
|
||||
ApplicationManager.getApplication().executeOnPooledThread(() -> {
|
||||
processMethodsInner(project, methods, consumer);
|
||||
if (doWhenDone != null) {
|
||||
|
||||
Reference in New Issue
Block a user