diff --git a/json/tests/test/com/intellij/json/JsonIconsAstLoadingTest.kt b/json/tests/test/com/intellij/json/JsonIconsAstLoadingTest.kt index 405e1a31a784..3769fd64173a 100644 --- a/json/tests/test/com/intellij/json/JsonIconsAstLoadingTest.kt +++ b/json/tests/test/com/intellij/json/JsonIconsAstLoadingTest.kt @@ -16,6 +16,8 @@ class JsonIconsAstLoadingTest : BasePlatformTestCase() { Registry.get("ast.loading.filter").setValue(true, testRootDisposable); } + override fun isIconRequired(): Boolean = true + /** * If this test fails for your [com.intellij.ide.IconProvider] you MUST avoid loading PSI by either: * - indexing and accessing index instead from [com.intellij.ide.IconProvider]; diff --git a/plugins/yaml/testSrc/org/jetbrains/yaml/YamlIconsAstLoadingTest.kt b/plugins/yaml/testSrc/org/jetbrains/yaml/YamlIconsAstLoadingTest.kt index a8d04bec6255..fac13802d19a 100644 --- a/plugins/yaml/testSrc/org/jetbrains/yaml/YamlIconsAstLoadingTest.kt +++ b/plugins/yaml/testSrc/org/jetbrains/yaml/YamlIconsAstLoadingTest.kt @@ -16,6 +16,8 @@ class YamlIconsAstLoadingTest : BasePlatformTestCase() { Registry.get("ast.loading.filter").setValue(true, testRootDisposable); } + override fun isIconRequired(): Boolean = true + /** * If this test fails for your [com.intellij.ide.IconProvider] you MUST avoid loading PSI by either: * - indexing and accessing index instead from [com.intellij.ide.IconProvider]; diff --git a/xml/dom-tests/tests/com/intellij/util/xml/XmlIconsAstLoadingTest.kt b/xml/dom-tests/tests/com/intellij/util/xml/XmlIconsAstLoadingTest.kt index e32733b9ec15..a7fb70170343 100644 --- a/xml/dom-tests/tests/com/intellij/util/xml/XmlIconsAstLoadingTest.kt +++ b/xml/dom-tests/tests/com/intellij/util/xml/XmlIconsAstLoadingTest.kt @@ -16,6 +16,8 @@ class XmlIconsAstLoadingTest : BasePlatformTestCase() { Registry.get("ast.loading.filter").setValue(true, testRootDisposable); } + override fun isIconRequired(): Boolean = true + /** * If this test fails for your [com.intellij.ide.IconProvider] you MUST avoid loading PSI by either: * - indexing and accessing index instead from [com.intellij.ide.IconProvider];