Minor. Add regression tests
#KT-44143
This commit is contained in:
committed by
TeamCityServer
parent
03fed85447
commit
786999bcfe
+18
@@ -10002,6 +10002,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10276,6 +10282,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10550,6 +10562,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
|
||||
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
import kotlin.coroutines.*
|
||||
|
||||
interface GenericSuspendInterface<T> {
|
||||
suspend fun execute(): T
|
||||
}
|
||||
|
||||
interface SuspendInterface : GenericSuspendInterface<Result<String>>
|
||||
|
||||
class SuspendImpl : SuspendInterface {
|
||||
override suspend fun execute(): Result<String> = Result.success("OK")
|
||||
}
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(Continuation(EmptyCoroutineContext) {
|
||||
it.getOrThrow()
|
||||
})
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var res = "FAIL 1"
|
||||
builder {
|
||||
val impl = SuspendImpl()
|
||||
val implResult = impl.execute()
|
||||
res = implResult.getOrThrow()
|
||||
}
|
||||
|
||||
if (res != "OK") return res
|
||||
|
||||
res = "FAIL 2"
|
||||
builder {
|
||||
val iface: SuspendInterface = SuspendImpl()
|
||||
val result = iface.execute()
|
||||
res = result.getOrThrow()
|
||||
}
|
||||
return res
|
||||
}
|
||||
Vendored
+43
@@ -0,0 +1,43 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
import kotlin.coroutines.*
|
||||
|
||||
interface GenericSuspendInterface<T> {
|
||||
suspend fun execute(): T
|
||||
}
|
||||
|
||||
interface SuspendInterface : GenericSuspendInterface<Result<String>>
|
||||
|
||||
var c: Continuation<Result<String>>? = null
|
||||
|
||||
class SuspendImpl : SuspendInterface {
|
||||
override suspend fun execute(): Result<String> = suspendCoroutine { c = it }
|
||||
}
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(Continuation(EmptyCoroutineContext) {
|
||||
it.getOrThrow()
|
||||
})
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var res = "FAIL 1"
|
||||
builder {
|
||||
val impl = SuspendImpl()
|
||||
val implResult = impl.execute()
|
||||
res = implResult.getOrThrow()
|
||||
}
|
||||
c?.resume(Result.success("OK"))
|
||||
|
||||
if (res != "OK") return res
|
||||
|
||||
res = "FAIL 2"
|
||||
builder {
|
||||
val iface: SuspendInterface = SuspendImpl()
|
||||
val result = iface.execute()
|
||||
res = result.getOrThrow()
|
||||
}
|
||||
c?.resume(Result.success("OK"))
|
||||
return res
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
import kotlin.coroutines.*
|
||||
|
||||
interface GenericSuspendInterface<T> {
|
||||
suspend fun execute(): T
|
||||
}
|
||||
|
||||
interface SuspendInterface : GenericSuspendInterface<Result<String>>
|
||||
|
||||
var c: Continuation<Result<String>>? = null
|
||||
var res = "FAIL 1"
|
||||
|
||||
class SuspendImpl : SuspendInterface {
|
||||
override suspend fun execute(): Result<String> = suspendCoroutine { c = it }
|
||||
}
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(Continuation(EmptyCoroutineContext) {
|
||||
res = it.exceptionOrNull()!!.message!!
|
||||
})
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
builder {
|
||||
val impl = SuspendImpl()
|
||||
val implResult = impl.execute()
|
||||
implResult.getOrThrow()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
|
||||
if (res != "OK") return res
|
||||
|
||||
res = "FAIL 2"
|
||||
builder {
|
||||
val iface: SuspendInterface = SuspendImpl()
|
||||
val result = iface.execute()
|
||||
result.getOrThrow()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
return res
|
||||
}
|
||||
+18
@@ -10002,6 +10002,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10276,6 +10282,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10550,6 +10562,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
|
||||
+18
@@ -10002,6 +10002,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10276,6 +10282,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10550,6 +10562,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
|
||||
+20
-5
@@ -7892,6 +7892,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void ignoreBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -8120,6 +8125,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Resume extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void ignoreBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -8353,6 +8363,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ResumeWithException extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void ignoreBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -19968,11 +19983,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ProtectedInSuperClass extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("defaultArguments.kt")
|
||||
public void ignoreDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/defaultArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFunction.kt")
|
||||
public void ignoreSimpleFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/simpleFunction.kt");
|
||||
@@ -19990,6 +20000,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testAllFilesPresentInProtectedInSuperClass() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArguments.kt")
|
||||
public void testDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/defaultArguments.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Generated
+82
@@ -10013,6 +10013,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10287,6 +10293,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10561,6 +10573,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -38120,6 +38138,70 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sameFileInSourceAndDependencies")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SameFileInSourceAndDependencies {
|
||||
@Test
|
||||
public void testAllFilesPresentInSameFileInSourceAndDependencies() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classDeclaration.kt")
|
||||
public void testClassDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionDeclaration.kt")
|
||||
public void testFunctionDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmFieldMemberPropertyDeclaration.kt")
|
||||
public void testJvmFieldMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/jvmFieldMemberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
|
||||
public void testLateinitMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionDeclaration.kt")
|
||||
public void testMemberFunctionDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
|
||||
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyDeclaration.kt")
|
||||
public void testMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassDeclaration.kt")
|
||||
public void testNestedClassDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclaration.kt")
|
||||
public void testPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sealed")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+15
@@ -7069,6 +7069,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine.kt");
|
||||
@@ -7302,6 +7307,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine.kt");
|
||||
@@ -7535,6 +7545,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine.kt");
|
||||
|
||||
Generated
+15
@@ -6490,6 +6490,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine.kt");
|
||||
@@ -6723,6 +6728,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine.kt");
|
||||
@@ -6956,6 +6966,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine.kt");
|
||||
|
||||
Generated
+15
@@ -6490,6 +6490,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine.kt");
|
||||
@@ -6723,6 +6728,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine.kt");
|
||||
@@ -6956,6 +6966,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine.kt");
|
||||
|
||||
Reference in New Issue
Block a user