[java-tests] SearchEverywhereTest: mute false positives

GitOrigin-RevId: 217dec8dd3d0e30a7e666e5b3034d2b22e27d4a8
This commit is contained in:
Yann Cébron
2025-01-16 17:48:28 +00:00
committed by intellij-monorepo-bot
parent 6170e1d7f6
commit aa4640209b
@@ -159,6 +159,7 @@ class SearchEverywhereTest : LightJavaCodeInsightFixtureTestCase() {
var bravoResult = waitForFuture(future, SEARCH_TIMEOUT)
assert(bravoResult.filter { it in testElements } == listOf(class1, matchedAction1, class2, matchedAction2))
@Suppress("UnresolvedPluginConfigReference")
abbreviationManager.register("bravo", "ia2")
future = ui.findElementsForPattern("bravo")
bravoResult = waitForFuture(future, SEARCH_TIMEOUT)
@@ -166,6 +167,7 @@ class SearchEverywhereTest : LightJavaCodeInsightFixtureTestCase() {
}
finally {
actions.forEach { (key, _) -> actionManager.unregisterAction(key) }
@Suppress("UnresolvedPluginConfigReference")
abbreviationManager.removeAllAbbreviations("ia2")
}
}