mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
tests for IDEA-105010 Action "Complete current statement" doesn't work on fields if next field is annotated
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class Test {
|
||||
private String s
|
||||
|
||||
@Deprecated private String foo;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Test {
|
||||
private String s;<caret>
|
||||
|
||||
@Deprecated private String foo;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Test {
|
||||
private String s()
|
||||
|
||||
@Deprecated private String foo;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
private String s() {
|
||||
<caret>
|
||||
}
|
||||
|
||||
@Deprecated private String foo;
|
||||
}
|
||||
@@ -139,6 +139,9 @@ public class CompleteStatementTest extends EditorActionTestCase {
|
||||
|
||||
public void testFieldWithInitializer() throws Exception { doTest(); }
|
||||
|
||||
public void testFieldBeforeAnnotation() throws Exception { doTest(); }
|
||||
public void _testMethodBeforeAnnotation() throws Exception { doTest(); }
|
||||
|
||||
public void testParenthesized() throws Exception { doTest(); }
|
||||
|
||||
public void testCompleteBreak() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user