mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
fix geget problem when a completion restarts which has shown a lookup
This commit is contained in:
@@ -700,6 +700,22 @@ class Foo {
|
||||
assert !lookup
|
||||
}
|
||||
|
||||
public void testAutoRestartAndTypingDuringCopyCommit() {
|
||||
registerLongCompletionContributor()
|
||||
|
||||
myFixture.configureByText("a.java", """ class Foo { { int iteraaa; <caret> } } """)
|
||||
type 'ite'
|
||||
assert !('iter' in myFixture.lookupElementStrings)
|
||||
myFixture.type 'r'
|
||||
joinCommit()
|
||||
myFixture.type 'a'
|
||||
joinAutopopup()
|
||||
joinCompletion()
|
||||
myFixture.type '\n'
|
||||
myFixture.checkResult(" class Foo { { int iteraaa; iteraaa<caret> } } ")
|
||||
assert !lookup
|
||||
}
|
||||
|
||||
private void joinSomething(int degree) {
|
||||
if (degree == 0) return
|
||||
joinAlarm()
|
||||
|
||||
Reference in New Issue
Block a user