Partial body resolve: more efficient handling of loops

This commit is contained in:
Valentin Kipyatkov
2014-11-18 15:39:38 +03:00
parent 806bf3b942
commit 0a7d73ef6b
10 changed files with 128 additions and 3 deletions
@@ -132,6 +132,18 @@ public class PartialBodyResolveTestGenerated extends AbstractPartialBodyResolveT
doTest(fileName);
}
@TestMetadata("IfNullDoWhileWithBreak.kt")
public void testIfNullDoWhileWithBreak() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfNullDoWhileWithBreak.kt");
doTest(fileName);
}
@TestMetadata("IfNullForWithReturn.kt")
public void testIfNullForWithReturn() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfNullForWithReturn.kt");
doTest(fileName);
}
@TestMetadata("IfNullPrint.kt")
public void testIfNullPrint() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfNullPrint.kt");
@@ -144,6 +156,18 @@ public class PartialBodyResolveTestGenerated extends AbstractPartialBodyResolveT
doTest(fileName);
}
@TestMetadata("IfNullWhileTrueWithBreak.kt")
public void testIfNullWhileTrueWithBreak() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfNullWhileTrueWithBreak.kt");
doTest(fileName);
}
@TestMetadata("IfNullWhileWithReturn.kt")
public void testIfNullWhileWithReturn() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfNullWhileWithReturn.kt");
doTest(fileName);
}
@TestMetadata("IfReturn.kt")
public void testIfReturn() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/IfReturn.kt");