mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
EA-55600
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class A {
|
||||
Object foo;
|
||||
Object bar;
|
||||
|
||||
public static void main(String[] args) {
|
||||
foo == null<caret>
|
||||
|
||||
bar<caret>
|
||||
|
||||
bar == null<caret>
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
class A {
|
||||
Object foo;
|
||||
Object bar;
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (foo == null) {
|
||||
|
||||
}
|
||||
|
||||
bar.if
|
||||
|
||||
if (bar == null) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
@@ -156,6 +156,10 @@ public class TemplatesCompletionTest extends CompletionAutoPopupTestCase {
|
||||
checkResultByFile();
|
||||
}
|
||||
|
||||
public void testMultiCaret() {
|
||||
doCompleteTest(".if", '\t');
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return JavaTestUtil.getRelativeJavaTestDataPath() + "/codeInsight/template/postfix/completion";
|
||||
|
||||
Reference in New Issue
Block a user