mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-tests] SearchEverywhereTest: mute false positives
GitOrigin-RevId: 217dec8dd3d0e30a7e666e5b3034d2b22e27d4a8
This commit is contained in:
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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user