mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce vararg variable from the selected enumeration (IDEA-82508)
This commit is contained in:
@@ -202,6 +202,10 @@ public class IntroduceVariableTest extends LightCodeInsightTestCase {
|
||||
public void testArrayFromVarargs1() throws Exception {
|
||||
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "java.lang.String[]"));
|
||||
}
|
||||
|
||||
public void testEnumArrayFromVarargs() throws Exception {
|
||||
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "E[]"));
|
||||
}
|
||||
|
||||
public void testFromFinalFieldOnAssignment() throws Exception {
|
||||
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "java.lang.String"));
|
||||
|
||||
Reference in New Issue
Block a user