From 7ed394158073b6d10909f6589fd3133589c61c21 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Mon, 15 Nov 2021 18:24:58 +0300 Subject: [PATCH] [Native][tests] Update generated tests --- .../NativeExtBlackBoxTestGenerated.java | 72 +++++++++++++++---- 1 file changed, 60 insertions(+), 12 deletions(-) diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeExtBlackBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeExtBlackBoxTestGenerated.java index dd95789a48c..186ddd56479 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeExtBlackBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeExtBlackBoxTestGenerated.java @@ -1930,6 +1930,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/kt48394.kt"); } + @Test + @TestMetadata("kt49548.kt") + public void testKt49548() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt49548.kt"); + } + + @Test + @TestMetadata("kt49548a.kt") + public void testKt49548a() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt49548a.kt"); + } + @Test @TestMetadata("kt5493.kt") public void testKt5493() throws Exception { @@ -2026,6 +2038,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/unsafeRemoving.kt"); } + @Test + @TestMetadata("unsignedArrayForEach.kt") + public void testUnsignedArrayForEach() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/unsignedArrayForEach.kt"); + } + @Test @TestMetadata("variables.kt") public void testVariables() throws Exception { @@ -9847,6 +9865,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/kt46813.kt"); } + @Test + @TestMetadata("kt49168.kt") + public void testKt49168() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt49168.kt"); + } + @Test @TestMetadata("lastExpressionIsLoop.kt") public void testLastExpressionIsLoop() throws Exception { @@ -16524,12 +16548,30 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt"); } + @Test + @TestMetadata("ColorValuePanel.kt") + public void testColorValuePanel() throws Exception { + runTest("compiler/testData/codegen/box/fir/ColorValuePanel.kt"); + } + @Test @TestMetadata("ConstValAccess.kt") public void testConstValAccess() throws Exception { runTest("compiler/testData/codegen/box/fir/ConstValAccess.kt"); } + @Test + @TestMetadata("CustomHashSetSize.kt") + public void testCustomHashSetSize() throws Exception { + runTest("compiler/testData/codegen/box/fir/CustomHashSetSize.kt"); + } + + @Test + @TestMetadata("CustomThrowableMessage.kt") + public void testCustomThrowableMessage() throws Exception { + runTest("compiler/testData/codegen/box/fir/CustomThrowableMessage.kt"); + } + @Test @TestMetadata("ExtensionAlias.kt") public void testExtensionAlias() throws Exception { @@ -16578,6 +16620,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/fir/IrBuiltIns.kt"); } + @Test + @TestMetadata("JKEnumConstant.kt") + public void testJKEnumConstant() throws Exception { + runTest("compiler/testData/codegen/box/fir/JKEnumConstant.kt"); + } + @Test @TestMetadata("jvmFieldInLocalClass.kt") public void testJvmFieldInLocalClass() throws Exception { @@ -17403,12 +17451,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt"); } - @Test - @TestMetadata("functionExpressionWithThisReferenceNI.kt") - public void testFunctionExpressionWithThisReferenceNI() throws Exception { - runTest("compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReferenceNI.kt"); - } - @Test @TestMetadata("functionLiteralExpression.kt") public void testFunctionLiteralExpression() throws Exception { @@ -19951,6 +19993,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/safeAsOfTypeParameterWithInlineClassBound.kt"); } + @Test + @TestMetadata("samWrapperDifferentModule.kt") + public void testSamWrapperDifferentModule() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/samWrapperDifferentModule.kt"); + } + @Test @TestMetadata("secondaryConstructorWithVararg.kt") public void testSecondaryConstructorWithVararg() throws Exception { @@ -22868,6 +22916,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/kt46408.kt"); } + @Test + @TestMetadata("kt49613.kt") + public void testKt49613() throws Exception { + runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/kt49613.kt"); + } + @Test @TestMetadata("localFunction1.kt") public void testLocalFunction1() throws Exception { @@ -23843,12 +23897,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt"); } - @Test - @TestMetadata("genericSamProjectedOutWithNewInference.kt") - public void testGenericSamProjectedOutWithNewInference() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/genericSamProjectedOutWithNewInference.kt"); - } - @Test @TestMetadata("genericSamSmartcast.kt") public void testGenericSamSmartcast() throws Exception {