mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Java. Intention Actions] Add tests for extracting field from incorrect code
IDEA-361230 GitOrigin-RevId: 40d3ad55dbdb3c26bfaac95d7b6842b2cba66af0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
26d8e8e45d
commit
f27f78a79c
+6
@@ -0,0 +1,6 @@
|
||||
// "Create constant field 'VAR'" "true-preview"
|
||||
|
||||
// interfaces(s should be written in Java to ease the marshalling
|
||||
@DBusInterfaceName(value = VAR DBusInterface {
|
||||
|
||||
private static final Object VAR;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// "Create constant field 'VAR'" "true-preview"
|
||||
|
||||
// interfaces(s should be written in Java to ease the marshalling
|
||||
@DBusInterfaceName(value = <caret>VAR DBusInterface {
|
||||
+2
@@ -78,6 +78,8 @@ public class CreateFieldFromUsageTest extends LightQuickFixTestCase {
|
||||
|
||||
public void testFromUnfinishedAnonymousClass() { doSingleTest(); }
|
||||
|
||||
public void testCreateFromAnnotationParameterIncorrectCode() { doSingleTest(); }
|
||||
|
||||
protected void doSingleTest() {
|
||||
doSingleTest(getTestName(false) + ".java");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user