EA-33665 - AIOOBE: IntroduceVariableBase.createArrayCreationExpression

This commit is contained in:
anna
2012-02-14 18:54:07 +01:00
parent a829ba2568
commit 281a692bff
4 changed files with 27 additions and 2 deletions
@@ -197,6 +197,10 @@ public class IntroduceVariableTest extends LightCodeInsightTestCase {
public void testArrayFromVarargs() throws Exception {
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "java.lang.String[]"));
}
public void testArrayFromVarargs1() throws Exception {
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "java.lang.String[]"));
}
public void testFromFinalFieldOnAssignment() throws Exception {
doTest(new MockIntroduceVariableHandler("strs", false, false, false, "java.lang.String"));