diff --git a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimple.kt b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimple.kt index 5f31de6ab74..d22a38a73c9 100644 --- a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimple.kt +++ b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME suspend fun foo() {} diff --git a/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt b/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt index 5f0c0da9016..4328c0d333d 100644 --- a/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt b/compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt index 0205e5e6052..3e1e1d7e1b0 100644 --- a/compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt +++ b/compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt b/compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt index bb865ea2294..3606d4c0ea7 100644 --- a/compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt +++ b/compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt b/compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt index c404c0acf76..8da10cbc5aa 100644 --- a/compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt +++ b/compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt b/compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt index 5333aa675a5..c30b0d23890 100644 --- a/compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt +++ b/compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt b/compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt index 97f3322207f..8bbbfa402f8 100644 --- a/compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt +++ b/compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/illegalState.kt b/compiler/testData/codegen/box/coroutines/illegalState.kt index 1569efb22b1..49c184fb8d8 100644 --- a/compiler/testData/codegen/box/coroutines/illegalState.kt +++ b/compiler/testData/codegen/box/coroutines/illegalState.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/coroutines/lastStementAssignment.kt b/compiler/testData/codegen/box/coroutines/lastStementAssignment.kt index dba8fb47f06..e8402f6a1b9 100644 --- a/compiler/testData/codegen/box/coroutines/lastStementAssignment.kt +++ b/compiler/testData/codegen/box/coroutines/lastStementAssignment.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt b/compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt index 94991c64bc8..b438db745ec 100644 --- a/compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt +++ b/compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt index 7fbf56e31b9..258aace95b7 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // MODULE: lib // FILE: lib.kt inline fun foo(x: String = "OK"): String { diff --git a/compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt b/compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt index 5a885a9d9ff..c8eddab8a3b 100644 --- a/compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt +++ b/compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/returnByLabel.kt b/compiler/testData/codegen/box/coroutines/returnByLabel.kt index 860deae6d7d..836f10ae700 100644 --- a/compiler/testData/codegen/box/coroutines/returnByLabel.kt +++ b/compiler/testData/codegen/box/coroutines/returnByLabel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt b/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt index 493c35c2577..4bf708ac8ac 100644 --- a/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt +++ b/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt b/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt index ff27422583a..d3ffc479cd6 100644 --- a/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt +++ b/compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt b/compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt index f795d3b4f14..4e2fd0f4157 100644 --- a/compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt +++ b/compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt index 02d6b98a9a1..6b9518e2e61 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt @@ -1,5 +1,4 @@ // KJS_WITH_FULL_RUNTIME -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt b/compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt index cff0202e63a..2c75e3c721c 100644 --- a/compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt +++ b/compiler/testData/codegen/box/coroutines/varCaptuedInCoroutineIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/bytecodeText/boxing/suspend.kt b/compiler/testData/codegen/bytecodeText/boxing/suspend.kt index 99ee43fa5a7..6868f7da3da 100644 --- a/compiler/testData/codegen/bytecodeText/boxing/suspend.kt +++ b/compiler/testData/codegen/bytecodeText/boxing/suspend.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +ReleaseCoroutines -// IGNORE_BACKEND: JVM_IR suspend fun produce(): Int = 1000 diff --git a/compiler/testData/codegen/bytecodeText/coroutines/debug/probeCoroutineSuspended.kt b/compiler/testData/codegen/bytecodeText/coroutines/debug/probeCoroutineSuspended.kt index c268bc191c4..4c7301af90e 100644 --- a/compiler/testData/codegen/bytecodeText/coroutines/debug/probeCoroutineSuspended.kt +++ b/compiler/testData/codegen/bytecodeText/coroutines/debug/probeCoroutineSuspended.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TREAT_AS_ONE_FILE import kotlin.coroutines.intrinsics.* diff --git a/compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt b/compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt index cef551b7db9..b014aea9f74 100644 --- a/compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt +++ b/compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // COMMON_COROUTINES_TEST // WITH_COROUTINES // TREAT_AS_ONE_FILE diff --git a/compiler/testData/codegen/bytecodeText/coroutines/throwOnFailure.kt b/compiler/testData/codegen/bytecodeText/coroutines/throwOnFailure.kt index bf3a9a45006..53a36f25b11 100644 --- a/compiler/testData/codegen/bytecodeText/coroutines/throwOnFailure.kt +++ b/compiler/testData/codegen/bytecodeText/coroutines/throwOnFailure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_COROUTINES // TREAT_AS_ONE_FILE diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java index c22e952a510..9ce5a4de111 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java @@ -904,41 +904,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/assert/jvm/superClassInitializer.kt"); } - @TestMetadata("suspendFunctionAssertionDisabled.kt") - public void testSuspendFunctionAssertionDisabled_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendFunctionAssertionDisabled.kt") public void testSuspendFunctionAssertionDisabled_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt", "kotlin.coroutines"); } - @TestMetadata("suspendFunctionAssertionsEnabled.kt") - public void testSuspendFunctionAssertionsEnabled_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionsEnabled.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendFunctionAssertionsEnabled.kt") public void testSuspendFunctionAssertionsEnabled_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionsEnabled.kt", "kotlin.coroutines"); } - @TestMetadata("suspendLambdaAssertionsDisabled.kt") - public void testSuspendLambdaAssertionsDisabled_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendLambdaAssertionsDisabled.kt") public void testSuspendLambdaAssertionsDisabled_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt", "kotlin.coroutines"); } - @TestMetadata("suspendLambdaAssertionsEnabled.kt") - public void testSuspendLambdaAssertionsEnabled_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendLambdaAssertionsEnabled.kt") public void testSuspendLambdaAssertionsEnabled_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt", "kotlin.coroutines"); @@ -4193,21 +4173,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/sharedSlotsWithCapturedVars.kt"); } - @TestMetadata("withCoroutinesNoStdLib.kt") - public void testWithCoroutinesNoStdLib_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("withCoroutinesNoStdLib.kt") public void testWithCoroutinesNoStdLib_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt", "kotlin.coroutines"); } - @TestMetadata("withCoroutines.kt") - public void testWithCoroutines_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("withCoroutines.kt") public void testWithCoroutines_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt", "kotlin.coroutines"); @@ -5585,21 +5555,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.runTest(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JVM_IR, testDataFilePath); } - @TestMetadata("32defaultParametersInSuspend.kt") - public void test32defaultParametersInSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/32defaultParametersInSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("32defaultParametersInSuspend.kt") public void test32defaultParametersInSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/32defaultParametersInSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("accessorForSuspend.kt") - public void testAccessorForSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/accessorForSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("accessorForSuspend.kt") public void testAccessorForSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/accessorForSuspend.kt", "kotlin.coroutines"); @@ -5609,11 +5569,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("asyncException.kt") - public void testAsyncException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("asyncException.kt") public void testAsyncException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncException.kt", "kotlin.coroutines"); @@ -5649,91 +5604,46 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/asyncIterator_1_3.kt"); } - @TestMetadata("async.kt") - public void testAsync_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/async.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("async.kt") public void testAsync_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/async.kt", "kotlin.coroutines"); } - @TestMetadata("await.kt") - public void testAwait_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/await.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("await.kt") public void testAwait_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/await.kt", "kotlin.coroutines"); } - @TestMetadata("beginWithExceptionNoHandleException.kt") - public void testBeginWithExceptionNoHandleException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("beginWithExceptionNoHandleException.kt") public void testBeginWithExceptionNoHandleException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithExceptionNoHandleException.kt", "kotlin.coroutines"); } - @TestMetadata("beginWithException.kt") - public void testBeginWithException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("beginWithException.kt") public void testBeginWithException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithException.kt", "kotlin.coroutines"); } - @TestMetadata("capturedVarInSuspendLambda.kt") - public void testCapturedVarInSuspendLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("capturedVarInSuspendLambda.kt") public void testCapturedVarInSuspendLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/capturedVarInSuspendLambda.kt", "kotlin.coroutines"); } - @TestMetadata("catchWithInlineInsideSuspend.kt") - public void testCatchWithInlineInsideSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/catchWithInlineInsideSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("catchWithInlineInsideSuspend.kt") public void testCatchWithInlineInsideSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/catchWithInlineInsideSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("coercionToUnit.kt") - public void testCoercionToUnit_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coercionToUnit.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coercionToUnit.kt") public void testCoercionToUnit_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coercionToUnit.kt", "kotlin.coroutines"); } - @TestMetadata("controllerAccessFromInnerLambda.kt") - public void testControllerAccessFromInnerLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controllerAccessFromInnerLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("controllerAccessFromInnerLambda.kt") public void testControllerAccessFromInnerLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controllerAccessFromInnerLambda.kt", "kotlin.coroutines"); } - @TestMetadata("coroutineContextInInlinedLambda.kt") - public void testCoroutineContextInInlinedLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coroutineContextInInlinedLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineContextInInlinedLambda.kt") public void testCoroutineContextInInlinedLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coroutineContextInInlinedLambda.kt", "kotlin.coroutines"); @@ -5749,11 +5659,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/coroutineToString_1_2.kt"); } - @TestMetadata("createCoroutineSafe.kt") - public void testCreateCoroutineSafe_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("createCoroutineSafe.kt") public void testCreateCoroutineSafe_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutineSafe.kt", "kotlin.coroutines"); @@ -5769,121 +5674,61 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } - @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") - public void testCrossInlineWithCapturedOuterReceiver_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/crossInlineWithCapturedOuterReceiver.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") public void testCrossInlineWithCapturedOuterReceiver_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/crossInlineWithCapturedOuterReceiver.kt", "kotlin.coroutines"); } - @TestMetadata("defaultParametersInSuspend.kt") - public void testDefaultParametersInSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("defaultParametersInSuspend.kt") public void testDefaultParametersInSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("delegatedSuspendMember.kt") - public void testDelegatedSuspendMember_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("delegatedSuspendMember.kt") public void testDelegatedSuspendMember_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt", "kotlin.coroutines"); } - @TestMetadata("dispatchResume.kt") - public void testDispatchResume_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/dispatchResume.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("dispatchResume.kt") public void testDispatchResume_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/dispatchResume.kt", "kotlin.coroutines"); } - @TestMetadata("emptyClosure.kt") - public void testEmptyClosure_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/emptyClosure.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("emptyClosure.kt") public void testEmptyClosure_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/emptyClosure.kt", "kotlin.coroutines"); } - @TestMetadata("epam.kt") - public void testEpam_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/epam.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("epam.kt") public void testEpam_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/epam.kt", "kotlin.coroutines"); } - @TestMetadata("falseUnitCoercion.kt") - public void testFalseUnitCoercion_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/falseUnitCoercion.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("falseUnitCoercion.kt") public void testFalseUnitCoercion_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/falseUnitCoercion.kt", "kotlin.coroutines"); } - @TestMetadata("generate.kt") - public void testGenerate_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/generate.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("generate.kt") public void testGenerate_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/generate.kt", "kotlin.coroutines"); } - @TestMetadata("handleException.kt") - public void testHandleException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("handleException.kt") public void testHandleException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleException.kt", "kotlin.coroutines"); } - @TestMetadata("handleResultCallEmptyBody.kt") - public void testHandleResultCallEmptyBody_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("handleResultCallEmptyBody.kt") public void testHandleResultCallEmptyBody_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultCallEmptyBody.kt", "kotlin.coroutines"); } - @TestMetadata("handleResultNonUnitExpression.kt") - public void testHandleResultNonUnitExpression_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("handleResultNonUnitExpression.kt") public void testHandleResultNonUnitExpression_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultNonUnitExpression.kt", "kotlin.coroutines"); } - @TestMetadata("handleResultSuspended.kt") - public void testHandleResultSuspended_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultSuspended.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("handleResultSuspended.kt") public void testHandleResultSuspended_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/handleResultSuspended.kt", "kotlin.coroutines"); @@ -5899,161 +5744,81 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/illegalState_1_2.kt"); } - @TestMetadata("indirectInlineUsedAsNonInline.kt") - public void testIndirectInlineUsedAsNonInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/indirectInlineUsedAsNonInline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("indirectInlineUsedAsNonInline.kt") public void testIndirectInlineUsedAsNonInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/indirectInlineUsedAsNonInline.kt", "kotlin.coroutines"); } - @TestMetadata("inlineFunInGenericClass.kt") - public void testInlineFunInGenericClass_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineFunInGenericClass.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineFunInGenericClass.kt") public void testInlineFunInGenericClass_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineFunInGenericClass.kt", "kotlin.coroutines"); } - @TestMetadata("inlineGenericFunCalledFromSubclass.kt") - public void testInlineGenericFunCalledFromSubclass_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineGenericFunCalledFromSubclass.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineGenericFunCalledFromSubclass.kt") public void testInlineGenericFunCalledFromSubclass_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineGenericFunCalledFromSubclass.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendFunction.kt") - public void testInlineSuspendFunction_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendFunction.kt") public void testInlineSuspendFunction_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendLambdaNonLocalReturn.kt") - public void testInlineSuspendLambdaNonLocalReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendLambdaNonLocalReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendLambdaNonLocalReturn.kt") public void testInlineSuspendLambdaNonLocalReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendLambdaNonLocalReturn.kt", "kotlin.coroutines"); } - @TestMetadata("inlinedTryCatchFinally.kt") - public void testInlinedTryCatchFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlinedTryCatchFinally.kt") public void testInlinedTryCatchFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt", "kotlin.coroutines"); } - @TestMetadata("innerSuspensionCalls.kt") - public void testInnerSuspensionCalls_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/innerSuspensionCalls.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerSuspensionCalls.kt") public void testInnerSuspensionCalls_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/innerSuspensionCalls.kt", "kotlin.coroutines"); } - @TestMetadata("instanceOfContinuation.kt") - public void testInstanceOfContinuation_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/instanceOfContinuation.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("instanceOfContinuation.kt") public void testInstanceOfContinuation_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/instanceOfContinuation.kt", "kotlin.coroutines"); } - @TestMetadata("iterateOverArray.kt") - public void testIterateOverArray_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/iterateOverArray.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("iterateOverArray.kt") public void testIterateOverArray_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/iterateOverArray.kt", "kotlin.coroutines"); } - @TestMetadata("kt12958.kt") - public void testKt12958_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt12958.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt12958.kt") public void testKt12958_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt12958.kt", "kotlin.coroutines"); } - @TestMetadata("kt15016.kt") - public void testKt15016_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15016.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt15016.kt") public void testKt15016_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15016.kt", "kotlin.coroutines"); } - @TestMetadata("kt15017.kt") - public void testKt15017_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15017.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt15017.kt") public void testKt15017_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15017.kt", "kotlin.coroutines"); } - @TestMetadata("kt15930.kt") - public void testKt15930_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15930.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt15930.kt") public void testKt15930_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt15930.kt", "kotlin.coroutines"); } - @TestMetadata("kt21605.kt") - public void testKt21605_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt21605.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt21605.kt") public void testKt21605_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt21605.kt", "kotlin.coroutines"); } - @TestMetadata("kt25912.kt") - public void testKt25912_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt25912.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt25912.kt") public void testKt25912_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt25912.kt", "kotlin.coroutines"); } - @TestMetadata("kt28844.kt") - public void testKt28844_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt28844.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt28844.kt") public void testKt28844_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/kt28844.kt", "kotlin.coroutines"); @@ -6069,41 +5834,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/kt31784.kt"); } - @TestMetadata("lastExpressionIsLoop.kt") - public void testLastExpressionIsLoop_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lastExpressionIsLoop.kt") public void testLastExpressionIsLoop_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt", "kotlin.coroutines"); } - @TestMetadata("lastStatementInc.kt") - public void testLastStatementInc_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastStatementInc.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lastStatementInc.kt") public void testLastStatementInc_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastStatementInc.kt", "kotlin.coroutines"); } - @TestMetadata("lastStementAssignment.kt") - public void testLastStementAssignment_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastStementAssignment.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lastStementAssignment.kt") public void testLastStementAssignment_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastStementAssignment.kt", "kotlin.coroutines"); } - @TestMetadata("lastUnitExpression.kt") - public void testLastUnitExpression_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastUnitExpression.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lastUnitExpression.kt") public void testLastUnitExpression_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastUnitExpression.kt", "kotlin.coroutines"); @@ -6114,161 +5859,81 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/localCallableRef.kt"); } - @TestMetadata("localDelegate.kt") - public void testLocalDelegate_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localDelegate.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("localDelegate.kt") public void testLocalDelegate_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localDelegate.kt", "kotlin.coroutines"); } - @TestMetadata("longRangeInSuspendCall.kt") - public void testLongRangeInSuspendCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/longRangeInSuspendCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("longRangeInSuspendCall.kt") public void testLongRangeInSuspendCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/longRangeInSuspendCall.kt", "kotlin.coroutines"); } - @TestMetadata("longRangeInSuspendFun.kt") - public void testLongRangeInSuspendFun_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/longRangeInSuspendFun.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("longRangeInSuspendFun.kt") public void testLongRangeInSuspendFun_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/longRangeInSuspendFun.kt", "kotlin.coroutines"); } - @TestMetadata("mergeNullAndString.kt") - public void testMergeNullAndString_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/mergeNullAndString.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("mergeNullAndString.kt") public void testMergeNullAndString_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/mergeNullAndString.kt", "kotlin.coroutines"); } - @TestMetadata("multipleInvokeCallsInsideInlineLambda1.kt") - public void testMultipleInvokeCallsInsideInlineLambda1_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda1.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleInvokeCallsInsideInlineLambda1.kt") public void testMultipleInvokeCallsInsideInlineLambda1_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda1.kt", "kotlin.coroutines"); } - @TestMetadata("multipleInvokeCallsInsideInlineLambda2.kt") - public void testMultipleInvokeCallsInsideInlineLambda2_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda2.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleInvokeCallsInsideInlineLambda2.kt") public void testMultipleInvokeCallsInsideInlineLambda2_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda2.kt", "kotlin.coroutines"); } - @TestMetadata("multipleInvokeCallsInsideInlineLambda3.kt") - public void testMultipleInvokeCallsInsideInlineLambda3_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda3.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleInvokeCallsInsideInlineLambda3.kt") public void testMultipleInvokeCallsInsideInlineLambda3_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCallsInsideInlineLambda3.kt", "kotlin.coroutines"); } - @TestMetadata("multipleInvokeCalls.kt") - public void testMultipleInvokeCalls_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCalls.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleInvokeCalls.kt") public void testMultipleInvokeCalls_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multipleInvokeCalls.kt", "kotlin.coroutines"); } - @TestMetadata("nestedTryCatch.kt") - public void testNestedTryCatch_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nestedTryCatch.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nestedTryCatch.kt") public void testNestedTryCatch_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nestedTryCatch.kt", "kotlin.coroutines"); } - @TestMetadata("noSuspensionPoints.kt") - public void testNoSuspensionPoints_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("noSuspensionPoints.kt") public void testNoSuspensionPoints_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noSuspensionPoints.kt", "kotlin.coroutines"); } - @TestMetadata("nonLocalReturnFromInlineLambdaDeep.kt") - public void testNonLocalReturnFromInlineLambdaDeep_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nonLocalReturnFromInlineLambdaDeep.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nonLocalReturnFromInlineLambdaDeep.kt") public void testNonLocalReturnFromInlineLambdaDeep_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nonLocalReturnFromInlineLambdaDeep.kt", "kotlin.coroutines"); } - @TestMetadata("nonLocalReturnFromInlineLambda.kt") - public void testNonLocalReturnFromInlineLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nonLocalReturnFromInlineLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nonLocalReturnFromInlineLambda.kt") public void testNonLocalReturnFromInlineLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/nonLocalReturnFromInlineLambda.kt", "kotlin.coroutines"); } - @TestMetadata("overrideDefaultArgument.kt") - public void testOverrideDefaultArgument_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/overrideDefaultArgument.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("overrideDefaultArgument.kt") public void testOverrideDefaultArgument_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/overrideDefaultArgument.kt", "kotlin.coroutines"); } - @TestMetadata("recursiveSuspend.kt") - public void testRecursiveSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/recursiveSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("recursiveSuspend.kt") public void testRecursiveSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/recursiveSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("returnByLabel.kt") - public void testReturnByLabel_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/returnByLabel.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnByLabel.kt") public void testReturnByLabel_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/returnByLabel.kt", "kotlin.coroutines"); } - @TestMetadata("simpleException.kt") - public void testSimpleException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simpleException.kt") public void testSimpleException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleException.kt", "kotlin.coroutines"); @@ -6279,51 +5944,26 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt"); } - @TestMetadata("simpleWithHandleResult.kt") - public void testSimpleWithHandleResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleWithHandleResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simpleWithHandleResult.kt") public void testSimpleWithHandleResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleWithHandleResult.kt", "kotlin.coroutines"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simple.kt", "kotlin.coroutines"); } - @TestMetadata("statementLikeLastExpression.kt") - public void testStatementLikeLastExpression_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/statementLikeLastExpression.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("statementLikeLastExpression.kt") public void testStatementLikeLastExpression_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/statementLikeLastExpression.kt", "kotlin.coroutines"); } - @TestMetadata("suspendCallsInArguments.kt") - public void testSuspendCallsInArguments_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendCallsInArguments.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendCallsInArguments.kt") public void testSuspendCallsInArguments_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendCallsInArguments.kt", "kotlin.coroutines"); } - @TestMetadata("suspendCoroutineFromStateMachine.kt") - public void testSuspendCoroutineFromStateMachine_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendCoroutineFromStateMachine.kt") public void testSuspendCoroutineFromStateMachine_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt", "kotlin.coroutines"); @@ -6339,81 +5979,41 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides_1_2.kt"); } - @TestMetadata("suspendDefaultImpl.kt") - public void testSuspendDefaultImpl_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendDefaultImpl.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendDefaultImpl.kt") public void testSuspendDefaultImpl_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendDefaultImpl.kt", "kotlin.coroutines"); } - @TestMetadata("suspendDelegation.kt") - public void testSuspendDelegation_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendDelegation.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendDelegation.kt") public void testSuspendDelegation_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendDelegation.kt", "kotlin.coroutines"); } - @TestMetadata("suspendFromInlineLambda.kt") - public void testSuspendFromInlineLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFromInlineLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendFromInlineLambda.kt") public void testSuspendFromInlineLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFromInlineLambda.kt", "kotlin.coroutines"); } - @TestMetadata("suspendFunImportedFromObject.kt") - public void testSuspendFunImportedFromObject_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunImportedFromObject.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendFunImportedFromObject.kt") public void testSuspendFunImportedFromObject_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunImportedFromObject.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInCycle.kt") - public void testSuspendInCycle_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInCycle.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInCycle.kt") public void testSuspendInCycle_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInCycle.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt") - public void testSuspendInTheMiddleOfObjectConstructionEvaluationOrder_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt") public void testSuspendInTheMiddleOfObjectConstructionEvaluationOrder_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInTheMiddleOfObjectConstructionWithJumpOut.kt") - public void testSuspendInTheMiddleOfObjectConstructionWithJumpOut_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionWithJumpOut.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInTheMiddleOfObjectConstructionWithJumpOut.kt") public void testSuspendInTheMiddleOfObjectConstructionWithJumpOut_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionWithJumpOut.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInTheMiddleOfObjectConstruction.kt") - public void testSuspendInTheMiddleOfObjectConstruction_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstruction.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInTheMiddleOfObjectConstruction.kt") public void testSuspendInTheMiddleOfObjectConstruction_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstruction.kt", "kotlin.coroutines"); @@ -6429,91 +6029,46 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/suspendJavaOverrides_1_2.kt"); } - @TestMetadata("suspensionInsideSafeCallWithElvis.kt") - public void testSuspensionInsideSafeCallWithElvis_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspensionInsideSafeCallWithElvis.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspensionInsideSafeCallWithElvis.kt") public void testSuspensionInsideSafeCallWithElvis_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspensionInsideSafeCallWithElvis.kt", "kotlin.coroutines"); } - @TestMetadata("suspensionInsideSafeCall.kt") - public void testSuspensionInsideSafeCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspensionInsideSafeCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspensionInsideSafeCall.kt") public void testSuspensionInsideSafeCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspensionInsideSafeCall.kt", "kotlin.coroutines"); } - @TestMetadata("tryCatchFinallyWithHandleResult.kt") - public void testTryCatchFinallyWithHandleResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryCatchFinallyWithHandleResult.kt") public void testTryCatchFinallyWithHandleResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt", "kotlin.coroutines"); } - @TestMetadata("tryCatchWithHandleResult.kt") - public void testTryCatchWithHandleResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryCatchWithHandleResult.kt") public void testTryCatchWithHandleResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt", "kotlin.coroutines"); } - @TestMetadata("tryFinallyInsideInlineLambda.kt") - public void testTryFinallyInsideInlineLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryFinallyInsideInlineLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryFinallyInsideInlineLambda.kt") public void testTryFinallyInsideInlineLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryFinallyInsideInlineLambda.kt", "kotlin.coroutines"); } - @TestMetadata("tryFinallyWithHandleResult.kt") - public void testTryFinallyWithHandleResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryFinallyWithHandleResult.kt") public void testTryFinallyWithHandleResult_1_3() throws Exception { 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"); - } - @TestMetadata("varValueConflictsWithTableSameSort.kt") public void testVarValueConflictsWithTableSameSort_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varValueConflictsWithTableSameSort.kt", "kotlin.coroutines"); } - @TestMetadata("varValueConflictsWithTable.kt") - public void testVarValueConflictsWithTable_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varValueConflictsWithTable.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("varValueConflictsWithTable.kt") public void testVarValueConflictsWithTable_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varValueConflictsWithTable.kt", "kotlin.coroutines"); @@ -6535,21 +6090,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("lambdaWithLongReceiver.kt") - public void testLambdaWithLongReceiver_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/bridges/lambdaWithLongReceiver.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lambdaWithLongReceiver.kt") public void testLambdaWithLongReceiver_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/bridges/lambdaWithLongReceiver.kt", "kotlin.coroutines"); } - @TestMetadata("lambdaWithMultipleParameters.kt") - public void testLambdaWithMultipleParameters_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/bridges/lambdaWithMultipleParameters.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("lambdaWithMultipleParameters.kt") public void testLambdaWithMultipleParameters_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/bridges/lambdaWithMultipleParameters.kt", "kotlin.coroutines"); @@ -6572,91 +6117,46 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/controlFlow"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("breakFinally.kt") - public void testBreakFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("breakFinally.kt") public void testBreakFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt", "kotlin.coroutines"); } - @TestMetadata("breakStatement.kt") - public void testBreakStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("breakStatement.kt") public void testBreakStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt", "kotlin.coroutines"); } - @TestMetadata("complexChainSuspend.kt") - public void testComplexChainSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/complexChainSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("complexChainSuspend.kt") public void testComplexChainSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/complexChainSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("doWhileStatement.kt") - public void testDoWhileStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("doWhileStatement.kt") public void testDoWhileStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt", "kotlin.coroutines"); } - @TestMetadata("finallyCatch.kt") - public void testFinallyCatch_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/finallyCatch.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("finallyCatch.kt") public void testFinallyCatch_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/finallyCatch.kt", "kotlin.coroutines"); } - @TestMetadata("forContinue.kt") - public void testForContinue_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("forContinue.kt") public void testForContinue_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt", "kotlin.coroutines"); } - @TestMetadata("forStatement.kt") - public void testForStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("forStatement.kt") public void testForStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt", "kotlin.coroutines"); } - @TestMetadata("forWithStep.kt") - public void testForWithStep_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("forWithStep.kt") public void testForWithStep_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt", "kotlin.coroutines"); } - @TestMetadata("ifStatement.kt") - public void testIfStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("ifStatement.kt") public void testIfStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt", "kotlin.coroutines"); @@ -6672,91 +6172,46 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt"); } - @TestMetadata("labeledWhile.kt") - public void testLabeledWhile_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/labeledWhile.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("labeledWhile.kt") public void testLabeledWhile_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/labeledWhile.kt", "kotlin.coroutines"); } - @TestMetadata("multipleCatchBlocksSuspend.kt") - public void testMultipleCatchBlocksSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/multipleCatchBlocksSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleCatchBlocksSuspend.kt") public void testMultipleCatchBlocksSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/multipleCatchBlocksSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("returnFromFinally.kt") - public void testReturnFromFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/returnFromFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnFromFinally.kt") public void testReturnFromFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/returnFromFinally.kt", "kotlin.coroutines"); } - @TestMetadata("returnWithFinally.kt") - public void testReturnWithFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/returnWithFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnWithFinally.kt") public void testReturnWithFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/returnWithFinally.kt", "kotlin.coroutines"); } - @TestMetadata("switchLikeWhen.kt") - public void testSwitchLikeWhen_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("switchLikeWhen.kt") public void testSwitchLikeWhen_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt", "kotlin.coroutines"); } - @TestMetadata("throwFromCatch.kt") - public void testThrowFromCatch_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/throwFromCatch.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("throwFromCatch.kt") public void testThrowFromCatch_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/throwFromCatch.kt", "kotlin.coroutines"); } - @TestMetadata("throwInTryWithHandleResult.kt") - public void testThrowInTryWithHandleResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/throwInTryWithHandleResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("throwInTryWithHandleResult.kt") public void testThrowInTryWithHandleResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/throwInTryWithHandleResult.kt", "kotlin.coroutines"); } - @TestMetadata("whenWithSuspensions.kt") - public void testWhenWithSuspensions_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/whenWithSuspensions.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("whenWithSuspensions.kt") public void testWhenWithSuspensions_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/whenWithSuspensions.kt", "kotlin.coroutines"); } - @TestMetadata("whileStatement.kt") - public void testWhileStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/whileStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("whileStatement.kt") public void testWhileStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/controlFlow/whileStatement.kt", "kotlin.coroutines"); @@ -6812,71 +6267,36 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("breakWithNonEmptyStack.kt") - public void testBreakWithNonEmptyStack_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("breakWithNonEmptyStack.kt") public void testBreakWithNonEmptyStack_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt", "kotlin.coroutines"); } - @TestMetadata("delegate.kt") - public void testDelegate_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("delegate.kt") public void testDelegate_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines"); } - @TestMetadata("destructuringInLambdas.kt") - public void testDestructuringInLambdas_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/destructuringInLambdas.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("destructuringInLambdas.kt") public void testDestructuringInLambdas_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/destructuringInLambdas.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendFinally.kt") - public void testInlineSuspendFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/inlineSuspendFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendFinally.kt") public void testInlineSuspendFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/inlineSuspendFinally.kt", "kotlin.coroutines"); } - @TestMetadata("safeCallOnTwoReceiversLong.kt") - public void testSafeCallOnTwoReceiversLong_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/safeCallOnTwoReceiversLong.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("safeCallOnTwoReceiversLong.kt") public void testSafeCallOnTwoReceiversLong_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/safeCallOnTwoReceiversLong.kt", "kotlin.coroutines"); } - @TestMetadata("safeCallOnTwoReceivers.kt") - public void testSafeCallOnTwoReceivers_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/safeCallOnTwoReceivers.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("safeCallOnTwoReceivers.kt") public void testSafeCallOnTwoReceivers_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/safeCallOnTwoReceivers.kt", "kotlin.coroutines"); } - @TestMetadata("suspendDestructuringInLambdas.kt") - public void testSuspendDestructuringInLambdas_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendDestructuringInLambdas.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendDestructuringInLambdas.kt") public void testSuspendDestructuringInLambdas_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendDestructuringInLambdas.kt", "kotlin.coroutines"); @@ -6892,41 +6312,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt"); } - @TestMetadata("suspendInlineSuspendFinally.kt") - public void testSuspendInlineSuspendFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendInlineSuspendFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInlineSuspendFinally.kt") public void testSuspendInlineSuspendFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendInlineSuspendFinally.kt", "kotlin.coroutines"); } - @TestMetadata("suspendOperatorPlusAssign.kt") - public void testSuspendOperatorPlusAssign_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlusAssign.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendOperatorPlusAssign.kt") public void testSuspendOperatorPlusAssign_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlusAssign.kt", "kotlin.coroutines"); } - @TestMetadata("suspendOperatorPlusCallFromLambda.kt") - public void testSuspendOperatorPlusCallFromLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlusCallFromLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendOperatorPlusCallFromLambda.kt") public void testSuspendOperatorPlusCallFromLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlusCallFromLambda.kt", "kotlin.coroutines"); } - @TestMetadata("suspendOperatorPlus.kt") - public void testSuspendOperatorPlus_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlus.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendOperatorPlus.kt") public void testSuspendOperatorPlus_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendOperatorPlus.kt", "kotlin.coroutines"); @@ -7040,131 +6440,66 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("controlFlowIf.kt") - public void testControlFlowIf_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("controlFlowIf.kt") public void testControlFlowIf_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt", "kotlin.coroutines"); } - @TestMetadata("controlFlowWhen.kt") - public void testControlFlowWhen_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("controlFlowWhen.kt") public void testControlFlowWhen_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt", "kotlin.coroutines"); } - @TestMetadata("extention.kt") - public void testExtention_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("extention.kt") public void testExtention_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt", "kotlin.coroutines"); } - @TestMetadata("infixCall.kt") - public void testInfixCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("infixCall.kt") public void testInfixCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt", "kotlin.coroutines"); } - @TestMetadata("infixRecursiveCall.kt") - public void testInfixRecursiveCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("infixRecursiveCall.kt") public void testInfixRecursiveCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt", "kotlin.coroutines"); } - @TestMetadata("realIteratorFoldl.kt") - public void testRealIteratorFoldl_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("realIteratorFoldl.kt") public void testRealIteratorFoldl_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt", "kotlin.coroutines"); } - @TestMetadata("realStringEscape.kt") - public void testRealStringEscape_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("realStringEscape.kt") public void testRealStringEscape_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt", "kotlin.coroutines"); } - @TestMetadata("realStringRepeat.kt") - public void testRealStringRepeat_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("realStringRepeat.kt") public void testRealStringRepeat_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt", "kotlin.coroutines"); } - @TestMetadata("returnInParentheses.kt") - public void testReturnInParentheses_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnInParentheses.kt") public void testReturnInParentheses_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt", "kotlin.coroutines"); } - @TestMetadata("sum.kt") - public void testSum_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("sum.kt") public void testSum_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt", "kotlin.coroutines"); } - @TestMetadata("tailCallInBlockInParentheses.kt") - public void testTailCallInBlockInParentheses_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tailCallInBlockInParentheses.kt") public void testTailCallInBlockInParentheses_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt", "kotlin.coroutines"); } - @TestMetadata("tailCallInParentheses.kt") - public void testTailCallInParentheses_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tailCallInParentheses.kt") public void testTailCallInParentheses_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt", "kotlin.coroutines"); } - @TestMetadata("whenWithIs.kt") - public void testWhenWithIs_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("whenWithIs.kt") public void testWhenWithIs_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt", "kotlin.coroutines"); @@ -7188,21 +6523,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("bridgeGenerationCrossinline.kt") - public void testBridgeGenerationCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("bridgeGenerationCrossinline.kt") public void testBridgeGenerationCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("bridgeGenerationNonInline.kt") - public void testBridgeGenerationNonInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationNonInline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("bridgeGenerationNonInline.kt") public void testBridgeGenerationNonInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationNonInline.kt", "kotlin.coroutines"); @@ -7225,101 +6550,51 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intLikeVarSpilling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("complicatedMerge.kt") - public void testComplicatedMerge_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/complicatedMerge.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("complicatedMerge.kt") public void testComplicatedMerge_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/complicatedMerge.kt", "kotlin.coroutines"); } - @TestMetadata("i2bResult.kt") - public void testI2bResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/i2bResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("i2bResult.kt") public void testI2bResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/i2bResult.kt", "kotlin.coroutines"); } - @TestMetadata("loadFromBooleanArray.kt") - public void testLoadFromBooleanArray_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/loadFromBooleanArray.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("loadFromBooleanArray.kt") public void testLoadFromBooleanArray_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/loadFromBooleanArray.kt", "kotlin.coroutines"); } - @TestMetadata("loadFromByteArray.kt") - public void testLoadFromByteArray_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/loadFromByteArray.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("loadFromByteArray.kt") public void testLoadFromByteArray_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/loadFromByteArray.kt", "kotlin.coroutines"); } - @TestMetadata("noVariableInTable.kt") - public void testNoVariableInTable_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/noVariableInTable.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("noVariableInTable.kt") public void testNoVariableInTable_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/noVariableInTable.kt", "kotlin.coroutines"); } - @TestMetadata("sameIconst1ManyVars.kt") - public void testSameIconst1ManyVars_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/sameIconst1ManyVars.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("sameIconst1ManyVars.kt") public void testSameIconst1ManyVars_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/sameIconst1ManyVars.kt", "kotlin.coroutines"); } - @TestMetadata("usedInArrayStore.kt") - public void testUsedInArrayStore_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInArrayStore.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInArrayStore.kt") public void testUsedInArrayStore_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInArrayStore.kt", "kotlin.coroutines"); } - @TestMetadata("usedInMethodCall.kt") - public void testUsedInMethodCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInMethodCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInMethodCall.kt") public void testUsedInMethodCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInMethodCall.kt", "kotlin.coroutines"); } - @TestMetadata("usedInPutfield.kt") - public void testUsedInPutfield_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInPutfield.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInPutfield.kt") public void testUsedInPutfield_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInPutfield.kt", "kotlin.coroutines"); } - @TestMetadata("usedInVarStore.kt") - public void testUsedInVarStore_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInVarStore.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInVarStore.kt") public void testUsedInVarStore_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInVarStore.kt", "kotlin.coroutines"); @@ -7342,81 +6617,41 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intrinsicSemantics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("coroutineContextReceiverNotIntrinsic.kt") - public void testCoroutineContextReceiverNotIntrinsic_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContextReceiverNotIntrinsic.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineContextReceiverNotIntrinsic.kt") public void testCoroutineContextReceiverNotIntrinsic_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContextReceiverNotIntrinsic.kt", "kotlin.coroutines"); } - @TestMetadata("coroutineContextReceiver.kt") - public void testCoroutineContextReceiver_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContextReceiver.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineContextReceiver.kt") public void testCoroutineContextReceiver_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContextReceiver.kt", "kotlin.coroutines"); } - @TestMetadata("coroutineContext.kt") - public void testCoroutineContext_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContext.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineContext.kt") public void testCoroutineContext_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/coroutineContext.kt", "kotlin.coroutines"); } - @TestMetadata("intercepted.kt") - public void testIntercepted_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("intercepted.kt") public void testIntercepted_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt", "kotlin.coroutines"); } - @TestMetadata("startCoroutineUninterceptedOrReturnInterception.kt") - public void testStartCoroutineUninterceptedOrReturnInterception_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutineUninterceptedOrReturnInterception.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("startCoroutineUninterceptedOrReturnInterception.kt") public void testStartCoroutineUninterceptedOrReturnInterception_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutineUninterceptedOrReturnInterception.kt", "kotlin.coroutines"); } - @TestMetadata("startCoroutineUninterceptedOrReturn.kt") - public void testStartCoroutineUninterceptedOrReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutineUninterceptedOrReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("startCoroutineUninterceptedOrReturn.kt") public void testStartCoroutineUninterceptedOrReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutineUninterceptedOrReturn.kt", "kotlin.coroutines"); } - @TestMetadata("startCoroutine.kt") - public void testStartCoroutine_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutine.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("startCoroutine.kt") public void testStartCoroutine_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/startCoroutine.kt", "kotlin.coroutines"); } - @TestMetadata("suspendCoroutineUninterceptedOrReturn.kt") - public void testSuspendCoroutineUninterceptedOrReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/suspendCoroutineUninterceptedOrReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendCoroutineUninterceptedOrReturn.kt") public void testSuspendCoroutineUninterceptedOrReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/intrinsicSemantics/suspendCoroutineUninterceptedOrReturn.kt", "kotlin.coroutines"); @@ -7439,51 +6674,26 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/javaInterop"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("objectWithSeveralSuspends.kt") - public void testObjectWithSeveralSuspends_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/objectWithSeveralSuspends.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("objectWithSeveralSuspends.kt") public void testObjectWithSeveralSuspends_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/objectWithSeveralSuspends.kt", "kotlin.coroutines"); } - @TestMetadata("returnLambda.kt") - public void testReturnLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/returnLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnLambda.kt") public void testReturnLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/returnLambda.kt", "kotlin.coroutines"); } - @TestMetadata("returnObject.kt") - public void testReturnObject_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/returnObject.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnObject.kt") public void testReturnObject_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/returnObject.kt", "kotlin.coroutines"); } - @TestMetadata("severalCaptures.kt") - public void testSeveralCaptures_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/severalCaptures.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("severalCaptures.kt") public void testSeveralCaptures_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/severalCaptures.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInlineWithCrossinline.kt") - public void testSuspendInlineWithCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/suspendInlineWithCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInlineWithCrossinline.kt") public void testSuspendInlineWithCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/suspendInlineWithCrossinline.kt", "kotlin.coroutines"); @@ -7536,61 +6746,31 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("capturedParameters.kt") - public void testCapturedParameters_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("capturedParameters.kt") public void testCapturedParameters_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt", "kotlin.coroutines"); } - @TestMetadata("capturedVariables.kt") - public void testCapturedVariables_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("capturedVariables.kt") public void testCapturedVariables_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt", "kotlin.coroutines"); } - @TestMetadata("extension.kt") - public void testExtension_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("extension.kt") public void testExtension_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt", "kotlin.coroutines"); } - @TestMetadata("infix.kt") - public void testInfix_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/infix.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("infix.kt") public void testInfix_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/infix.kt", "kotlin.coroutines"); } - @TestMetadata("insideLambda.kt") - public void testInsideLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/insideLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("insideLambda.kt") public void testInsideLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/insideLambda.kt", "kotlin.coroutines"); } - @TestMetadata("nestedLocals.kt") - public void testNestedLocals_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/nestedLocals.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nestedLocals.kt") public void testNestedLocals_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/nestedLocals.kt", "kotlin.coroutines"); @@ -7601,41 +6781,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/rec.kt"); } - @TestMetadata("simpleSuspensionPoint.kt") - public void testSimpleSuspensionPoint_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/simpleSuspensionPoint.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simpleSuspensionPoint.kt") public void testSimpleSuspensionPoint_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/simpleSuspensionPoint.kt", "kotlin.coroutines"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/simple.kt", "kotlin.coroutines"); } - @TestMetadata("stateMachine.kt") - public void testStateMachine_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/stateMachine.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("stateMachine.kt") public void testStateMachine_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/stateMachine.kt", "kotlin.coroutines"); } - @TestMetadata("withArguments.kt") - public void testWithArguments_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/withArguments.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("withArguments.kt") public void testWithArguments_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localFunctions/named/withArguments.kt", "kotlin.coroutines"); @@ -7659,71 +6819,36 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("inlineCrossModule.kt") - public void testInlineCrossModule_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineCrossModule.kt") public void testInlineCrossModule_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt", "kotlin.coroutines"); } - @TestMetadata("inlineFunctionWithOptionalParam.kt") - public void testInlineFunctionWithOptionalParam_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineFunctionWithOptionalParam.kt") public void testInlineFunctionWithOptionalParam_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineFunctionWithOptionalParam.kt", "kotlin.coroutines"); } - @TestMetadata("inlineMultiModuleOverride.kt") - public void testInlineMultiModuleOverride_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineMultiModuleOverride.kt") public void testInlineMultiModuleOverride_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt", "kotlin.coroutines"); } - @TestMetadata("inlineMultiModuleWithController.kt") - public void testInlineMultiModuleWithController_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineMultiModuleWithController.kt") public void testInlineMultiModuleWithController_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt", "kotlin.coroutines"); } - @TestMetadata("inlineMultiModuleWithInnerInlining.kt") - public void testInlineMultiModuleWithInnerInlining_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineMultiModuleWithInnerInlining.kt") public void testInlineMultiModuleWithInnerInlining_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt", "kotlin.coroutines"); } - @TestMetadata("inlineMultiModule.kt") - public void testInlineMultiModule_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineMultiModule.kt") public void testInlineMultiModule_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt", "kotlin.coroutines"); } - @TestMetadata("inlineTailCall.kt") - public void testInlineTailCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineTailCall.kt") public void testInlineTailCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt", "kotlin.coroutines"); @@ -7739,11 +6864,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava_1_2.kt"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/multiModule/simple.kt", "kotlin.coroutines"); @@ -7766,61 +6886,31 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/noStdLib"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("breakFinally.kt") - public void testBreakFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/breakFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("breakFinally.kt") public void testBreakFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/breakFinally.kt", "kotlin.coroutines"); } - @TestMetadata("breakStatement.kt") - public void testBreakStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/breakStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("breakStatement.kt") public void testBreakStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/breakStatement.kt", "kotlin.coroutines"); } - @TestMetadata("crossinline.kt") - public void testCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("crossinline.kt") public void testCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/crossinline.kt", "kotlin.coroutines"); } - @TestMetadata("ifStatement.kt") - public void testIfStatement_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/ifStatement.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("ifStatement.kt") public void testIfStatement_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/ifStatement.kt", "kotlin.coroutines"); } - @TestMetadata("stateMachine.kt") - public void testStateMachine_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/stateMachine.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("stateMachine.kt") public void testStateMachine_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/stateMachine.kt", "kotlin.coroutines"); } - @TestMetadata("switchLikeWhen.kt") - public void testSwitchLikeWhen_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/switchLikeWhen.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("switchLikeWhen.kt") public void testSwitchLikeWhen_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/noStdLib/switchLikeWhen.kt", "kotlin.coroutines"); @@ -7843,11 +6933,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/redundantLocalsElimination"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("ktor_receivedMessage.kt") - public void testKtor_receivedMessage_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("ktor_receivedMessage.kt") public void testKtor_receivedMessage_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt", "kotlin.coroutines"); @@ -7898,61 +6983,31 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/stackUnwinding"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("exception.kt") - public void testException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/exception.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("exception.kt") public void testException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/exception.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendFunction.kt") - public void testInlineSuspendFunction_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/inlineSuspendFunction.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendFunction.kt") public void testInlineSuspendFunction_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/inlineSuspendFunction.kt", "kotlin.coroutines"); } - @TestMetadata("rethrowInFinallyWithSuspension.kt") - public void testRethrowInFinallyWithSuspension_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("rethrowInFinallyWithSuspension.kt") public void testRethrowInFinallyWithSuspension_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinallyWithSuspension.kt", "kotlin.coroutines"); } - @TestMetadata("rethrowInFinally.kt") - public void testRethrowInFinally_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("rethrowInFinally.kt") public void testRethrowInFinally_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/rethrowInFinally.kt", "kotlin.coroutines"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/simple.kt", "kotlin.coroutines"); } - @TestMetadata("suspendInCycle.kt") - public void testSuspendInCycle_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/suspendInCycle.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendInCycle.kt") public void testSuspendInCycle_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/stackUnwinding/suspendInCycle.kt", "kotlin.coroutines"); @@ -7975,21 +7030,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("dispatchResume.kt") - public void testDispatchResume_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/dispatchResume.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("dispatchResume.kt") public void testDispatchResume_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/dispatchResume.kt", "kotlin.coroutines"); } - @TestMetadata("handleException.kt") - public void testHandleException_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("handleException.kt") public void testHandleException_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt", "kotlin.coroutines"); @@ -8005,41 +7050,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine_1_3.kt"); } - @TestMetadata("inlineTwoReceivers.kt") - public void testInlineTwoReceivers_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineTwoReceivers.kt") public void testInlineTwoReceivers_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt", "kotlin.coroutines"); } - @TestMetadata("inline.kt") - public void testInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inline.kt") public void testInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inline.kt", "kotlin.coroutines"); } - @TestMetadata("member.kt") - public void testMember_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/member.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("member.kt") public void testMember_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/member.kt", "kotlin.coroutines"); } - @TestMetadata("noinlineTwoReceivers.kt") - public void testNoinlineTwoReceivers_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("noinlineTwoReceivers.kt") public void testNoinlineTwoReceivers_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt", "kotlin.coroutines"); @@ -8055,91 +7080,46 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/openFunWithJava_1_2.kt"); } - @TestMetadata("operators.kt") - public void testOperators_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/operators.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("operators.kt") public void testOperators_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/operators.kt", "kotlin.coroutines"); } - @TestMetadata("privateFunctions.kt") - public void testPrivateFunctions_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/privateFunctions.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("privateFunctions.kt") public void testPrivateFunctions_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/privateFunctions.kt", "kotlin.coroutines"); } - @TestMetadata("privateInFile.kt") - public void testPrivateInFile_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/privateInFile.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("privateInFile.kt") public void testPrivateInFile_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/privateInFile.kt", "kotlin.coroutines"); } - @TestMetadata("returnNoSuspend.kt") - public void testReturnNoSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnNoSuspend.kt") public void testReturnNoSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/simple.kt", "kotlin.coroutines"); } - @TestMetadata("superCallAbstractClass.kt") - public void testSuperCallAbstractClass_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallAbstractClass.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("superCallAbstractClass.kt") public void testSuperCallAbstractClass_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallAbstractClass.kt", "kotlin.coroutines"); } - @TestMetadata("superCallInterface.kt") - public void testSuperCallInterface_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallInterface.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("superCallInterface.kt") public void testSuperCallInterface_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallInterface.kt", "kotlin.coroutines"); } - @TestMetadata("superCall.kt") - public void testSuperCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("superCall.kt") public void testSuperCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCall.kt", "kotlin.coroutines"); } - @TestMetadata("withVariables.kt") - public void testWithVariables_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/withVariables.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("withVariables.kt") public void testWithVariables_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/withVariables.kt", "kotlin.coroutines"); @@ -8162,41 +7142,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("localVal.kt") - public void testLocalVal_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/localVal.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("localVal.kt") public void testLocalVal_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/localVal.kt", "kotlin.coroutines"); } - @TestMetadata("manyParameters.kt") - public void testManyParameters_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/manyParameters.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("manyParameters.kt") public void testManyParameters_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/manyParameters.kt", "kotlin.coroutines"); } - @TestMetadata("simple.kt") - public void testSimple_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/simple.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("simple.kt") public void testSimple_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/simple.kt", "kotlin.coroutines"); } - @TestMetadata("suspendModifier.kt") - public void testSuspendModifier_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/suspendModifier.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendModifier.kt") public void testSuspendModifier_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall/suspendModifier.kt", "kotlin.coroutines"); @@ -8224,11 +7184,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/also.kt"); } - @TestMetadata("crossinline.kt") - public void testCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("crossinline.kt") public void testCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt", "kotlin.coroutines"); @@ -8239,21 +7194,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithStateMachine.kt"); } - @TestMetadata("inlineWithoutStateMachine.kt") - public void testInlineWithoutStateMachine_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineWithoutStateMachine.kt") public void testInlineWithoutStateMachine_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines"); } - @TestMetadata("innerObjectRetransformation.kt") - public void testInnerObjectRetransformation_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObjectRetransformation.kt") public void testInnerObjectRetransformation_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines"); @@ -8284,11 +7229,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatchTailCall.kt"); } - @TestMetadata("tryCatch.kt") - public void testTryCatch_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryCatch.kt") public void testTryCatch_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt", "kotlin.coroutines"); @@ -8321,41 +7261,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailOperations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("suspendWithIf.kt") - public void testSuspendWithIf_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithIf.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendWithIf.kt") public void testSuspendWithIf_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithIf.kt", "kotlin.coroutines"); } - @TestMetadata("suspendWithTryCatch.kt") - public void testSuspendWithTryCatch_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithTryCatch.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendWithTryCatch.kt") public void testSuspendWithTryCatch_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithTryCatch.kt", "kotlin.coroutines"); } - @TestMetadata("suspendWithWhen.kt") - public void testSuspendWithWhen_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithWhen.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendWithWhen.kt") public void testSuspendWithWhen_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/suspendWithWhen.kt", "kotlin.coroutines"); } - @TestMetadata("tailInlining.kt") - public void testTailInlining_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/tailInlining.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tailInlining.kt") public void testTailInlining_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailOperations/tailInlining.kt", "kotlin.coroutines"); @@ -8378,51 +7298,26 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/unitTypeReturn"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("coroutineNonLocalReturn.kt") - public void testCoroutineNonLocalReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/coroutineNonLocalReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineNonLocalReturn.kt") public void testCoroutineNonLocalReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/coroutineNonLocalReturn.kt", "kotlin.coroutines"); } - @TestMetadata("coroutineReturn.kt") - public void testCoroutineReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/coroutineReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutineReturn.kt") public void testCoroutineReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/coroutineReturn.kt", "kotlin.coroutines"); } - @TestMetadata("suspendNonLocalReturn.kt") - public void testSuspendNonLocalReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/suspendNonLocalReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendNonLocalReturn.kt") public void testSuspendNonLocalReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/suspendNonLocalReturn.kt", "kotlin.coroutines"); } - @TestMetadata("suspendReturn.kt") - public void testSuspendReturn_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/suspendReturn.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("suspendReturn.kt") public void testSuspendReturn_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/suspendReturn.kt", "kotlin.coroutines"); } - @TestMetadata("unitSafeCall.kt") - public void testUnitSafeCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/unitSafeCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("unitSafeCall.kt") public void testUnitSafeCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/unitTypeReturn/unitSafeCall.kt", "kotlin.coroutines"); @@ -8445,21 +7340,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("kt19475.kt") - public void testKt19475_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("kt19475.kt") public void testKt19475_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt", "kotlin.coroutines"); } - @TestMetadata("nullSpilling.kt") - public void testNullSpilling_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/nullSpilling.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nullSpilling.kt") public void testNullSpilling_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/nullSpilling.kt", "kotlin.coroutines"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java index ebdcffacf63..55efdbd1c28 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java @@ -3460,31 +3460,16 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("capturedVariables.kt") - public void testCapturedVariables_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/capturedVariables.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("capturedVariables.kt") public void testCapturedVariables_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/capturedVariables.kt", "kotlin.coroutines"); } - @TestMetadata("crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt") - public void testCrossinlineSuspendLambdaInsideCrossinlineSuspendLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt") public void testCrossinlineSuspendLambdaInsideCrossinlineSuspendLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt", "kotlin.coroutines"); } - @TestMetadata("enclodingMethod.kt") - public void testEnclodingMethod_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/enclodingMethod.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("enclodingMethod.kt") public void testEnclodingMethod_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/enclodingMethod.kt", "kotlin.coroutines"); @@ -3495,91 +3480,46 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/suspend/fileNameInMetadata.kt"); } - @TestMetadata("inlineOrdinaryOfCrossinlineSuspend.kt") - public void testInlineOrdinaryOfCrossinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineOrdinaryOfCrossinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineOrdinaryOfCrossinlineSuspend.kt") public void testInlineOrdinaryOfCrossinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineOrdinaryOfCrossinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineOrdinaryOfNoinlineSuspend.kt") - public void testInlineOrdinaryOfNoinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineOrdinaryOfNoinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineOrdinaryOfNoinlineSuspend.kt") public void testInlineOrdinaryOfNoinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineOrdinaryOfNoinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendContinuation.kt") - public void testInlineSuspendContinuation_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendContinuation.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendContinuation.kt") public void testInlineSuspendContinuation_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendContinuation.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt") - public void testInlineSuspendOfCrossinlineOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfCrossinlineOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt") public void testInlineSuspendOfCrossinlineOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfCrossinlineOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfCrossinlineSuspend.kt") - public void testInlineSuspendOfCrossinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfCrossinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfCrossinlineSuspend.kt") public void testInlineSuspendOfCrossinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfCrossinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfNoinlineOrdinary.kt") - public void testInlineSuspendOfNoinlineOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfNoinlineOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfNoinlineOrdinary.kt") public void testInlineSuspendOfNoinlineOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfNoinlineOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfNoinlineSuspend.kt") - public void testInlineSuspendOfNoinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfNoinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfNoinlineSuspend.kt") public void testInlineSuspendOfNoinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfNoinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfOrdinary.kt") - public void testInlineSuspendOfOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfOrdinary.kt") public void testInlineSuspendOfOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfSuspend.kt") - public void testInlineSuspendOfSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfSuspend.kt") public void testInlineSuspendOfSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfSuspend.kt", "kotlin.coroutines"); @@ -3600,51 +3540,26 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/maxStackWithCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("multipleLocals.kt") - public void testMultipleLocals_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleLocals.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleLocals.kt") public void testMultipleLocals_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleLocals.kt", "kotlin.coroutines"); } - @TestMetadata("multipleSuspensionPoints.kt") - public void testMultipleSuspensionPoints_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleSuspensionPoints.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("multipleSuspensionPoints.kt") public void testMultipleSuspensionPoints_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleSuspensionPoints.kt", "kotlin.coroutines"); } - @TestMetadata("nonSuspendCrossinline.kt") - public void testNonSuspendCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/nonSuspendCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("nonSuspendCrossinline.kt") public void testNonSuspendCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/nonSuspendCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("returnValue.kt") - public void testReturnValue_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/returnValue.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnValue.kt") public void testReturnValue_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/returnValue.kt", "kotlin.coroutines"); } - @TestMetadata("tryCatchStackTransform.kt") - public void testTryCatchStackTransform_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/tryCatchStackTransform.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("tryCatchStackTransform.kt") public void testTryCatchStackTransform_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/tryCatchStackTransform.kt", "kotlin.coroutines"); @@ -3684,21 +3599,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("defaultValueCrossinline.kt") - public void testDefaultValueCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("defaultValueCrossinline.kt") public void testDefaultValueCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("defaultValueInline.kt") - public void testDefaultValueInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueInline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("defaultValueInline.kt") public void testDefaultValueInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueInline.kt", "kotlin.coroutines"); @@ -3744,81 +3649,41 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/receiver"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("inlineOrdinaryOfCrossinlineSuspend.kt") - public void testInlineOrdinaryOfCrossinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineOrdinaryOfCrossinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineOrdinaryOfCrossinlineSuspend.kt") public void testInlineOrdinaryOfCrossinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineOrdinaryOfCrossinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineOrdinaryOfNoinlineSuspend.kt") - public void testInlineOrdinaryOfNoinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineOrdinaryOfNoinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineOrdinaryOfNoinlineSuspend.kt") public void testInlineOrdinaryOfNoinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineOrdinaryOfNoinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt") - public void testInlineSuspendOfCrossinlineOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfCrossinlineOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt") public void testInlineSuspendOfCrossinlineOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfCrossinlineOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfCrossinlineSuspend.kt") - public void testInlineSuspendOfCrossinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfCrossinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfCrossinlineSuspend.kt") public void testInlineSuspendOfCrossinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfCrossinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfNoinlineOrdinary.kt") - public void testInlineSuspendOfNoinlineOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfNoinlineOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfNoinlineOrdinary.kt") public void testInlineSuspendOfNoinlineOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfNoinlineOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfNoinlineSuspend.kt") - public void testInlineSuspendOfNoinlineSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfNoinlineSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfNoinlineSuspend.kt") public void testInlineSuspendOfNoinlineSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfNoinlineSuspend.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfOrdinary.kt") - public void testInlineSuspendOfOrdinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfOrdinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfOrdinary.kt") public void testInlineSuspendOfOrdinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfOrdinary.kt", "kotlin.coroutines"); } - @TestMetadata("inlineSuspendOfSuspend.kt") - public void testInlineSuspendOfSuspend_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfSuspend.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("inlineSuspendOfSuspend.kt") public void testInlineSuspendOfSuspend_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/receiver/inlineSuspendOfSuspend.kt", "kotlin.coroutines"); @@ -3841,201 +3706,101 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/stateMachine"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("crossingCoroutineBoundaries.kt") - public void testCrossingCoroutineBoundaries_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/crossingCoroutineBoundaries.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("crossingCoroutineBoundaries.kt") public void testCrossingCoroutineBoundaries_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/crossingCoroutineBoundaries.kt", "kotlin.coroutines"); } - @TestMetadata("independentInline.kt") - public void testIndependentInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/independentInline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("independentInline.kt") public void testIndependentInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/independentInline.kt", "kotlin.coroutines"); } - @TestMetadata("innerLambdaInsideLambda.kt") - public void testInnerLambdaInsideLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambdaInsideLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerLambdaInsideLambda.kt") public void testInnerLambdaInsideLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambdaInsideLambda.kt", "kotlin.coroutines"); } - @TestMetadata("innerLambdaWithoutCrossinline.kt") - public void testInnerLambdaWithoutCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambdaWithoutCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerLambdaWithoutCrossinline.kt") public void testInnerLambdaWithoutCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambdaWithoutCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("innerLambda.kt") - public void testInnerLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerLambda.kt") public void testInnerLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerLambda.kt", "kotlin.coroutines"); } - @TestMetadata("innerMadnessCallSite.kt") - public void testInnerMadnessCallSite_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerMadnessCallSite.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerMadnessCallSite.kt") public void testInnerMadnessCallSite_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerMadnessCallSite.kt", "kotlin.coroutines"); } - @TestMetadata("innerMadness.kt") - public void testInnerMadness_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerMadness.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerMadness.kt") public void testInnerMadness_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerMadness.kt", "kotlin.coroutines"); } - @TestMetadata("innerObjectInsideInnerObject.kt") - public void testInnerObjectInsideInnerObject_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectInsideInnerObject.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObjectInsideInnerObject.kt") public void testInnerObjectInsideInnerObject_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectInsideInnerObject.kt", "kotlin.coroutines"); } - @TestMetadata("innerObjectRetransformation.kt") - public void testInnerObjectRetransformation_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectRetransformation.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObjectRetransformation.kt") public void testInnerObjectRetransformation_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectRetransformation.kt", "kotlin.coroutines"); } - @TestMetadata("innerObjectSeveralFunctions.kt") - public void testInnerObjectSeveralFunctions_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectSeveralFunctions.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObjectSeveralFunctions.kt") public void testInnerObjectSeveralFunctions_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectSeveralFunctions.kt", "kotlin.coroutines"); } - @TestMetadata("innerObjectWithoutCapturingCrossinline.kt") - public void testInnerObjectWithoutCapturingCrossinline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectWithoutCapturingCrossinline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObjectWithoutCapturingCrossinline.kt") public void testInnerObjectWithoutCapturingCrossinline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObjectWithoutCapturingCrossinline.kt", "kotlin.coroutines"); } - @TestMetadata("innerObject.kt") - public void testInnerObject_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObject.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("innerObject.kt") public void testInnerObject_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/innerObject.kt", "kotlin.coroutines"); } - @TestMetadata("insideObject.kt") - public void testInsideObject_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("insideObject.kt") public void testInsideObject_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt", "kotlin.coroutines"); } - @TestMetadata("normalInline.kt") - public void testNormalInline_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/normalInline.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("normalInline.kt") public void testNormalInline_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/normalInline.kt", "kotlin.coroutines"); } - @TestMetadata("numberOfSuspentions.kt") - public void testNumberOfSuspentions_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/numberOfSuspentions.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("numberOfSuspentions.kt") public void testNumberOfSuspentions_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/numberOfSuspentions.kt", "kotlin.coroutines"); } - @TestMetadata("objectInsideLambdas.kt") - public void testObjectInsideLambdas_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/objectInsideLambdas.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("objectInsideLambdas.kt") public void testObjectInsideLambdas_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/objectInsideLambdas.kt", "kotlin.coroutines"); } - @TestMetadata("oneInlineTwoCaptures.kt") - public void testOneInlineTwoCaptures_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/oneInlineTwoCaptures.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("oneInlineTwoCaptures.kt") public void testOneInlineTwoCaptures_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/oneInlineTwoCaptures.kt", "kotlin.coroutines"); } - @TestMetadata("passLambda.kt") - public void testPassLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("passLambda.kt") public void testPassLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passLambda.kt", "kotlin.coroutines"); } - @TestMetadata("passParameterLambda.kt") - public void testPassParameterLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passParameterLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("passParameterLambda.kt") public void testPassParameterLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passParameterLambda.kt", "kotlin.coroutines"); } - @TestMetadata("passParameter.kt") - public void testPassParameter_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passParameter.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("passParameter.kt") public void testPassParameter_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/stateMachine/passParameter.kt", "kotlin.coroutines"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBytecodeTextTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBytecodeTextTestGenerated.java index 74cc0c35f26..8d924eb9676 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBytecodeTextTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBytecodeTextTestGenerated.java @@ -1273,11 +1273,6 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest { runTest("compiler/testData/codegen/bytecodeText/coroutines/doNotReassignContinuation_1_2.kt"); } - @TestMetadata("returnUnitInLambda.kt") - public void testReturnUnitInLambda_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("returnUnitInLambda.kt") public void testReturnUnitInLambda_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt", "kotlin.coroutines"); @@ -1375,101 +1370,51 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true); } - @TestMetadata("complicatedMerge.kt") - public void testComplicatedMerge_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/complicatedMerge.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("complicatedMerge.kt") public void testComplicatedMerge_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/complicatedMerge.kt", "kotlin.coroutines"); } - @TestMetadata("i2bResult.kt") - public void testI2bResult_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/i2bResult.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("i2bResult.kt") public void testI2bResult_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/i2bResult.kt", "kotlin.coroutines"); } - @TestMetadata("loadFromBooleanArray.kt") - public void testLoadFromBooleanArray_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/loadFromBooleanArray.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("loadFromBooleanArray.kt") public void testLoadFromBooleanArray_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/loadFromBooleanArray.kt", "kotlin.coroutines"); } - @TestMetadata("loadFromByteArray.kt") - public void testLoadFromByteArray_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/loadFromByteArray.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("loadFromByteArray.kt") public void testLoadFromByteArray_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/loadFromByteArray.kt", "kotlin.coroutines"); } - @TestMetadata("noVariableInTable.kt") - public void testNoVariableInTable_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/noVariableInTable.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("noVariableInTable.kt") public void testNoVariableInTable_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/noVariableInTable.kt", "kotlin.coroutines"); } - @TestMetadata("sameIconst1ManyVars.kt") - public void testSameIconst1ManyVars_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/sameIconst1ManyVars.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("sameIconst1ManyVars.kt") public void testSameIconst1ManyVars_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/sameIconst1ManyVars.kt", "kotlin.coroutines"); } - @TestMetadata("usedInArrayStore.kt") - public void testUsedInArrayStore_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInArrayStore.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInArrayStore.kt") public void testUsedInArrayStore_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInArrayStore.kt", "kotlin.coroutines"); } - @TestMetadata("usedInMethodCall.kt") - public void testUsedInMethodCall_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInMethodCall.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInMethodCall.kt") public void testUsedInMethodCall_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInMethodCall.kt", "kotlin.coroutines"); } - @TestMetadata("usedInPutfield.kt") - public void testUsedInPutfield_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInPutfield.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInPutfield.kt") public void testUsedInPutfield_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInPutfield.kt", "kotlin.coroutines"); } - @TestMetadata("usedInVarStore.kt") - public void testUsedInVarStore_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInVarStore.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("usedInVarStore.kt") public void testUsedInVarStore_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling/usedInVarStore.kt", "kotlin.coroutines"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstKotlinTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstKotlinTestGenerated.java index 20d0460d216..4df8ce1c475 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstKotlinTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstKotlinTestGenerated.java @@ -93,11 +93,6 @@ public class IrCompileKotlinAgainstKotlinTestGenerated extends AbstractIrCompile runTest("compiler/testData/compileKotlinAgainstKotlin/copySamOnInline2.kt"); } - @TestMetadata("coroutinesBinary.kt") - public void testCoroutinesBinary_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/compileKotlinAgainstKotlin/coroutinesBinary.kt", "kotlin.coroutines.experimental"); - } - @TestMetadata("coroutinesBinary.kt") public void testCoroutinesBinary_1_3() throws Exception { runTestWithPackageReplacement("compiler/testData/compileKotlinAgainstKotlin/coroutinesBinary.kt", "kotlin.coroutines"); diff --git a/generators/test-generator/tests/org/jetbrains/kotlin/generators/util/coroutines.kt b/generators/test-generator/tests/org/jetbrains/kotlin/generators/util/coroutines.kt index e1c81954c50..893dc513694 100644 --- a/generators/test-generator/tests/org/jetbrains/kotlin/generators/util/coroutines.kt +++ b/generators/test-generator/tests/org/jetbrains/kotlin/generators/util/coroutines.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -54,7 +54,7 @@ fun createCommonCoroutinesTestMethodModels( targetBackend: TargetBackend, skipIgnored: Boolean ): Collection { - return if (targetBackend == TargetBackend.JS_IR) + return if (targetBackend == TargetBackend.JS_IR || targetBackend == TargetBackend.JVM_IR) listOf( CoroutinesTestModel( rootDir,