Added a coroutine test

This commit is contained in:
Igor Chevdar
2018-12-19 14:28:42 +03:00
parent 1eaf2d2c42
commit 5afa44edea
6 changed files with 78 additions and 0 deletions
@@ -5084,6 +5084,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt", "kotlin.coroutines");
}
@TestMetadata("varCaptuedInCoroutineIntrinsic.kt")
public void testVarCaptuedInCoroutineIntrinsic_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt", "kotlin.coroutines");
}
@TestMetadata("varValueConflictsWithTableSameSort.kt")
public void testVarValueConflictsWithTableSameSort_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varValueConflictsWithTableSameSort.kt", "kotlin.coroutines");
@@ -5479,6 +5479,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt", "kotlin.coroutines");
}
@TestMetadata("varCaptuedInCoroutineIntrinsic.kt")
public void testVarCaptuedInCoroutineIntrinsic_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("varCaptuedInCoroutineIntrinsic.kt")
public void testVarCaptuedInCoroutineIntrinsic_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt", "kotlin.coroutines");
}
@TestMetadata("varValueConflictsWithTableSameSort.kt")
public void testVarValueConflictsWithTableSameSort_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varValueConflictsWithTableSameSort.kt", "kotlin.coroutines.experimental");