delete outdated Pass.WHOLE_FILE_LOCAL_INSPECTIONS

GitOrigin-RevId: 6a09bff0c8464359da1ea891cfec76ad4a04216b
This commit is contained in:
Max Medvedev
2024-08-06 19:21:37 +02:00
committed by intellij-monorepo-bot
parent d688db983b
commit 84186d3117
7 changed files with 8 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight.daemon;
import com.intellij.codeHighlighting.Pass;
@@ -306,7 +306,6 @@ public abstract class DaemonAnalyzerTestCase extends JavaCodeInsightTestCase {
toIgnore.add(Pass.LINE_MARKERS);
toIgnore.add(Pass.SLOW_LINE_MARKERS);
toIgnore.add(Pass.LOCAL_INSPECTIONS);
toIgnore.add(Pass.WHOLE_FILE_LOCAL_INSPECTIONS);
toIgnore.add(Pass.POPUP_HINTS);
toIgnore.add(Pass.UPDATE_ALL);
}

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight.daemon;
import com.intellij.codeHighlighting.Pass;
@@ -134,7 +134,6 @@ public abstract class LightDaemonAnalyzerTestCase extends LightJavaCodeInsightTe
}
if (!doInspections()) {
toIgnoreList.add(Pass.LOCAL_INSPECTIONS);
toIgnoreList.add(Pass.WHOLE_FILE_LOCAL_INSPECTIONS);
}
int[] toIgnore = toIgnoreList.isEmpty() ? ArrayUtilRt.EMPTY_INT_ARRAY : toIgnoreList.toIntArray();
Editor editor = getEditor();