extract method: break&continue statements inside selected cycle should not treated as exit statements from method

This commit is contained in:
anna
2009-10-19 21:31:55 +04:00
parent 21c828e805
commit 29ad3e617c
4 changed files with 47 additions and 4 deletions
@@ -74,6 +74,10 @@ public class ExtractMethodTest extends LightCodeInsightTestCase {
doExitPointsTest(false);
}
public void testContinueInside() throws Exception {
doTest();
}
public void testBooleanExpression() throws Exception {
doTest();
}
@@ -496,4 +500,4 @@ public class ExtractMethodTest extends LightCodeInsightTestCase {
return true;
}
}
}