mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJ-CR-155178 [java-import] IDEA-367539 auto-import. try to show packages
- improve test GitOrigin-RevId: d9d6ceceb421722fb72268b5db6031cd1471b1d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
119cb661cd
commit
691581972e
+3
-1
@@ -1,8 +1,10 @@
|
||||
package org;
|
||||
|
||||
import static org.example.Foo.bar;
|
||||
|
||||
class ClassTest {
|
||||
|
||||
void m() {
|
||||
ba<caret>
|
||||
bar();<caret>
|
||||
}
|
||||
}
|
||||
+1
@@ -359,6 +359,7 @@ public class AutoStaticImportCompletionTest extends NormalCompletionTestCase {
|
||||
LookupElementPresentation presentation = new LookupElementPresentation();
|
||||
element.renderElement(presentation);
|
||||
assertTrue(presentation.getTailText().contains("org.example"));
|
||||
selectItem(element);
|
||||
}
|
||||
checkResult();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user