This commit is contained in:
Alexander Zolotov
2014-04-04 17:14:38 +04:00
parent 49e4236cfd
commit c3a806c92d
4 changed files with 35 additions and 2 deletions
@@ -0,0 +1,12 @@
class A {
Object foo;
Object bar;
public static void main(String[] args) {
foo == null<caret>
bar<caret>
bar == null<caret>
}
}
@@ -0,0 +1,16 @@
class A {
Object foo;
Object bar;
public static void main(String[] args) {
if (foo == null) {
}
bar.if
if (bar == null) {
}
}
}
@@ -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";