Pseudocode: Generate instructions for unresolved array assignments

This commit is contained in:
Alexey Sedunov
2014-10-06 16:35:16 +04:00
parent b06b3ab4c4
commit a56c54371e
12 changed files with 220 additions and 5 deletions
@@ -65,6 +65,12 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest(fileName);
}
@TestMetadata("arrayIncUnresolved.kt")
public void testArrayIncUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arrayIncUnresolved.kt");
doTest(fileName);
}
@TestMetadata("ArrayOfFunctions.kt")
public void testArrayOfFunctions() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/ArrayOfFunctions.kt");
@@ -83,6 +89,18 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest(fileName);
}
@TestMetadata("arraySetPlusAssignUnresolved.kt")
public void testArraySetPlusAssignUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arraySetPlusAssignUnresolved.kt");
doTest(fileName);
}
@TestMetadata("arraySetUnresolved.kt")
public void testArraySetUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arraySetUnresolved.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/cfg/basic")
@@ -68,6 +68,12 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest(fileName);
}
@TestMetadata("arrayIncUnresolved.kt")
public void testArrayIncUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arrayIncUnresolved.kt");
doTest(fileName);
}
@TestMetadata("ArrayOfFunctions.kt")
public void testArrayOfFunctions() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/ArrayOfFunctions.kt");
@@ -86,6 +92,18 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest(fileName);
}
@TestMetadata("arraySetPlusAssignUnresolved.kt")
public void testArraySetPlusAssignUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arraySetPlusAssignUnresolved.kt");
doTest(fileName);
}
@TestMetadata("arraySetUnresolved.kt")
public void testArraySetUnresolved() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/arrays/arraySetUnresolved.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/cfg/basic")