Added backend tests with closure local function in local class

This commit is contained in:
Stanislav Erokhin
2015-02-24 14:39:23 +03:00
parent 7a5e54c691
commit 2c8cf05f7a
3 changed files with 28 additions and 0 deletions
@@ -1674,6 +1674,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("localClassFunClosure.kt")
public void testLocalClassFunClosure() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/localClassFunClosure.kt");
doTest(fileName);
}
@TestMetadata("localClassLambdaClosure.kt")
public void testLocalClassLambdaClosure() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/localClassLambdaClosure.kt");
doTest(fileName);
}
@TestMetadata("localFunctionInFunction.kt")
public void testLocalFunctionInFunction() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/localFunctionInFunction.kt");