From 4c4c556d3c072cc8940044c0dd2fc1d08bcf271b Mon Sep 17 00:00:00 2001 From: Elena Shaverdova Date: Wed, 20 Mar 2024 19:10:44 +0100 Subject: [PATCH] Update reference in documentation GitOrigin-RevId: 14037f2f2e859cb8e5195c084a91b3d62f238874 --- .../intellij/testFramework/TestIndexingModeSupporter.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/testFramework/src/com/intellij/testFramework/TestIndexingModeSupporter.java b/platform/testFramework/src/com/intellij/testFramework/TestIndexingModeSupporter.java index 8ff4568dd0e7..f672e71568fe 100644 --- a/platform/testFramework/src/com/intellij/testFramework/TestIndexingModeSupporter.java +++ b/platform/testFramework/src/com/intellij/testFramework/TestIndexingModeSupporter.java @@ -25,7 +25,7 @@ import static junit.framework.TestSuite.warning; * To run a test with needed {@link IndexingMode}, it's enough to make getIndexingMode return it and run the test with IDE's gutter action. * To run all dumb mode completion tests, check JavaDoc of * {@link com.intellij.java.codeInsight.completion.JavaCompletionTestSuite} or - * {@link com.jetbrains.php.slowTests.PhpDumbCompletionTestSuite} + * {@link com.jetbrains.php.PhpDumbCompletionTest} */ public interface TestIndexingModeSupporter { enum IndexingMode { @@ -225,7 +225,7 @@ public interface TestIndexingModeSupporter { * with path of buildAgent directory in TeamCity installation. To get it unpack TeamCity archive and start TeamCity with * {@code ./bin/runAll.sh start} *

- * Also these properties may be useful for debugging of tests, making them wait for remote debug connection: + * Also, these properties may be useful for debugging of tests, making them wait for remote debug connection: * {@code * -Dintellij.build.test.debug.port= * -Dintellij.build.test.debug.suspend=true @@ -281,6 +281,7 @@ public interface TestIndexingModeSupporter { @Override public boolean shouldIgnore(@NotNull AnnotatedElement aClass) { + //noinspection UnnecessarilyQualifiedStaticUsage return IndexingModeTestHandler.shouldIgnoreInFullIndexSuite(aClass); } } @@ -293,6 +294,7 @@ public interface TestIndexingModeSupporter { @Override public boolean shouldIgnore(@NotNull AnnotatedElement aClass) { + //noinspection UnnecessarilyQualifiedStaticUsage return IndexingModeTestHandler.shouldIgnoreInRuntimeOnlyIndexSuite(aClass); } } @@ -305,6 +307,7 @@ public interface TestIndexingModeSupporter { @Override public boolean shouldIgnore(@NotNull AnnotatedElement aClass) { + //noinspection UnnecessarilyQualifiedStaticUsage return IndexingModeTestHandler.shouldIgnoreInEmptyIndexSuite(aClass); } }