[tests] IJPL-148944 Enable isIconRequired in tests

GitOrigin-RevId: c15b2e5e2ac70f21371cd610a666ad8d87e52053
This commit is contained in:
Yuriy Artamonov
2024-05-03 15:16:40 +02:00
committed by intellij-monorepo-bot
parent b8a85af4b0
commit a7a91506ba
3 changed files with 6 additions and 0 deletions

View File

@@ -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];

View File

@@ -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];

View File

@@ -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];