IR to CFG: when implementation in function generator, some when tests

This commit is contained in:
Mikhail Glukhikh
2016-09-22 16:18:37 +03:00
committed by Dmitry Petrov
parent eaf10a4675
commit 979f2231a1
17 changed files with 492 additions and 4 deletions
@@ -658,6 +658,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("whenReturn.kt")
public void testWhenReturn() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/expressions/whenReturn.kt");
doTest(fileName);
}
@TestMetadata("whileDoWhile.kt")
public void testWhileDoWhile() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/expressions/whileDoWhile.kt");