extract method from expression: declare necessary variables inside; reassign result when it was assigned before (IDEA-63593)

This commit is contained in:
anna
2010-12-29 13:49:30 +03:00
parent e54da3264b
commit fa41e76126
6 changed files with 50 additions and 1 deletions

View File

@@ -151,6 +151,14 @@ public class ExtractMethodTest extends LightCodeInsightTestCase {
doTest();
}
public void testExtractAssignmentExpression() throws Exception {
doTest();
}
public void testExtractAssignmentExpressionFromStatement() throws Exception {
doTest();
}
public void _testExtractFromTryFinally2() throws Exception { // IDEADEV-11844
doTest();
}