Control-Flow: Add tests for pseudo-values of labeled expressions

This commit is contained in:
Alexey Sedunov
2015-04-20 14:32:18 +03:00
parent 417611e2be
commit 5b1906fb13
5 changed files with 57 additions and 0 deletions
@@ -508,6 +508,12 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest(fileName);
}
@TestMetadata("labeledExpression.kt")
public void testLabeledExpression() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/labeledExpression.kt");
doTest(fileName);
}
@TestMetadata("LazyBooleans.kt")
public void testLazyBooleans() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/LazyBooleans.kt");
@@ -510,6 +510,12 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest(fileName);
}
@TestMetadata("labeledExpression.kt")
public void testLabeledExpression() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/labeledExpression.kt");
doTest(fileName);
}
@TestMetadata("LazyBooleans.kt")
public void testLazyBooleans() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/LazyBooleans.kt");