From 0579b52d6be19c979f94d81ca2a9a389c490ea13 Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Wed, 11 Jul 2018 17:57:28 +0300 Subject: [PATCH] JS: enabled codegen box tests for release coroutines --- .../createCoroutinesOnManualInstances.kt | 7 +- .../createCoroutinesOnManualInstances_1_2.kt | 95 ++ .../ir/IrBlackBoxCodegenTestGenerated.java | 10 +- .../codegen/BlackBoxCodegenTestGenerated.java | 10 +- .../LightAnalysisModeTestGenerated.java | 10 +- .../kotlin/generators/util/coroutines.kt | 2 +- .../jetbrains/kotlin/js/test/BasicBoxTest.kt | 60 +- .../IrJsCodegenBoxTestGenerated.java | 7 +- .../semantics/JsCodegenBoxTestGenerated.java | 1027 ++++++++++++++++- 9 files changed, 1175 insertions(+), 53 deletions(-) create mode 100644 compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt diff --git a/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt b/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt index 944ebcbc927..810b6cda407 100644 --- a/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt +++ b/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt @@ -1,11 +1,10 @@ +// LANGUAGE_VERSION: 1.3 // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES -// IGNORE_BACKEND: JS -// COMMON_COROUTINES_TEST -import COROUTINES_PACKAGE.* -import COROUTINES_PACKAGE.intrinsics.COROUTINE_SUSPENDED +import kotlin.coroutines.* +import kotlin.coroutines.intrinsics.COROUTINE_SUSPENDED fun runCustomLambdaAsCoroutine(e: Throwable? = null, x: (Continuation) -> Any?): String { var result = "fail" diff --git a/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt b/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt new file mode 100644 index 00000000000..6bc06b1ece1 --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt @@ -0,0 +1,95 @@ +// IGNORE_BACKEND: JS_IR +// WITH_RUNTIME +// WITH_COROUTINES +// IGNORE_BACKEND: JS +import kotlin.coroutines.experimental.* +import kotlin.coroutines.experimental.intrinsics.COROUTINE_SUSPENDED + +fun runCustomLambdaAsCoroutine(e: Throwable? = null, x: (Continuation) -> Any?): String { + var result = "fail" + var wasIntercepted = false + val c = (x as suspend () -> String).createCoroutine(object: helpers.ContinuationAdapter() { + override fun resumeWithException(exception: Throwable) { + throw exception + } + + override val context: CoroutineContext + get() = object: ContinuationInterceptor { + override fun fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R { + throw IllegalStateException() + } + + override fun get(key: CoroutineContext.Key): E? { + if (key == ContinuationInterceptor.Key) { + return this as E + } + return null + } + + override fun interceptContinuation(continuation: Continuation) = object : helpers.ContinuationAdapter() { + override val context: CoroutineContext + get() = continuation.context + + override fun resume(value: T) { + wasIntercepted = true + continuation.resume(value) + } + + override fun resumeWithException(exception: Throwable) { + wasIntercepted = true + continuation.resumeWithException(exception) + } + } + + override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext { + throw IllegalStateException() + } + + override fun plus(context: CoroutineContext): CoroutineContext { + throw IllegalStateException() + } + + override val key: CoroutineContext.Key<*> + get() = ContinuationInterceptor.Key + } + + override fun resume(value: String) { + result = value + } + }) + + if (e != null) + c.resumeWithException(e) + else + c.resume(Unit) + + if (!wasIntercepted) return "was not intercepted" + + return result +} + +fun box(): String { + val x = runCustomLambdaAsCoroutine { + it.resume("OK") + COROUTINE_SUSPENDED + } + + if (x != "OK") return "fail 1: $x" + + val y = runCustomLambdaAsCoroutine { + "OK" + } + + if (y != "OK") return "fail 2: $x" + + + try { + runCustomLambdaAsCoroutine(RuntimeException("OK")) { + throw RuntimeException("fail 3") + } + } catch(e: Exception) { + return e.message!! + } + + return "fail 3" +} diff --git a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java index f0152761af4..d5b21dd20a4 100644 --- a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java @@ -5340,13 +5340,13 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes } @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines.experimental"); + public void testCreateCoroutinesOnManualInstances() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt"); } - @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_3() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines"); + @TestMetadata("createCoroutinesOnManualInstances_1_2.kt") + public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java index 93e588b2ce9..c7843d8af41 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java @@ -5340,13 +5340,13 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { } @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines.experimental"); + public void testCreateCoroutinesOnManualInstances() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt"); } - @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_3() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines"); + @TestMetadata("createCoroutinesOnManualInstances_1_2.kt") + public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 63227c1eba5..9e75938993d 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -5340,13 +5340,13 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes } @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines.experimental"); + public void testCreateCoroutinesOnManualInstances() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt"); } - @TestMetadata("createCoroutinesOnManualInstances.kt") - public void testCreateCoroutinesOnManualInstances_1_3() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines"); + @TestMetadata("createCoroutinesOnManualInstances_1_2.kt") + public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") 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 5d26530dd1f..8aa813f4fcd 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 @@ -54,7 +54,7 @@ fun createCommonCoroutinesTestMethodModels( targetBackend: TargetBackend, skipIgnored: Boolean ): Collection { - return if (targetBackend == TargetBackend.JS || targetBackend == TargetBackend.JS_IR) + return if (targetBackend == TargetBackend.JS_IR) listOf( CoroutinesTestModel( rootDir, diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt b/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt index ddb4e9a6097..139fb07c023 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt @@ -12,6 +12,7 @@ import com.intellij.openapi.vfs.StandardFileSystems import com.intellij.openapi.vfs.VirtualFileManager import com.intellij.psi.PsiManager import junit.framework.TestCase +import org.jetbrains.kotlin.checkers.CompilerTestLanguageVersionSettings import org.jetbrains.kotlin.checkers.parseLanguageVersionSettings import org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport import org.jetbrains.kotlin.cli.common.messages.MessageRenderer @@ -19,10 +20,7 @@ import org.jetbrains.kotlin.cli.common.messages.PrintingMessageCollector import org.jetbrains.kotlin.cli.common.output.outputUtils.writeAllTo import org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment -import org.jetbrains.kotlin.config.CommonConfigurationKeys -import org.jetbrains.kotlin.config.CompilerConfiguration -import org.jetbrains.kotlin.config.LanguageVersionSettings -import org.jetbrains.kotlin.config.languageVersionSettings +import org.jetbrains.kotlin.config.* import org.jetbrains.kotlin.idea.KotlinFileType import org.jetbrains.kotlin.incremental.js.IncrementalDataProviderImpl import org.jetbrains.kotlin.incremental.js.IncrementalResultsConsumerImpl @@ -90,24 +88,23 @@ abstract class BasicBoxTest( doTest(filePath, "OK", MainCallParameters.noCall()) } - fun doTestWithCoroutinesPackageReplacement(filePath: String, packageName: String) { - if (packageName == "kotlin.coroutines") return // TODO: Support JS in kotlin-stdlib-coroutines - doTest(filePath, "OK", MainCallParameters.noCall(), packageName) + fun doTestWithCoroutinesPackageReplacement(filePath: String, coroutinesPackage: String) { + doTest(filePath, "OK", MainCallParameters.noCall(), coroutinesPackage) } - fun doTest(filePath: String, expectedResult: String, mainCallParameters: MainCallParameters, packageName: String = "") { + fun doTest(filePath: String, expectedResult: String, mainCallParameters: MainCallParameters, coroutinesPackage: String = "") { val file = File(filePath) val outputDir = getOutputDir(file) var fileContent = KotlinTestUtils.doLoadFile(file) - if (packageName.isNotEmpty()) { - fileContent = fileContent.replace("COROUTINES_PACKAGE", packageName) + if (coroutinesPackage.isNotEmpty()) { + fileContent = fileContent.replace("COROUTINES_PACKAGE", coroutinesPackage) } val outputPrefixFile = getOutputPrefixFile(filePath) val outputPostfixFile = getOutputPostfixFile(filePath) - TestFileFactoryImpl().use { testFactory -> - val inputFiles = KotlinTestUtils.createTestFiles(file.name, fileContent, testFactory, true, "") + TestFileFactoryImpl(coroutinesPackage).use { testFactory -> + val inputFiles = KotlinTestUtils.createTestFiles(file.name, fileContent, testFactory, true, coroutinesPackage) val modules = inputFiles .map { it.module }.distinct() .map { it.name to it }.toMap() @@ -637,10 +634,11 @@ abstract class BasicBoxTest( TestCase.assertEquals(expectedResult, result) } - private inner class TestFileFactoryImpl : TestFileFactory, Closeable { + private inner class TestFileFactoryImpl(val coroutinesPackage: String) : TestFileFactory, Closeable { var testPackage: String? = null val tmpDir = KotlinTestUtils.tmpDir("js-tests") val defaultModule = TestModule(TEST_MODULE, emptyList(), emptyList()) + var languageVersionSettings: LanguageVersionSettings? = null override fun createFile(module: TestModule?, fileName: String, text: String, directives: Map): TestFile? { val currentModule = module ?: defaultModule @@ -667,10 +665,38 @@ abstract class BasicBoxTest( KotlinTestUtils.mkdirs(temporaryFile.parentFile) temporaryFile.writeText(text, Charsets.UTF_8) - val old = currentModule.languageVersionSettings - val new = parseLanguageVersionSettings(directives) - assert(old == null || old == new) { "Should not specify language version settings twice:\n$old\n$new" } - currentModule.languageVersionSettings = new + // TODO Deduplicate logic copied from CodegenTestCase.updateConfigurationByDirectivesInTestFiles + fun LanguageVersion.toSettings() = CompilerTestLanguageVersionSettings( + emptyMap(), + ApiVersion.createByLanguageVersion(this), + this, + emptyMap() + ) + + fun LanguageVersionSettings.trySet() { + val old = languageVersionSettings + assert(old == null || old == this) { "Should not specify language version settings twice:\n$old\n$this" } + languageVersionSettings = this + } + InTextDirectivesUtils.findStringWithPrefixes(text, "// LANGUAGE_VERSION:")?.let { + LanguageVersion.fromVersionString(it)?.toSettings()?.trySet() + } + if (!InTextDirectivesUtils.findLinesWithPrefixesRemoved(text, "// COMMON_COROUTINES_TEST").isEmpty()) { + assert(!text.contains("COROUTINES_PACKAGE")) { "Must replace COROUTINES_PACKAGE prior to tests compilation" } + if (!coroutinesPackage.isEmpty()) { + if (coroutinesPackage == "kotlin.coroutines.experimental") { + LanguageVersion.KOTLIN_1_2.toSettings().trySet() + } else { + LanguageVersion.KOTLIN_1_3.toSettings().trySet() + } + } + } + + parseLanguageVersionSettings(directives)?.trySet() + + // Relies on the order of module creation + // TODO is that ok? + currentModule.languageVersionSettings = languageVersionSettings SOURCE_MAP_SOURCE_EMBEDDING.find(text)?.let { match -> currentModule.sourceMapSourceEmbedding = SourceMapSourceEmbedding.valueOf(match.groupValues[1]) diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java index f4bed388215..2921cebb1f9 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java @@ -5015,8 +5015,13 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { } @TestMetadata("createCoroutinesOnManualInstances.kt") + public void testCreateCoroutinesOnManualInstances() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt"); + } + + @TestMetadata("createCoroutinesOnManualInstances_1_2.kt") public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines.experimental"); + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index b63d3059fca..8bf4a090497 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -788,20 +788,40 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } } @@ -3780,6 +3800,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/closures/closureInsideClosure") @@ -4955,11 +4980,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } + public void testAllFilesPresentInCoroutines() throws Exception { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } @@ -4969,54 +5004,109 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIteratorNullMerge.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("asyncIteratorNullMerge.kt") + public void testAsyncIteratorNullMerge_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIteratorNullMerge.kt", "kotlin.coroutines"); + } + @TestMetadata("asyncIteratorToList.kt") public void testAsyncIteratorToList_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIteratorToList.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("asyncIteratorToList.kt") + public void testAsyncIteratorToList_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIteratorToList.kt", "kotlin.coroutines"); + } + @TestMetadata("asyncIterator.kt") public void testAsyncIterator_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIterator.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("asyncIterator.kt") + public void testAsyncIterator_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/asyncIterator.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("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"); + } + @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"); + } + @TestMetadata("createCoroutinesOnManualInstances.kt") + public void testCreateCoroutinesOnManualInstances() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt"); + } + + @TestMetadata("createCoroutinesOnManualInstances_1_2.kt") public void testCreateCoroutinesOnManualInstances_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances.kt", "kotlin.coroutines.experimental"); + runTest("compiler/testData/codegen/box/coroutines/createCoroutinesOnManualInstances_1_2.kt"); } @TestMetadata("crossInlineWithCapturedOuterReceiver.kt") @@ -5024,326 +5114,651 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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("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"); + } + @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("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("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"); + } + @TestMetadata("localCallableRef.kt") public void testLocalCallableRef_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localCallableRef.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("localCallableRef.kt") + public void testLocalCallableRef_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/localCallableRef.kt", "kotlin.coroutines"); + } + @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"); + } + @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("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"); + } + @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"); + } + @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("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"); + } + @TestMetadata("compiler/testData/codegen/box/coroutines/controlFlow") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -5365,65 +5780,130 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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("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("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"); + } + @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("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("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("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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/featureIntersection") @@ -5447,41 +5927,81 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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("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"); + } + @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"); @@ -5496,21 +6016,28 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { } private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { - KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, testDataFilePath); + KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, + testDataFilePath); } public void testAllFilesPresentInCallableReference() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference"), + Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } @TestMetadata("fromJava.kt") public void testFromJava_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/fromJava.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/fromJava.kt", + "kotlin.coroutines.experimental"); } @TestMetadata("longArgs.kt") public void testLongArgs_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt", + "kotlin.coroutines.experimental"); } @TestMetadata("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound") @@ -5522,16 +6049,22 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { } private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { - KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, testDataFilePath); + KotlinTestUtils + .runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, + testDataFilePath); } public void testAllFilesPresentInBound() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound"), + Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } @TestMetadata("emptyLHS.kt") public void testEmptyLHS_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt", + "kotlin.coroutines.experimental"); } } @@ -5544,21 +6077,29 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { } private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { - KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, testDataFilePath); + KotlinTestUtils + .runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, + testDataFilePath); } public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function"), + Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } @TestMetadata("genericCallableReferenceArguments.kt") public void testGenericCallableReferenceArguments_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferenceArguments.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferenceArguments.kt", + "kotlin.coroutines.experimental"); } @TestMetadata("genericCallableReferencesWithNullableTypes.kt") public void testGenericCallableReferencesWithNullableTypes_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt", + "kotlin.coroutines.experimental"); } @TestMetadata("getArityViaFunctionImpl.kt") @@ -5575,21 +6116,32 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { } private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { - KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, testDataFilePath); + KotlinTestUtils + .runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JS, + testDataFilePath); } public void testAllFilesPresentInLocal() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local"), + Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } @TestMetadata("equalsHashCode.kt") public void testEqualsHashCode_1_2() throws Exception { - runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local/equalsHashCode.kt", "kotlin.coroutines.experimental"); + runTestWithPackageReplacement( + "compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local/equalsHashCode.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"); + } + @TestMetadata("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -5611,65 +6163,130 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } } @@ -5694,40 +6311,80 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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("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("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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/intrinsicSemantics") @@ -5751,40 +6408,80 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions") @@ -5838,50 +6535,100 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } + @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"); + } } } @@ -5906,31 +6653,61 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } + @TestMetadata("inlineWithJava.kt") public void testInlineWithJava() throws Exception { runTest("compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt"); @@ -5945,6 +6722,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/redundantLocalsElimination") @@ -5967,6 +6749,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/stackUnwinding") @@ -5990,20 +6777,40 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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("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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine") @@ -6027,80 +6834,160 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } + @TestMetadata("ifExpressionInsideCoroutine.kt") public void testIfExpressionInsideCoroutine_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("ifExpressionInsideCoroutine.kt") + public void testIfExpressionInsideCoroutine_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine.kt", "kotlin.coroutines"); + } + @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"); + } + @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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall") @@ -6124,20 +7011,40 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/tailCallOptimizations") @@ -6161,35 +7068,70 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } + @TestMetadata("inlineWithStateMachine.kt") public void testInlineWithStateMachine_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithStateMachine.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("inlineWithStateMachine.kt") + public void testInlineWithStateMachine_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithStateMachine.kt", "kotlin.coroutines"); + } + @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("simple.kt") public void testSimple_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("simple.kt") + public void testSimple_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines"); + } + @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"); + } + @TestMetadata("unreachable.kt") public void testUnreachable_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unreachable.kt", "kotlin.coroutines.experimental"); } + @TestMetadata("unreachable.kt") + public void testUnreachable_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unreachable.kt", "kotlin.coroutines"); + } + @TestMetadata("whenUnit.kt") public void testWhenUnit_1_2() throws Exception { runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/whenUnit.kt", "kotlin.coroutines.experimental"); } + + @TestMetadata("whenUnit.kt") + public void testWhenUnit_1_3() throws Exception { + runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/whenUnit.kt", "kotlin.coroutines"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/tailOperations") @@ -6213,20 +7155,40 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/unitTypeReturn") @@ -6250,25 +7212,50 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } @TestMetadata("compiler/testData/codegen/box/coroutines/varSpilling") @@ -6292,10 +7279,20 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { 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"); + } } }