Pseudocode: Generate instructions for callable reference expressions

This commit is contained in:
Alexey Sedunov
2014-07-11 19:30:22 +04:00
parent fd27518070
commit 4f54d833d3
7 changed files with 62 additions and 1 deletions
@@ -368,6 +368,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
public void testAssignments() throws Exception {
doTest("compiler/testData/cfg/expressions/Assignments.kt");
}
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
doTest("compiler/testData/cfg/expressions/callableReferences.kt");
}
@TestMetadata("chainedQualifiedExpression.kt")
public void testChainedQualifiedExpression() throws Exception {
@@ -358,7 +358,9 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
@TestMetadata("compiler/testData/cfg/expressions")
public static class Expressions extends AbstractPseudoValueTest {
public void testAllFilesPresentInExpressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/cfg/expressions"), Pattern.compile("^(.+)\\.kt$"), true);
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage",
new File("compiler/testData/cfg/expressions"), Pattern.compile("^(.+)\\.kt$"),
true);
}
@TestMetadata("assignmentToThis.kt")
@@ -370,6 +372,11 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
public void testAssignments() throws Exception {
doTest("compiler/testData/cfg/expressions/Assignments.kt");
}
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
doTest("compiler/testData/cfg/expressions/callableReferences.kt");
}
@TestMetadata("chainedQualifiedExpression.kt")
public void testChainedQualifiedExpression() throws Exception {