mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[goto] use fixing layout matching as a fallback only
GitOrigin-RevId: 1a90804fb40b0dc8b45ae6f57500ee916a61aafe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ebd2c6e385
commit
7d537ed371
@@ -13,6 +13,7 @@ import com.intellij.java.navigation.ChooseByNameTest
|
||||
import com.intellij.openapi.actionSystem.*
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.editor.Editor
|
||||
import com.intellij.openapi.project.DumbAwareAction
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.Computable
|
||||
import com.intellij.testFramework.PlatformTestUtil
|
||||
@@ -97,6 +98,11 @@ class GotoActionTest extends LightJavaCodeInsightFixtureTestCase {
|
||||
def action = ActionManager.instance.getAction("InvalidateCaches")
|
||||
assert actionMatches('штм', action) == MatchMode.NAME
|
||||
assert actionMatches('штм сфср', action) == MatchMode.NAME
|
||||
assert actionMatches('привет мир', new DumbAwareAction("привет, мир") {
|
||||
@Override
|
||||
void actionPerformed(@NotNull AnActionEvent e) {
|
||||
}
|
||||
}) == MatchMode.NAME
|
||||
}
|
||||
|
||||
void "test CamelCase text in action names"() {
|
||||
|
||||
Reference in New Issue
Block a user