From b2e58096c0940c89b678f5770560efe40f5f767e Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Tue, 4 Apr 2023 23:02:44 +0200 Subject: [PATCH] [Native][tests] Generate missing codegen/box tests --- .../blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java | 6 ++++++ .../blackboxtest/NativeCodegenBoxTestNoPLGenerated.java | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java index 771133c2af4..9a9a4f82486 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java @@ -3672,6 +3672,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt"); } + @Test + @TestMetadata("genericReturnCast.kt") + public void testGenericReturnCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/genericReturnCast.kt"); + } + @Test @TestMetadata("intersectionTypeMultipleBounds.kt") public void testIntersectionTypeMultipleBounds() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java index f947c45dc0a..d835c8fb6a0 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java @@ -3633,6 +3633,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt"); } + @Test + @TestMetadata("genericReturnCast.kt") + public void testGenericReturnCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/genericReturnCast.kt"); + } + @Test @TestMetadata("intersectionTypeMultipleBounds.kt") public void testIntersectionTypeMultipleBounds() throws Exception {