Add test case to check delegation of suspend method

This commit is contained in:
Roman Artemev
2018-05-21 00:11:54 +03:00
committed by Roman Artemev
parent f826a253e3
commit 8862b26bbd
5 changed files with 73 additions and 0 deletions
@@ -5399,6 +5399,18 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
doTestWithCoroutinesPackageReplacement(fileName, "kotlin.coroutines");
}
@TestMetadata("delegatedSuspendMember.kt")
public void testDelegatedSuspendMember_1_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt");
doTestWithCoroutinesPackageReplacement(fileName, "kotlin.coroutines.experimental");
}
@TestMetadata("delegatedSuspendMember.kt")
public void testDelegatedSuspendMember_1_3() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt");
doTestWithCoroutinesPackageReplacement(fileName, "kotlin.coroutines");
}
@TestMetadata("dispatchResume.kt")
public void testDispatchResume_1_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/dispatchResume.kt");