mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 15:06:56 +07:00
[java] Completion autopopup: add test with property key
KTIJ-27448 GitOrigin-RevId: f13c85fdab506a12756f200c7f6bb626f684063b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d4fe2ef603
commit
dfc29a78b7
@@ -1849,4 +1849,20 @@ ita<caret>
|
||||
}
|
||||
}
|
||||
|
||||
void "test show popup when completing property key"() {
|
||||
myFixture.createFile('PropertyKey.properties', 'foo.bar = 1')
|
||||
myFixture.configureByText 'a.java', """
|
||||
import org.jetbrains.annotations.PropertyKey;
|
||||
|
||||
public class Foo {
|
||||
public static void message(@PropertyKey(resourceBundle = "PropertyKey") String key) {}
|
||||
|
||||
void test() {
|
||||
message("fo<caret>");
|
||||
}
|
||||
}
|
||||
"""
|
||||
type 'o'
|
||||
assert lookup
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user