mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-578 wait for indexes to be ready in tests (InspectionTestUtil.runTool)
GitOrigin-RevId: f76f660cfe891e25417f2212a6d1d0659422950b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c6e28ee33f
commit
96e89c2bef
@@ -163,6 +163,7 @@ public final class InspectionTestUtil {
|
||||
public static void runTool(@NotNull InspectionToolWrapper<?,?> toolWrapper,
|
||||
@NotNull final AnalysisScope scope,
|
||||
@NotNull final GlobalInspectionContextForTests globalContext) {
|
||||
IndexingTestUtil.waitUntilIndexesAreReady(scope.getProject());
|
||||
final String shortName = toolWrapper.getShortName();
|
||||
final HighlightDisplayKey key = HighlightDisplayKey.find(shortName);
|
||||
if (key == null){
|
||||
|
||||
Reference in New Issue
Block a user