Minor. Add test on local vars of suspend function type

This commit is contained in:
Denis Zharkov
2017-01-11 20:35:10 +03:00
parent 7837d736f7
commit 695b6d9e67
6 changed files with 127 additions and 0 deletions
@@ -5116,6 +5116,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("localVal.kt")
public void testLocalVal() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/localVal.kt");
doTest(fileName);
}
@TestMetadata("manyParameters.kt")
public void testManyParameters() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/manyParameters.kt");