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 cf006589a5c..fae708bd9ff 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 @@ -9,6 +9,7 @@ import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.konan.blackboxtest.support.group.NativeBlackBoxTestCaseGroupProvider; import org.jetbrains.kotlin.konan.blackboxtest.support.group.ExtTestCaseGroupProvider; +import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @@ -26,7 +27,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Box { @Test public void testAllFilesPresentInBox() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -36,115 +37,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotatedAnnotationParameter.kt") - public void testAnnotatedAnnotationParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedAnnotationParameter.kt"); - } - - @Test - @TestMetadata("annotatedEnumEntry.kt") - public void testAnnotatedEnumEntry() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt"); - } - - @Test - @TestMetadata("annotatedObjectLiteral.kt") - public void testAnnotatedObjectLiteral() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt"); - } - - @Test - @TestMetadata("annotationOnWhen.kt") - public void testAnnotationOnWhen() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationOnWhen.kt"); - } - - @Test - @TestMetadata("annotationProperty.kt") - public void testAnnotationProperty() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationProperty.kt"); - } - - @Test - @TestMetadata("annotationTargets.kt") - public void testAnnotationTargets() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationTargets.kt"); - } - - @Test - @TestMetadata("annotationWithKotlinProperty.kt") - public void testAnnotationWithKotlinProperty() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationWithKotlinProperty.kt"); - } - - @Test - @TestMetadata("annotationWithKotlinPropertyFromInterfaceCompanion.kt") - public void testAnnotationWithKotlinPropertyFromInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationWithKotlinPropertyFromInterfaceCompanion.kt"); - } - - @Test - @TestMetadata("annotationsOnDefault.kt") - public void testAnnotationsOnDefault() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationsOnDefault.kt"); - } - - @Test - @TestMetadata("annotationsOnLateinitAccessors.kt") - public void testAnnotationsOnLateinitAccessors() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationsOnLateinitAccessors.kt"); - } - - @Test - @TestMetadata("annotationsOnLateinitFields.kt") - public void testAnnotationsOnLateinitFields() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationsOnLateinitFields.kt"); - } - - @Test - @TestMetadata("annotationsOnNonExistentAccessors.kt") - public void testAnnotationsOnNonExistentAccessors() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationsOnNonExistentAccessors.kt"); - } - - @Test - @TestMetadata("annotationsOnTypeAliases.kt") - public void testAnnotationsOnTypeAliases() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotationsOnTypeAliases.kt"); - } - - @Test - @TestMetadata("constValInAnnotation.kt") - public void testConstValInAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/constValInAnnotation.kt"); - } - - @Test - @TestMetadata("defaultParameterValues.kt") - public void testDefaultParameterValues() throws Exception { - runTest("compiler/testData/codegen/box/annotations/defaultParameterValues.kt"); - } - - @Test - @TestMetadata("delegatedPropertySetter.kt") - public void testDelegatedPropertySetter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/delegatedPropertySetter.kt"); - } - - @Test - @TestMetadata("divisionByZeroInJava.kt") - public void testDivisionByZeroInJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/divisionByZeroInJava.kt"); - } - - @Test - @TestMetadata("fileClassWithFileAnnotation.kt") - public void testFileClassWithFileAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/fileClassWithFileAnnotation.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -153,204 +46,30 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt"); } - @Test - @TestMetadata("javaAnnotationArrayValueDefault.kt") - public void testJavaAnnotationArrayValueDefault() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationArrayValueDefault.kt"); - } - - @Test - @TestMetadata("javaAnnotationArrayValueNoDefault.kt") - public void testJavaAnnotationArrayValueNoDefault() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationArrayValueNoDefault.kt"); - } - - @Test - @TestMetadata("javaAnnotationCall.kt") - public void testJavaAnnotationCall() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationCall.kt"); - } - - @Test - @TestMetadata("javaAnnotationDefault.kt") - public void testJavaAnnotationDefault() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationDefault.kt"); - } - - @Test - @TestMetadata("javaAnnotationOnProperty.kt") - public void testJavaAnnotationOnProperty() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnProperty.kt"); - } - - @Test - @TestMetadata("javaAnnotationOnSecondaryConstructorOfLocalClass.kt") - public void testJavaAnnotationOnSecondaryConstructorOfLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnSecondaryConstructorOfLocalClass.kt"); - } - - @Test - @TestMetadata("javaAnnotationWithSingleArrayArgument.kt") - public void testJavaAnnotationWithSingleArrayArgument() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaAnnotationWithSingleArrayArgument.kt"); - } - - @Test - @TestMetadata("javaNegativePropertyAsAnnotationParameter.kt") - public void testJavaNegativePropertyAsAnnotationParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaNegativePropertyAsAnnotationParameter.kt"); - } - - @Test - @TestMetadata("javaPropertyAsAnnotationParameter.kt") - public void testJavaPropertyAsAnnotationParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaPropertyAsAnnotationParameter.kt"); - } - - @Test - @TestMetadata("javaPropertyWithIntInitializer.kt") - public void testJavaPropertyWithIntInitializer() throws Exception { - runTest("compiler/testData/codegen/box/annotations/javaPropertyWithIntInitializer.kt"); - } - - @Test - @TestMetadata("jvmAnnotationFlags.kt") - public void testJvmAnnotationFlags() throws Exception { - runTest("compiler/testData/codegen/box/annotations/jvmAnnotationFlags.kt"); - } - - @Test - @TestMetadata("kotlinPropertyFromClassObjectAsParameter.kt") - public void testKotlinPropertyFromClassObjectAsParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kotlinPropertyFromClassObjectAsParameter.kt"); - } - - @Test - @TestMetadata("kotlinTopLevelPropertyAsParameter.kt") - public void testKotlinTopLevelPropertyAsParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kotlinTopLevelPropertyAsParameter.kt"); - } - - @Test - @TestMetadata("kt10136.kt") - public void testKt10136() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kt10136.kt"); - } - - @Test - @TestMetadata("kt25489.kt") - public void testKt25489() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kt25489.kt"); - } - - @Test - @TestMetadata("mustBeDocumented.kt") - public void testMustBeDocumented() throws Exception { - runTest("compiler/testData/codegen/box/annotations/mustBeDocumented.kt"); - } - @Test @TestMetadata("nestedAnnotation.kt") public void testNestedAnnotation() throws Exception { runTest("compiler/testData/codegen/box/annotations/nestedAnnotation.kt"); } - @Test - @TestMetadata("nestedClassPropertyAsParameter.kt") - public void testNestedClassPropertyAsParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/nestedClassPropertyAsParameter.kt"); - } - @Test @TestMetadata("nestedClassesInAnnotations.kt") public void testNestedClassesInAnnotations() throws Exception { runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt"); } - @Test - @TestMetadata("objectConstValInAnnotationArgument.kt") - public void testObjectConstValInAnnotationArgument() throws Exception { - runTest("compiler/testData/codegen/box/annotations/objectConstValInAnnotationArgument.kt"); - } - - @Test - @TestMetadata("parameterAnnotationInDefaultImpls.kt") - public void testParameterAnnotationInDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt"); - } - - @Test - @TestMetadata("parameterWithPrimitiveType.kt") - public void testParameterWithPrimitiveType() throws Exception { - runTest("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt"); - } - @Test @TestMetadata("parameters.kt") public void testParameters() throws Exception { runTest("compiler/testData/codegen/box/annotations/parameters.kt"); } - @Test - @TestMetadata("propertyWithPropertyInInitializerAsParameter.kt") - public void testPropertyWithPropertyInInitializerAsParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/propertyWithPropertyInInitializerAsParameter.kt"); - } - @Test @TestMetadata("resolveWithLowPriorityAnnotation.kt") public void testResolveWithLowPriorityAnnotation() throws Exception { runTest("compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt"); } - @Test - @TestMetadata("retentionInJava.kt") - public void testRetentionInJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/retentionInJava.kt"); - } - - @Test - @TestMetadata("singleAssignmentToVarargInAnnotation.kt") - public void testSingleAssignmentToVarargInAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/singleAssignmentToVarargInAnnotation.kt"); - } - - @Test - @TestMetadata("syntheticMethodForJvmStaticProperty.kt") - public void testSyntheticMethodForJvmStaticProperty() throws Exception { - runTest("compiler/testData/codegen/box/annotations/syntheticMethodForJvmStaticProperty.kt"); - } - - @Test - @TestMetadata("syntheticMethodForProperty.kt") - public void testSyntheticMethodForProperty() throws Exception { - runTest("compiler/testData/codegen/box/annotations/syntheticMethodForProperty.kt"); - } - - @Test - @TestMetadata("typeAnnotationOnJdk6.kt") - public void testTypeAnnotationOnJdk6() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotationOnJdk6.kt"); - } - - @Test - @TestMetadata("useTypeParameterAnnotationFromJava.kt") - public void testUseTypeParameterAnnotationFromJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/useTypeParameterAnnotationFromJava.kt"); - } - - @Test - @TestMetadata("useTypeUseAnnotationFromJava.kt") - public void testUseTypeUseAnnotationFromJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/useTypeUseAnnotationFromJava.kt"); - } - - @Test - @TestMetadata("varargInAnnotationParameter.kt") - public void testVarargInAnnotationParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/varargInAnnotationParameter.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/annotations/annotatedLambda") @TestDataPath("$PROJECT_ROOT") @@ -358,37 +77,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class AnnotatedLambda { @Test public void testAllFilesPresentInAnnotatedLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("funExpression.kt") - public void testFunExpression() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedLambda/funExpression.kt"); - } - - @Test - @TestMetadata("lambda.kt") - public void testLambda() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedLambda/lambda.kt"); - } - - @Test - @TestMetadata("samFunExpression.kt") - public void testSamFunExpression() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samFunExpression.kt"); - } - - @Test - @TestMetadata("samFunReference.kt") - public void testSamFunReference() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt"); - } - - @Test - @TestMetadata("samLambda.kt") - public void testSamLambda() throws Exception { - runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samLambda.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -399,13 +88,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Instances { @Test public void testAllFilesPresentInInstances() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/instances"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationEnclosingName.kt") - public void testAnnotationEnclosingName() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/annotationEnclosingName.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/instances"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -432,54 +115,24 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/annotations/instances/annotationInstancesEmptyDefault.kt"); } - @Test - @TestMetadata("annotationJvmHashCode.kt") - public void testAnnotationJvmHashCode() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/annotationJvmHashCode.kt"); - } - @Test @TestMetadata("annotationToString.kt") public void testAnnotationToString() throws Exception { runTest("compiler/testData/codegen/box/annotations/instances/annotationToString.kt"); } - @Test - @TestMetadata("annotationType.kt") - public void testAnnotationType() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/annotationType.kt"); - } - @Test @TestMetadata("inInlineFunction.kt") public void testInInlineFunction() throws Exception { runTest("compiler/testData/codegen/box/annotations/instances/inInlineFunction.kt"); } - @Test - @TestMetadata("javaAnnotation.kt") - public void testJavaAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/javaAnnotation.kt"); - } - - @Test - @TestMetadata("kotlinExistingAnnotation.kt") - public void testKotlinExistingAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/kotlinExistingAnnotation.kt"); - } - @Test @TestMetadata("multifileEqHc.kt") public void testMultifileEqHc() throws Exception { runTest("compiler/testData/codegen/box/annotations/instances/multifileEqHc.kt"); } - @Test - @TestMetadata("multimoduleInlining.kt") - public void testMultimoduleInlining() throws Exception { - runTest("compiler/testData/codegen/box/annotations/instances/multimoduleInlining.kt"); - } - @Test @TestMetadata("multiplatformInstantiation.kt") public void testMultiplatformInstantiation() throws Exception { @@ -500,43 +153,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class KClassMapping { @Test public void testAllFilesPresentInKClassMapping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/kClassMapping"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("arrayClassParameter.kt") - public void testArrayClassParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/arrayClassParameter.kt"); - } - - @Test - @TestMetadata("arrayClassParameterOnJavaClass.kt") - public void testArrayClassParameterOnJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/arrayClassParameterOnJavaClass.kt"); - } - - @Test - @TestMetadata("classParameter.kt") - public void testClassParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/classParameter.kt"); - } - - @Test - @TestMetadata("classParameterOnJavaClass.kt") - public void testClassParameterOnJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/classParameterOnJavaClass.kt"); - } - - @Test - @TestMetadata("varargClassParameter.kt") - public void testVarargClassParameter() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/varargClassParameter.kt"); - } - - @Test - @TestMetadata("varargClassParameterOnJavaClass.kt") - public void testVarargClassParameterOnJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/annotations/kClassMapping/varargClassParameterOnJavaClass.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/kClassMapping"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -547,37 +164,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaAnnotation.kt") - public void testJavaAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/repeatable/javaAnnotation.kt"); - } - - @Test - @TestMetadata("jvmRepeatableKotlinAnnotation.kt") - public void testJvmRepeatableKotlinAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/repeatable/jvmRepeatableKotlinAnnotation.kt"); - } - - @Test - @TestMetadata("kotlinAnnotation.kt") - public void testKotlinAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/repeatable/kotlinAnnotation.kt"); - } - - @Test - @TestMetadata("kotlinAnnotationInJava.kt") - public void testKotlinAnnotationInJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/repeatable/kotlinAnnotationInJava.kt"); - } - - @Test - @TestMetadata("kotlinAnnotationWithBothRepeatables.kt") - public void testKotlinAnnotationWithBothRepeatables() throws Exception { - runTest("compiler/testData/codegen/box/annotations/repeatable/kotlinAnnotationWithBothRepeatables.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -588,7 +175,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeAnnotations { @Test public void testAllFilesPresentInTypeAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -596,66 +183,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testCheckingNotincorporatedInputTypes() throws Exception { runTest("compiler/testData/codegen/box/annotations/typeAnnotations/checkingNotincorporatedInputTypes.kt"); } - - @Test - @TestMetadata("classTypeParameterBound.kt") - public void testClassTypeParameterBound() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBound.kt"); - } - - @Test - @TestMetadata("classTypeParameterBoundsJava.kt") - public void testClassTypeParameterBoundsJava() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt"); - } - - @Test - @TestMetadata("functionTypeParameterBound.kt") - public void testFunctionTypeParameterBound() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/functionTypeParameterBound.kt"); - } - - @Test - @TestMetadata("implicitReturn.kt") - public void testImplicitReturn() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/implicitReturn.kt"); - } - - @Test - @TestMetadata("implicitReturnAgainstCompiled.kt") - public void testImplicitReturnAgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/implicitReturnAgainstCompiled.kt"); - } - - @Test - @TestMetadata("kt41484.kt") - public void testKt41484() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/kt41484.kt"); - } - - @Test - @TestMetadata("methodParameters.kt") - public void testMethodParameters() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/methodParameters.kt"); - } - - @Test - @TestMetadata("methodTypeParameters.kt") - public void testMethodTypeParameters() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt"); - } - - @Test - @TestMetadata("typeAnnotationTarget6.kt") - public void testTypeAnnotationTarget6() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/typeAnnotationTarget6.kt"); - } - - @Test - @TestMetadata("typeUseAnnotation.kt") - public void testTypeUseAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/annotations/typeAnnotations/typeUseAnnotation.kt"); - } } } @@ -666,7 +193,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ArgumentOrder { @Test public void testAllFilesPresentInArgumentOrder() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -675,12 +202,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt"); } - @Test - @TestMetadata("argumentOrderInObjectSuperCallWithPlatformType.kt") - public void testArgumentOrderInObjectSuperCallWithPlatformType() throws Exception { - runTest("compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCallWithPlatformType.kt"); - } - @Test @TestMetadata("argumentOrderInSuperCall.kt") public void testArgumentOrderInSuperCall() throws Exception { @@ -723,12 +244,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/argumentOrder/extensionInClass.kt"); } - @Test - @TestMetadata("kt17691.kt") - public void testKt17691() throws Exception { - runTest("compiler/testData/codegen/box/argumentOrder/kt17691.kt"); - } - @Test @TestMetadata("kt17691WithEnabledFeature.kt") public void testKt17691WithEnabledFeature() throws Exception { @@ -785,7 +300,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Arrays { @Test public void testAllFilesPresentInArrays() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1028,12 +543,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/arrays/kt1291.kt"); } - @Test - @TestMetadata("kt17134.kt") - public void testKt17134() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt17134.kt"); - } - @Test @TestMetadata("kt238.kt") public void testKt238() throws Exception { @@ -1088,18 +597,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/arrays/kt4357.kt"); } - @Test - @TestMetadata("kt45410.kt") - public void testKt45410() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt45410.kt"); - } - - @Test - @TestMetadata("kt47499.kt") - public void testKt47499() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt47499.kt"); - } - @Test @TestMetadata("kt503.kt") public void testKt503() throws Exception { @@ -1112,12 +609,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/arrays/kt594.kt"); } - @Test - @TestMetadata("kt602.kt") - public void testKt602() throws Exception { - runTest("compiler/testData/codegen/box/arrays/kt602.kt"); - } - @Test @TestMetadata("kt7009.kt") public void testKt7009() throws Exception { @@ -1190,12 +681,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/arrays/stdlib.kt"); } - @Test - @TestMetadata("varargsWithJava.kt") - public void testVarargsWithJava() throws Exception { - runTest("compiler/testData/codegen/box/arrays/varargsWithJava.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/arrays/arraysOfInlineClass") @TestDataPath("$PROJECT_ROOT") @@ -1215,7 +700,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInArraysOfInlineClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/arraysOfInlineClass"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/arraysOfInlineClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1232,7 +717,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInReversed { @Test public void testAllFilesPresentInForInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/forInReversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/forInReversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1267,7 +752,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInUnsignedArray { @Test public void testAllFilesPresentInForInUnsignedArray() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/forInUnsignedArray"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/forInUnsignedArray"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1326,7 +811,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultiDecl { @Test public void testAllFilesPresentInMultiDecl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1384,7 +869,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Int { @Test public void testAllFilesPresentInInt() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/int"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/int"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1419,7 +904,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Long { @Test public void testAllFilesPresentInLong() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/long"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/long"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1456,7 +941,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Assert { @Test public void testAllFilesPresentInAssert() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1478,139 +963,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm { @Test public void testAllFilesPresentInJvm() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert/jvm"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("assertionsEnabledBeforeClassInitializers.kt") - public void testAssertionsEnabledBeforeClassInitializers() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/assertionsEnabledBeforeClassInitializers.kt"); - } - - @Test - @TestMetadata("classAssertions.kt") - public void testClassAssertions() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/classAssertions.kt"); - } - - @Test - @TestMetadata("classAssertionsForCompanion.kt") - public void testClassAssertionsForCompanion() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/classAssertionsForCompanion.kt"); - } - - @Test - @TestMetadata("classAssertionsForInnerClasses.kt") - public void testClassAssertionsForInnerClasses() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/classAssertionsForInnerClasses.kt"); - } - - @Test - @TestMetadata("classAssertionsForLocalClasses.kt") - public void testClassAssertionsForLocalClasses() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/classAssertionsForLocalClasses.kt"); - } - - @Test - @TestMetadata("classAssertionsForNestedClasses.kt") - public void testClassAssertionsForNestedClasses() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/classAssertionsForNestedClasses.kt"); - } - - @Test - @TestMetadata("interfaceAssertionsDisabled.kt") - public void testInterfaceAssertionsDisabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/interfaceAssertionsDisabled.kt"); - } - - @Test - @TestMetadata("interfaceAssertionsEnabled.kt") - public void testInterfaceAssertionsEnabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt"); - } - - @Test - @TestMetadata("lambdaNotEvaluated.kt") - public void testLambdaNotEvaluated() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/lambdaNotEvaluated.kt"); - } - - @Test - @TestMetadata("localAnonymousFunction.kt") - public void testLocalAnonymousFunction() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/localAnonymousFunction.kt"); - } - - @Test - @TestMetadata("localClass.kt") - public void testLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/localClass.kt"); - } - - @Test - @TestMetadata("localFunction.kt") - public void testLocalFunction() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/localFunction.kt"); - } - - @Test - @TestMetadata("localLambda.kt") - public void testLocalLambda() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/localLambda.kt"); - } - - @Test - @TestMetadata("localObject.kt") - public void testLocalObject() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/localObject.kt"); - } - - @Test - @TestMetadata("noUnnecessaryClassInitialization.kt") - public void testNoUnnecessaryClassInitialization() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/noUnnecessaryClassInitialization.kt"); - } - - @Test - @TestMetadata("nonLocalReturn.kt") - public void testNonLocalReturn() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/nonLocalReturn.kt"); - } - - @Test - @TestMetadata("ordinary.kt") - public void testOrdinary() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/ordinary.kt"); - } - - @Test - @TestMetadata("superClassInitializer.kt") - public void testSuperClassInitializer() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/superClassInitializer.kt"); - } - - @Test - @TestMetadata("suspendFunctionAssertionDisabled.kt") - public void testSuspendFunctionAssertionDisabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionDisabled.kt"); - } - - @Test - @TestMetadata("suspendFunctionAssertionsEnabled.kt") - public void testSuspendFunctionAssertionsEnabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/suspendFunctionAssertionsEnabled.kt"); - } - - @Test - @TestMetadata("suspendLambdaAssertionsDisabled.kt") - public void testSuspendLambdaAssertionsDisabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsDisabled.kt"); - } - - @Test - @TestMetadata("suspendLambdaAssertionsEnabled.kt") - public void testSuspendLambdaAssertionsEnabled() throws Exception { - runTest("compiler/testData/codegen/box/assert/jvm/suspendLambdaAssertionsEnabled.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert/jvm"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -1622,7 +975,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BinaryOp { @Test public void testAllFilesPresentInBinaryOp() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1643,12 +996,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt"); } - @Test - @TestMetadata("boxingOfLiteralReceiverWithIntegerValueType.kt") - public void testBoxingOfLiteralReceiverWithIntegerValueType() throws Exception { - runTest("compiler/testData/codegen/box/binaryOp/boxingOfLiteralReceiverWithIntegerValueType.kt"); - } - @Test @TestMetadata("call.kt") public void testCall() throws Exception { @@ -1673,30 +1020,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/binaryOp/compareBoxedChars.kt"); } - @Test - @TestMetadata("compareWithBoxedDouble.kt") - public void testCompareWithBoxedDouble() throws Exception { - runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedDouble.kt"); - } - - @Test - @TestMetadata("compareWithBoxedLong.kt") - public void testCompareWithBoxedLong() throws Exception { - runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedLong.kt"); - } - - @Test - @TestMetadata("compareWithBoxedNotNullDouble.kt") - public void testCompareWithBoxedNotNullDouble() throws Exception { - runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedNotNullDouble.kt"); - } - - @Test - @TestMetadata("compareWithBoxedNotNullLong.kt") - public void testCompareWithBoxedNotNullLong() throws Exception { - runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedNotNullLong.kt"); - } - @Test @TestMetadata("divisionByZero.kt") public void testDivisionByZero() throws Exception { @@ -1819,7 +1142,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BoxingOptimization { @Test public void testAllFilesPresentInBoxingOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -1876,24 +1199,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt"); } - @Test - @TestMetadata("kClassEquals.kt") - public void testKClassEquals() throws Exception { - runTest("compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt"); - } - @Test @TestMetadata("kt15871.kt") public void testKt15871() throws Exception { runTest("compiler/testData/codegen/box/boxingOptimization/kt15871.kt"); } - @Test - @TestMetadata("kt17748.kt") - public void testKt17748() throws Exception { - runTest("compiler/testData/codegen/box/boxingOptimization/kt17748.kt"); - } - @Test @TestMetadata("kt19767.kt") public void testKt19767() throws Exception { @@ -1906,12 +1217,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt"); } - @Test - @TestMetadata("kt19767_3.kt") - public void testKt19767_3() throws Exception { - runTest("compiler/testData/codegen/box/boxingOptimization/kt19767_3.kt"); - } - @Test @TestMetadata("kt19767_chain.kt") public void testKt19767_chain() throws Exception { @@ -1960,12 +1265,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/kt5844.kt"); } - @Test - @TestMetadata("kt6047.kt") - public void testKt6047() throws Exception { - runTest("compiler/testData/codegen/box/boxingOptimization/kt6047.kt"); - } - @Test @TestMetadata("kt6842.kt") public void testKt6842() throws Exception { @@ -1996,12 +1295,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt"); } - @Test - @TestMetadata("safeCallWithElvisAndEnhancedNullability.kt") - public void testSafeCallWithElvisAndEnhancedNullability() throws Exception { - runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvisAndEnhancedNullability.kt"); - } - @Test @TestMetadata("safeCallWithElvisMultipleFiles.kt") public void testSafeCallWithElvisMultipleFiles() throws Exception { @@ -2064,19 +1357,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridgeInInterface.kt") - public void testBridgeInInterface() throws Exception { - runTest("compiler/testData/codegen/box/bridges/bridgeInInterface.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties.kt") - public void testBridgeInInterfaceWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/bridges/bridgeInInterfaceWithProperties.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -2193,18 +1474,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/bridges/innerClassTypeParameters.kt"); } - @Test - @TestMetadata("jsName.kt") - public void testJsName() throws Exception { - runTest("compiler/testData/codegen/box/bridges/jsName.kt"); - } - - @Test - @TestMetadata("jsNative.kt") - public void testJsNative() throws Exception { - runTest("compiler/testData/codegen/box/bridges/jsNative.kt"); - } - @Test @TestMetadata("kt12416.kt") public void testKt12416() throws Exception { @@ -2223,12 +1492,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/bridges/kt1959.kt"); } - @Test - @TestMetadata("kt24193.kt") - public void testKt24193() throws Exception { - runTest("compiler/testData/codegen/box/bridges/kt24193.kt"); - } - @Test @TestMetadata("kt2498.kt") public void testKt2498() throws Exception { @@ -2301,12 +1564,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt"); } - @Test - @TestMetadata("objectClone.kt") - public void testObjectClone() throws Exception { - runTest("compiler/testData/codegen/box/bridges/objectClone.kt"); - } - @Test @TestMetadata("overrideAbstractProperty.kt") public void testOverrideAbstractProperty() throws Exception { @@ -2397,12 +1654,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/bridges/strListContains.kt"); } - @Test - @TestMetadata("strListRemove.kt") - public void testStrListRemove() throws Exception { - runTest("compiler/testData/codegen/box/bridges/strListRemove.kt"); - } - @Test @TestMetadata("traitImplInheritsTraitImpl.kt") public void testTraitImplInheritsTraitImpl() throws Exception { @@ -2446,7 +1697,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInSubstitutionInSuperClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges/substitutionInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges/substitutionInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -2516,21 +1767,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class BuiltinStubMethods { - @Test - @TestMetadata("abstractMember.kt") - public void testAbstractMember() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/abstractMember.kt"); - } - @Test public void testAllFilesPresentInBuiltinStubMethods() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("Collection.kt") - public void testCollection() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/Collection.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -2539,149 +1778,11 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/builtinStubMethods/customReadOnlyIterator.kt"); } - @Test - @TestMetadata("delegationToArrayList.kt") - public void testDelegationToArrayList() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/delegationToArrayList.kt"); - } - - @Test - @TestMetadata("immutableRemove.kt") - public void testImmutableRemove() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/immutableRemove.kt"); - } - - @Test - @TestMetadata("implementationInTrait.kt") - public void testImplementationInTrait() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/implementationInTrait.kt"); - } - - @Test - @TestMetadata("inheritedImplementations.kt") - public void testInheritedImplementations() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/inheritedImplementations.kt"); - } - - @Test - @TestMetadata("int2IntMap.kt") - public void testInt2IntMap() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/int2IntMap.kt"); - } - - @Test - @TestMetadata("Iterator.kt") - public void testIterator() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/Iterator.kt"); - } - - @Test - @TestMetadata("IteratorWithRemove.kt") - public void testIteratorWithRemove() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/IteratorWithRemove.kt"); - } - - @Test - @TestMetadata("List.kt") - public void testList() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/List.kt"); - } - - @Test - @TestMetadata("ListIterator.kt") - public void testListIterator() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/ListIterator.kt"); - } - - @Test - @TestMetadata("ListWithAllImplementations.kt") - public void testListWithAllImplementations() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/ListWithAllImplementations.kt"); - } - - @Test - @TestMetadata("ListWithAllInheritedImplementations.kt") - public void testListWithAllInheritedImplementations() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/ListWithAllInheritedImplementations.kt"); - } - - @Test - @TestMetadata("manyTypeParametersWithUpperBounds.kt") - public void testManyTypeParametersWithUpperBounds() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/manyTypeParametersWithUpperBounds.kt"); - } - - @Test - @TestMetadata("Map.kt") - public void testMap() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/Map.kt"); - } - - @Test - @TestMetadata("MapEntry.kt") - public void testMapEntry() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/MapEntry.kt"); - } - - @Test - @TestMetadata("MapEntryWithSetValue.kt") - public void testMapEntryWithSetValue() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/MapEntryWithSetValue.kt"); - } - - @Test - @TestMetadata("MapWithAllImplementations.kt") - public void testMapWithAllImplementations() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/MapWithAllImplementations.kt"); - } - - @Test - @TestMetadata("nonTrivialSubstitution.kt") - public void testNonTrivialSubstitution() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/nonTrivialSubstitution.kt"); - } - - @Test - @TestMetadata("nonTrivialUpperBound.kt") - public void testNonTrivialUpperBound() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/nonTrivialUpperBound.kt"); - } - - @Test - @TestMetadata("substitutedIterable.kt") - public void testSubstitutedIterable() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/substitutedIterable.kt"); - } - - @Test - @TestMetadata("SubstitutedList.kt") - public void testSubstitutedList() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/SubstitutedList.kt"); - } - - @Test - @TestMetadata("substitutedListWithExtraSuperInterface.kt") - public void testSubstitutedListWithExtraSuperInterface() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/substitutedListWithExtraSuperInterface.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections") @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class ExtendJavaCollections { - @Test - @TestMetadata("abstractList.kt") - public void testAbstractList() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractList.kt"); - } - - @Test - @TestMetadata("abstractMap.kt") - public void testAbstractMap() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractMap.kt"); - } - @Test @TestMetadata("abstractSet.kt") public void testAbstractSet() throws Exception { @@ -2690,7 +1791,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInExtendJavaCollections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -2710,12 +1811,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testHashSet() throws Exception { runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt"); } - - @Test - @TestMetadata("mapEntry.kt") - public void testMapEntry() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/mapEntry.kt"); - } } @Nested @@ -2725,25 +1820,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MapGetOrDefault { @Test public void testAllFilesPresentInMapGetOrDefault() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("noTypeSafeBridge.kt") - public void testNoTypeSafeBridge() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/noTypeSafeBridge.kt"); - } - - @Test - @TestMetadata("typeSafeBridge.kt") - public void testTypeSafeBridge() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridge.kt"); - } - - @Test - @TestMetadata("typeSafeBridgeNotNullAny.kt") - public void testTypeSafeBridgeNotNullAny() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridgeNotNullAny.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -2754,31 +1831,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MapRemove { @Test public void testAllFilesPresentInMapRemove() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapRemove"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("noDefaultImpls.kt") - public void testNoDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapRemove/noDefaultImpls.kt"); - } - - @Test - @TestMetadata("readOnlyMap.kt") - public void testReadOnlyMap() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapRemove/readOnlyMap.kt"); - } - - @Test - @TestMetadata("typeSafeBridge.kt") - public void testTypeSafeBridge() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridge.kt"); - } - - @Test - @TestMetadata("typeSafeBridgeNotNullAny.kt") - public void testTypeSafeBridgeNotNullAny() throws Exception { - runTest("compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridgeNotNullAny.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapRemove"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -2790,7 +1843,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -2811,12 +1864,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt"); } - @Test - @TestMetadata("builtinFunctionReferenceOwner.kt") - public void testBuiltinFunctionReferenceOwner() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/builtinFunctionReferenceOwner.kt"); - } - @Test @TestMetadata("callableReferenceOfCompanionConst.kt") public void testCallableReferenceOfCompanionConst() throws Exception { @@ -2835,60 +1882,24 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfCompanionProperty.kt"); } - @Test - @TestMetadata("callableReferenceOfJavaNestedClass.kt") - public void testCallableReferenceOfJavaNestedClass() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfJavaNestedClass.kt"); - } - @Test @TestMetadata("callableReferenceOfKotlinNestedClass.kt") public void testCallableReferenceOfKotlinNestedClass() throws Exception { runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfKotlinNestedClass.kt"); } - @Test - @TestMetadata("callableReferenceOfNestedClass.kt") - public void testCallableReferenceOfNestedClass() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfNestedClass.kt"); - } - @Test @TestMetadata("callableReferenceOfObjectMethod.kt") public void testCallableReferenceOfObjectMethod() throws Exception { runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfObjectMethod.kt"); } - @Test - @TestMetadata("callableReferenceOfStaticField.kt") - public void testCallableReferenceOfStaticField() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfStaticField.kt"); - } - - @Test - @TestMetadata("callableReferenceOfStaticMethod.kt") - public void testCallableReferenceOfStaticMethod() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/callableReferenceOfStaticMethod.kt"); - } - @Test @TestMetadata("charArrayOf.kt") public void testCharArrayOf() throws Exception { runTest("compiler/testData/codegen/box/callableReference/charArrayOf.kt"); } - @Test - @TestMetadata("classesAreSynthetic.kt") - public void testClassesAreSynthetic() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/classesAreSynthetic.kt"); - } - - @Test - @TestMetadata("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/constructor.kt"); - } - @Test @TestMetadata("genericConstructorReference.kt") public void testGenericConstructorReference() throws Exception { @@ -2907,24 +1918,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/inlineArrayConstructors.kt"); } - @Test - @TestMetadata("javaField.kt") - public void testJavaField() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/javaField.kt"); - } - - @Test - @TestMetadata("kt16412.kt") - public void testKt16412() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/kt16412.kt"); - } - - @Test - @TestMetadata("kt16752.kt") - public void testKt16752() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/kt16752.kt"); - } - @Test @TestMetadata("kt21014.kt") public void testKt21014() throws Exception { @@ -2937,12 +1930,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/kt21092a.kt"); } - @Test - @TestMetadata("kt21092b.kt") - public void testKt21092b() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/kt21092b.kt"); - } - @Test @TestMetadata("kt37604.kt") public void testKt37604() throws Exception { @@ -2973,36 +1960,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/nested.kt"); } - @Test - @TestMetadata("optimizedSuperclasses_after.kt") - public void testOptimizedSuperclasses_after() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt"); - } - - @Test - @TestMetadata("optimizedSuperclasses_before.kt") - public void testOptimizedSuperclasses_before() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/optimizedSuperclasses_before.kt"); - } - - @Test - @TestMetadata("publicFinalField.kt") - public void testPublicFinalField() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/publicFinalField.kt"); - } - - @Test - @TestMetadata("publicMutableField.kt") - public void testPublicMutableField() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/publicMutableField.kt"); - } - - @Test - @TestMetadata("staticMethod.kt") - public void testStaticMethod() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/staticMethod.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences") @TestDataPath("$PROJECT_ROOT") @@ -3022,7 +1979,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInAdaptedReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3091,12 +2048,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/innerConstructorWithVararg.kt"); } - @Test - @TestMetadata("jvmStatic.kt") - public void testJvmStatic() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/jvmStatic.kt"); - } - @Test @TestMetadata("largeVararg.kt") public void testLargeVararg() throws Exception { @@ -3115,42 +2066,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt"); } - @Test - @TestMetadata("noAdaptedReferencesIfNoOptimizedReferencesEnabled.kt") - public void testNoAdaptedReferencesIfNoOptimizedReferencesEnabled() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/noAdaptedReferencesIfNoOptimizedReferencesEnabled.kt"); - } - @Test @TestMetadata("noNameClashForReferencesToSameFunction.kt") public void testNoNameClashForReferencesToSameFunction() throws Exception { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt"); } - @Test - @TestMetadata("noReflectionForAdaptedCallableReferences.kt") - public void testNoReflectionForAdaptedCallableReferences() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/noReflectionForAdaptedCallableReferences.kt"); - } - - @Test - @TestMetadata("noReflectionForAdaptedCallableReferencesWithSuspendConversion.kt") - public void testNoReflectionForAdaptedCallableReferencesWithSuspendConversion() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/noReflectionForAdaptedCallableReferencesWithSuspendConversion.kt"); - } - @Test @TestMetadata("referenceToVarargWithDefaults.kt") public void testReferenceToVarargWithDefaults() throws Exception { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/referenceToVarargWithDefaults.kt"); } - @Test - @TestMetadata("reflectionForVarargAsArray.kt") - public void testReflectionForVarargAsArray() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/reflectionForVarargAsArray.kt"); - } - @Test @TestMetadata("simpleDefaultArgument.kt") public void testSimpleDefaultArgument() throws Exception { @@ -3169,12 +2096,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendUnitConversion.kt"); } - @Test - @TestMetadata("toStringNoReflect.kt") - public void testToStringNoReflect() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/toStringNoReflect.kt"); - } - @Test @TestMetadata("unboundReferences.kt") public void testUnboundReferences() throws Exception { @@ -3205,12 +2126,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/varargWithDefaultValue.kt"); } - @Test - @TestMetadata("withReceiver.kt") - public void testWithReceiver() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/withReceiver.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion") @TestDataPath("$PROJECT_ROOT") @@ -3236,7 +2151,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3332,7 +2247,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3353,12 +2268,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt"); } - @Test - @TestMetadata("boundJvmFieldInInterfaceCompanion.kt") - public void testBoundJvmFieldInInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt"); - } - @Test @TestMetadata("boundReferenceToOverloadedFunction.kt") public void testBoundReferenceToOverloadedFunction() throws Exception { @@ -3419,12 +2328,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); } - @Test - @TestMetadata("javaField.kt") - public void testJavaField() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/javaField.kt"); - } - @Test @TestMetadata("kCallableNameIntrinsic.kt") public void testKCallableNameIntrinsic() throws Exception { @@ -3443,12 +2346,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt"); } - @Test - @TestMetadata("localUnitFunction.kt") - public void testLocalUnitFunction() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/localUnitFunction.kt"); - } - @Test @TestMetadata("multiCase.kt") public void testMultiCase() throws Exception { @@ -3479,12 +2376,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/receiverEvaluatedOnce.kt"); } - @Test - @TestMetadata("referenceToGetSetMethodsFromVararg.kt") - public void testReferenceToGetSetMethodsFromVararg() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/referenceToGetSetMethodsFromVararg.kt"); - } - @Test @TestMetadata("simpleFunction.kt") public void testSimpleFunction() throws Exception { @@ -3503,12 +2394,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt"); } - @Test - @TestMetadata("syntheticExtensionOnLHS.kt") - public void testSyntheticExtensionOnLHS() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/syntheticExtensionOnLHS.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals") @TestDataPath("$PROJECT_ROOT") @@ -3516,7 +2401,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Equals { @Test public void testAllFilesPresentInEquals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound/equals"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound/equals"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3546,7 +2431,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Equality { @Test public void testAllFilesPresentInEquality() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/equality"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/equality"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3635,7 +2520,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -3716,12 +2601,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt"); } - @Test - @TestMetadata("dispatchReceiverType.kt") - public void testDispatchReceiverType() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt"); - } - @Test @TestMetadata("enumValueOfMethod.kt") public void testEnumValueOfMethod() throws Exception { @@ -3770,12 +2649,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt"); } - @Test - @TestMetadata("extensionProperty.kt") - public void testExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/function/extensionProperty.kt"); - } - @Test @TestMetadata("genericCallableReferenceArguments.kt") public void testGenericCallableReferenceArguments() throws Exception { @@ -3842,12 +2715,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromTopLevelOneStringArg.kt"); } - @Test - @TestMetadata("javaCollectionsStaticMethod.kt") - public void testJavaCollectionsStaticMethod() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/function/javaCollectionsStaticMethod.kt"); - } - @Test @TestMetadata("kt21787.kt") public void testKt21787() throws Exception { @@ -3926,12 +2793,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/callableReference/function/specialCalls.kt"); } - @Test - @TestMetadata("staticFunctionReference.kt") - public void testStaticFunctionReference() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/function/staticFunctionReference.kt"); - } - @Test @TestMetadata("topLevelFromClass.kt") public void testTopLevelFromClass() throws Exception { @@ -3993,7 +2854,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4137,7 +2998,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4320,45 +3181,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class Serializability { - @Test - @TestMetadata("adaptedReferences.kt") - public void testAdaptedReferences() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/adaptedReferences.kt"); - } - @Test public void testAllFilesPresentInSerializability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/serializability"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("boundWithNotSerializableReceiver.kt") - public void testBoundWithNotSerializableReceiver() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/boundWithNotSerializableReceiver.kt"); - } - - @Test - @TestMetadata("boundWithSerializableReceiver.kt") - public void testBoundWithSerializableReceiver() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/boundWithSerializableReceiver.kt"); - } - - @Test - @TestMetadata("noReflect.kt") - public void testNoReflect() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/noReflect.kt"); - } - - @Test - @TestMetadata("reflectedIsNotSerialized.kt") - public void testReflectedIsNotSerialized() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt"); - } - - @Test - @TestMetadata("withReflect.kt") - public void testWithReflect() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/serializability/withReflect.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/serializability"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -4370,7 +3195,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Casts { @Test public void testAllFilesPresentInCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4403,12 +3228,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/casts/asSafeForConstants.kt"); } - @Test - @TestMetadata("asThrowsNpe_1_4.kt") - public void testAsThrowsNpe_1_4() throws Exception { - runTest("compiler/testData/codegen/box/casts/asThrowsNpe_1_4.kt"); - } - @Test @TestMetadata("asUnit.kt") public void testAsUnit() throws Exception { @@ -4523,12 +3342,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/casts/unitAsAny.kt"); } - @Test - @TestMetadata("unitAsInt.kt") - public void testUnitAsInt() throws Exception { - runTest("compiler/testData/codegen/box/casts/unitAsInt.kt"); - } - @Test @TestMetadata("unitAsSafeAny.kt") public void testUnitAsSafeAny() throws Exception { @@ -4548,7 +3361,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Functions { @Test public void testAllFilesPresentInFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4575,12 +3388,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt"); } - @Test - @TestMetadata("javaTypeIsFunK.kt") - public void testJavaTypeIsFunK() throws Exception { - runTest("compiler/testData/codegen/box/casts/functions/javaTypeIsFunK.kt"); - } - @Test @TestMetadata("reifiedAsFunKBig.kt") public void testReifiedAsFunKBig() throws Exception { @@ -4637,91 +3444,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaInterop { @Test public void testAllFilesPresentInJavaInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("castWithWrongType.kt") - public void testCastWithWrongType() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/castWithWrongType.kt"); - } - - @Test - @TestMetadata("implicitNotNullWithWrongType.kt") - public void testImplicitNotNullWithWrongType() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/implicitNotNullWithWrongType.kt"); - } - - @Test - @TestMetadata("instanceOfWithWrongType.kt") - public void testInstanceOfWithWrongType() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/instanceOfWithWrongType.kt"); - } - - @Test - @TestMetadata("noNullCheckOnCollectionContains.kt") - public void testNoNullCheckOnCollectionContains() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnCollectionContains.kt"); - } - - @Test - @TestMetadata("noNullCheckOnCollectionRemove.kt") - public void testNoNullCheckOnCollectionRemove() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnCollectionRemove.kt"); - } - - @Test - @TestMetadata("noNullCheckOnListIndexOf.kt") - public void testNoNullCheckOnListIndexOf() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnListIndexOf.kt"); - } - - @Test - @TestMetadata("noNullCheckOnListLastIndexOf.kt") - public void testNoNullCheckOnListLastIndexOf() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnListLastIndexOf.kt"); - } - - @Test - @TestMetadata("noNullCheckOnMapContainsKey.kt") - public void testNoNullCheckOnMapContainsKey() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnMapContainsKey.kt"); - } - - @Test - @TestMetadata("noNullCheckOnMapContainsValue.kt") - public void testNoNullCheckOnMapContainsValue() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnMapContainsValue.kt"); - } - - @Test - @TestMetadata("noNullCheckOnMapGet.kt") - public void testNoNullCheckOnMapGet() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnMapGet.kt"); - } - - @Test - @TestMetadata("noNullCheckOnMapRemove.kt") - public void testNoNullCheckOnMapRemove() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/noNullCheckOnMapRemove.kt"); - } - - @Test - @TestMetadata("nullCheckOnMapGetOrDefault.kt") - public void testNullCheckOnMapGetOrDefault() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/nullCheckOnMapGetOrDefault.kt"); - } - - @Test - @TestMetadata("nullCheckOnMapRemove2.kt") - public void testNullCheckOnMapRemove2() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/nullCheckOnMapRemove2.kt"); - } - - @Test - @TestMetadata("safeCastWithWrongType.kt") - public void testSafeCastWithWrongType() throws Exception { - runTest("compiler/testData/codegen/box/casts/javaInterop/safeCastWithWrongType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -4732,7 +3455,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LiteralExpressionAsGenericArgument { @Test public void testAllFilesPresentInLiteralExpressionAsGenericArgument() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4741,12 +3464,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/binaryExpressionCast.kt"); } - @Test - @TestMetadata("javaBox.kt") - public void testJavaBox() throws Exception { - runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/javaBox.kt"); - } - @Test @TestMetadata("labeledExpressionCast.kt") public void testLabeledExpressionCast() throws Exception { @@ -4785,7 +3502,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MutableCollections { @Test public void testAllFilesPresentInMutableCollections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4800,12 +3517,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt"); } - @Test - @TestMetadata("mutabilityMarkerInterfaces.kt") - public void testMutabilityMarkerInterfaces() throws Exception { - runTest("compiler/testData/codegen/box/casts/mutableCollections/mutabilityMarkerInterfaces.kt"); - } - @Test @TestMetadata("reifiedAsWithMutable.kt") public void testReifiedAsWithMutable() throws Exception { @@ -4845,7 +3556,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CheckcastOptimization { @Test public void testAllFilesPresentInCheckcastOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/checkcastOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/checkcastOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4865,12 +3576,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt47851() throws Exception { runTest("compiler/testData/codegen/box/checkcastOptimization/kt47851.kt"); } - - @Test - @TestMetadata("kt47851a.kt") - public void testKt47851a() throws Exception { - runTest("compiler/testData/codegen/box/checkcastOptimization/kt47851a.kt"); - } } @Nested @@ -4880,7 +3585,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ClassLiteral { @Test public void testAllFilesPresentInClassLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4889,12 +3594,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classLiteral/bareArray.kt"); } - @Test - @TestMetadata("primitiveKClassEquality.kt") - public void testPrimitiveKClassEquality() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/primitiveKClassEquality.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/classLiteral/bound") @TestDataPath("$PROJECT_ROOT") @@ -4902,13 +3601,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/bound"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaIntrinsicWithSideEffect.kt") - public void testJavaIntrinsicWithSideEffect() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/bound/javaIntrinsicWithSideEffect.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4943,43 +3636,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Java { @Test public void testAllFilesPresentInJava() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("java.kt") - public void testJava() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/java.kt"); - } - - @Test - @TestMetadata("javaObjectType.kt") - public void testJavaObjectType() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/javaObjectType.kt"); - } - - @Test - @TestMetadata("javaObjectTypeReified.kt") - public void testJavaObjectTypeReified() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/javaObjectTypeReified.kt"); - } - - @Test - @TestMetadata("javaPrimitiveType.kt") - public void testJavaPrimitiveType() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/javaPrimitiveType.kt"); - } - - @Test - @TestMetadata("javaPrimitiveTypeReified.kt") - public void testJavaPrimitiveTypeReified() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/javaPrimitiveTypeReified.kt"); - } - - @Test - @TestMetadata("javaReified.kt") - public void testJavaReified() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/javaReified.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -4987,12 +3644,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt11943() throws Exception { runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt"); } - - @Test - @TestMetadata("objectSuperConstructorCall.kt") - public void testObjectSuperConstructorCall() throws Exception { - runTest("compiler/testData/codegen/box/classLiteral/java/objectSuperConstructorCall.kt"); - } } } @@ -5003,7 +3654,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Classes { @Test public void testAllFilesPresentInClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -5012,12 +3663,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/boxPrimitiveTypeInClinitOfClassObject.kt"); } - @Test - @TestMetadata("classCompanionInitializationWithJava.kt") - public void testClassCompanionInitializationWithJava() throws Exception { - runTest("compiler/testData/codegen/box/classes/classCompanionInitializationWithJava.kt"); - } - @Test @TestMetadata("classNamedAsOldPackageFacade.kt") public void testClassNamedAsOldPackageFacade() throws Exception { @@ -5060,12 +3705,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/classObjectNotOfEnum.kt"); } - @Test - @TestMetadata("classObjectToString.kt") - public void testClassObjectToString() throws Exception { - runTest("compiler/testData/codegen/box/classes/classObjectToString.kt"); - } - @Test @TestMetadata("classObjectWithPrivateGenericMember.kt") public void testClassObjectWithPrivateGenericMember() throws Exception { @@ -5222,12 +3861,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/innerClass.kt"); } - @Test - @TestMetadata("interfaceCompanionInitializationWithJava.kt") - public void testInterfaceCompanionInitializationWithJava() throws Exception { - runTest("compiler/testData/codegen/box/classes/interfaceCompanionInitializationWithJava.kt"); - } - @Test @TestMetadata("kt1018.kt") public void testKt1018() throws Exception { @@ -5240,12 +3873,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/kt1120.kt"); } - @Test - @TestMetadata("kt1134.kt") - public void testKt1134() throws Exception { - runTest("compiler/testData/codegen/box/classes/kt1134.kt"); - } - @Test @TestMetadata("kt1157.kt") public void testKt1157() throws Exception { @@ -5342,12 +3969,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/kt2224.kt"); } - @Test - @TestMetadata("kt2288.kt") - public void testKt2288() throws Exception { - runTest("compiler/testData/codegen/box/classes/kt2288.kt"); - } - @Test @TestMetadata("kt2384.kt") public void testKt2384() throws Exception { @@ -5366,12 +3987,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/kt2391.kt"); } - @Test - @TestMetadata("kt2395.kt") - public void testKt2395() throws Exception { - runTest("compiler/testData/codegen/box/classes/kt2395.kt"); - } - @Test @TestMetadata("kt2417.kt") public void testKt2417() throws Exception { @@ -5594,12 +4209,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/classes/kt8011a.kt"); } - @Test - @TestMetadata("kt903.kt") - public void testKt903() throws Exception { - runTest("compiler/testData/codegen/box/classes/kt903.kt"); - } - @Test @TestMetadata("kt940.kt") public void testKt940() throws Exception { @@ -5727,7 +4336,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Inner { @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes/inner"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes/inner"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -5781,7 +4390,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Closures { @Test public void testAllFilesPresentInClosures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -5916,12 +4525,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/closures/kt2151.kt"); } - @Test - @TestMetadata("kt23881.kt") - public void testKt23881() throws Exception { - runTest("compiler/testData/codegen/box/closures/kt23881.kt"); - } - @Test @TestMetadata("kt3152.kt") public void testKt3152() throws Exception { @@ -5958,18 +4561,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/closures/kt4137.kt"); } - @Test - @TestMetadata("kt47120.kt") - public void testKt47120() throws Exception { - runTest("compiler/testData/codegen/box/closures/kt47120.kt"); - } - - @Test - @TestMetadata("kt47120a.kt") - public void testKt47120a() throws Exception { - runTest("compiler/testData/codegen/box/closures/kt47120a.kt"); - } - @Test @TestMetadata("kt47840.kt") public void testKt47840() throws Exception { @@ -6036,24 +4627,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt"); } - @Test - @TestMetadata("noRefToOuter.kt") - public void testNoRefToOuter() throws Exception { - runTest("compiler/testData/codegen/box/closures/noRefToOuter.kt"); - } - @Test @TestMetadata("recursiveClosure.kt") public void testRecursiveClosure() throws Exception { runTest("compiler/testData/codegen/box/closures/recursiveClosure.kt"); } - @Test - @TestMetadata("refsAreSerializable.kt") - public void testRefsAreSerializable() throws Exception { - runTest("compiler/testData/codegen/box/closures/refsAreSerializable.kt"); - } - @Test @TestMetadata("simplestClosure.kt") public void testSimplestClosure() throws Exception { @@ -6066,12 +4645,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt"); } - @Test - @TestMetadata("staticLambda.kt") - public void testStaticLambda() throws Exception { - runTest("compiler/testData/codegen/box/closures/staticLambda.kt"); - } - @Test @TestMetadata("subclosuresWithinInitializers.kt") public void testSubclosuresWithinInitializers() throws Exception { @@ -6091,7 +4664,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CaptureInSuperConstructorCall { @Test public void testAllFilesPresentInCaptureInSuperConstructorCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureInSuperConstructorCall"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureInSuperConstructorCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6294,7 +4867,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CaptureOuterProperty { @Test public void testAllFilesPresentInCaptureOuterProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureOuterProperty"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureOuterProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6353,7 +4926,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CapturedVarsOptimization { @Test public void testAllFilesPresentInCapturedVarsOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/capturedVarsOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/capturedVarsOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6442,7 +5015,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ClosureInsideClosure { @Test public void testAllFilesPresentInClosureInsideClosure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/closureInsideClosure"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/closureInsideClosure"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6490,31 +5063,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CollectionLiterals { @Test public void testAllFilesPresentInCollectionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collectionLiterals"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("collectionLiteralsInArgumentPosition.kt") - public void testCollectionLiteralsInArgumentPosition() throws Exception { - runTest("compiler/testData/codegen/box/collectionLiterals/collectionLiteralsInArgumentPosition.kt"); - } - - @Test - @TestMetadata("collectionLiteralsWithConstants.kt") - public void testCollectionLiteralsWithConstants() throws Exception { - runTest("compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithConstants.kt"); - } - - @Test - @TestMetadata("collectionLiteralsWithVarargs.kt") - public void testCollectionLiteralsWithVarargs() throws Exception { - runTest("compiler/testData/codegen/box/collectionLiterals/collectionLiteralsWithVarargs.kt"); - } - - @Test - @TestMetadata("defaultAnnotationParameterValues.kt") - public void testDefaultAnnotationParameterValues() throws Exception { - runTest("compiler/testData/codegen/box/collectionLiterals/defaultAnnotationParameterValues.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collectionLiterals"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -6531,19 +5080,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInCollections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("charSequence.kt") - public void testCharSequence() throws Exception { - runTest("compiler/testData/codegen/box/collections/charSequence.kt"); - } - - @Test - @TestMetadata("implementCollectionThroughKotlin.kt") - public void testImplementCollectionThroughKotlin() throws Exception { - runTest("compiler/testData/codegen/box/collections/implementCollectionThroughKotlin.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6558,215 +5095,23 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/collections/inheritFromAbstractMutableListInt.kt"); } - @Test - @TestMetadata("inheritFromHashtable.kt") - public void testInheritFromHashtable() throws Exception { - runTest("compiler/testData/codegen/box/collections/inheritFromHashtable.kt"); - } - @Test @TestMetadata("internalRemove.kt") public void testInternalRemove() throws Exception { runTest("compiler/testData/codegen/box/collections/internalRemove.kt"); } - @Test - @TestMetadata("internalRemoveFromJava.kt") - public void testInternalRemoveFromJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/internalRemoveFromJava.kt"); - } - - @Test - @TestMetadata("irrelevantImplCharSequence.kt") - public void testIrrelevantImplCharSequence() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt"); - } - - @Test - @TestMetadata("irrelevantImplCharSequenceKotlin.kt") - public void testIrrelevantImplCharSequenceKotlin() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequenceKotlin.kt"); - } - - @Test - @TestMetadata("irrelevantImplMutableList.kt") - public void testIrrelevantImplMutableList() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantImplMutableList.kt"); - } - - @Test - @TestMetadata("irrelevantImplMutableListKotlin.kt") - public void testIrrelevantImplMutableListKotlin() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantImplMutableListKotlin.kt"); - } - - @Test - @TestMetadata("irrelevantImplMutableListSubstitution.kt") - public void testIrrelevantImplMutableListSubstitution() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantImplMutableListSubstitution.kt"); - } - - @Test - @TestMetadata("irrelevantRemoveAtOverrideInJava.kt") - public void testIrrelevantRemoveAtOverrideInJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantRemoveAtOverrideInJava.kt"); - } - - @Test - @TestMetadata("irrelevantSizeOverrideInJava.kt") - public void testIrrelevantSizeOverrideInJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/irrelevantSizeOverrideInJava.kt"); - } - - @Test - @TestMetadata("javaCollectionWithRemovePrimitiveInt.kt") - public void testJavaCollectionWithRemovePrimitiveInt() throws Exception { - runTest("compiler/testData/codegen/box/collections/javaCollectionWithRemovePrimitiveInt.kt"); - } - - @Test - @TestMetadata("kt40305.kt") - public void testKt40305() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt40305.kt"); - } - @Test @TestMetadata("kt41123.kt") public void testKt41123() throws Exception { runTest("compiler/testData/codegen/box/collections/kt41123.kt"); } - @Test - @TestMetadata("kt44233.kt") - public void testKt44233() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt44233.kt"); - } - - @Test - @TestMetadata("kt48945.kt") - public void testKt48945() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt48945.kt"); - } - - @Test - @TestMetadata("kt48945a.kt") - public void testKt48945a() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt48945a.kt"); - } - - @Test - @TestMetadata("kt48945b.kt") - public void testKt48945b() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt48945b.kt"); - } - - @Test - @TestMetadata("kt48945c.kt") - public void testKt48945c() throws Exception { - runTest("compiler/testData/codegen/box/collections/kt48945c.kt"); - } - - @Test - @TestMetadata("mutableList.kt") - public void testMutableList() throws Exception { - runTest("compiler/testData/codegen/box/collections/mutableList.kt"); - } - - @Test - @TestMetadata("noStubsInJavaSuperClass.kt") - public void testNoStubsInJavaSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/collections/noStubsInJavaSuperClass.kt"); - } - - @Test - @TestMetadata("platformValueContains.kt") - public void testPlatformValueContains() throws Exception { - runTest("compiler/testData/codegen/box/collections/platformValueContains.kt"); - } - - @Test - @TestMetadata("readOnlyList.kt") - public void testReadOnlyList() throws Exception { - runTest("compiler/testData/codegen/box/collections/readOnlyList.kt"); - } - - @Test - @TestMetadata("readOnlyMap.kt") - public void testReadOnlyMap() throws Exception { - runTest("compiler/testData/codegen/box/collections/readOnlyMap.kt"); - } - - @Test - @TestMetadata("removeAtBridgeClashWithJava.kt") - public void testRemoveAtBridgeClashWithJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeAtBridgeClashWithJava.kt"); - } - - @Test - @TestMetadata("removeAtInt.kt") - public void testRemoveAtInt() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeAtInt.kt"); - } - @Test @TestMetadata("removeClash.kt") public void testRemoveClash() throws Exception { runTest("compiler/testData/codegen/box/collections/removeClash.kt"); } - - @Test - @TestMetadata("removeClashJava.kt") - public void testRemoveClashJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeClashJava.kt"); - } - - @Test - @TestMetadata("removeClashKotlin.kt") - public void testRemoveClashKotlin() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeClashKotlin.kt"); - } - - @Test - @TestMetadata("removeClashWithGenerics.kt") - public void testRemoveClashWithGenerics() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeClashWithGenerics.kt"); - } - - @Test - @TestMetadata("removeNullFromList.kt") - public void testRemoveNullFromList() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeNullFromList.kt"); - } - - @Test - @TestMetadata("removeOverriddenInJava.kt") - public void testRemoveOverriddenInJava() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeOverriddenInJava.kt"); - } - - @Test - @TestMetadata("removeOverriddenInJava_Map.kt") - public void testRemoveOverriddenInJava_Map() throws Exception { - runTest("compiler/testData/codegen/box/collections/removeOverriddenInJava_Map.kt"); - } - - @Test - @TestMetadata("specialBridgeForGet.kt") - public void testSpecialBridgeForGet() throws Exception { - runTest("compiler/testData/codegen/box/collections/specialBridgeForGet.kt"); - } - - @Test - @TestMetadata("strList.kt") - public void testStrList() throws Exception { - runTest("compiler/testData/codegen/box/collections/strList.kt"); - } - - @Test - @TestMetadata("toArrayInJavaClass.kt") - public void testToArrayInJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/collections/toArrayInJavaClass.kt"); - } } @Nested @@ -6776,7 +5121,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Companion { @Test public void testAllFilesPresentInCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/companion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/companion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6805,7 +5150,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Compatibility { @Test public void testAllFilesPresentInCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compatibility"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compatibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6828,31 +5173,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInCompileKotlinAgainstKotlin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationInInterface.kt") - public void testAnnotationInInterface() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationInInterface.kt"); - } - - @Test - @TestMetadata("annotationOnTypeUseInTypeAlias.kt") - public void testAnnotationOnTypeUseInTypeAlias() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationOnTypeUseInTypeAlias.kt"); - } - - @Test - @TestMetadata("annotationsOnTypeAliases.kt") - public void testAnnotationsOnTypeAliases() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/annotationsOnTypeAliases.kt"); - } - - @Test - @TestMetadata("callsToMultifileClassFromOtherPackage.kt") - public void testCallsToMultifileClassFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/callsToMultifileClassFromOtherPackage.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -6879,12 +5200,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/companionObjectMember.kt"); } - @Test - @TestMetadata("constPropertyReferenceFromMultifileClass.kt") - public void testConstPropertyReferenceFromMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/constPropertyReferenceFromMultifileClass.kt"); - } - @Test @TestMetadata("constructorVararg.kt") public void testConstructorVararg() throws Exception { @@ -6915,30 +5230,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultConstructor.kt"); } - @Test - @TestMetadata("defaultLambdaRegeneration.kt") - public void testDefaultLambdaRegeneration() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration.kt"); - } - - @Test - @TestMetadata("defaultLambdaRegeneration2.kt") - public void testDefaultLambdaRegeneration2() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/defaultLambdaRegeneration2.kt"); - } - @Test @TestMetadata("delegatedDefault.kt") public void testDelegatedDefault() throws Exception { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/delegatedDefault.kt"); } - @Test - @TestMetadata("delegationAndAnnotations.kt") - public void testDelegationAndAnnotations() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/delegationAndAnnotations.kt"); - } - @Test @TestMetadata("doublyNestedClass.kt") public void testDoublyNestedClass() throws Exception { @@ -6957,24 +5254,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/expectClassActualTypeAlias.kt"); } - @Test - @TestMetadata("fakeOverridesForIntersectionTypes.kt") - public void testFakeOverridesForIntersectionTypes() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fakeOverridesForIntersectionTypes.kt"); - } - - @Test - @TestMetadata("importCompanion.kt") - public void testImportCompanion() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/importCompanion.kt"); - } - - @Test - @TestMetadata("inlinedConstants.kt") - public void testInlinedConstants() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlinedConstants.kt"); - } - @Test @TestMetadata("innerClassConstructor.kt") public void testInnerClassConstructor() throws Exception { @@ -6987,12 +5266,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/interfaceDelegationAndBridgesProcessing.kt"); } - @Test - @TestMetadata("internalLeakBug.kt") - public void testInternalLeakBug() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalLeakBug.kt"); - } - @Test @TestMetadata("internalSetterOverridden.kt") public void testInternalSetterOverridden() throws Exception { @@ -7011,126 +5284,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt"); } - @Test - @TestMetadata("intersectionOverrideProperies.kt") - public void testIntersectionOverrideProperies() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/intersectionOverrideProperies.kt"); - } - - @Test - @TestMetadata("jvmField.kt") - public void testJvmField() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmField.kt"); - } - - @Test - @TestMetadata("jvmFieldInAnnotationCompanion.kt") - public void testJvmFieldInAnnotationCompanion() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmFieldInAnnotationCompanion.kt"); - } - - @Test - @TestMetadata("jvmFieldInConstructor.kt") - public void testJvmFieldInConstructor() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmFieldInConstructor.kt"); - } - - @Test - @TestMetadata("jvmFieldInConstructor2.kt") - public void testJvmFieldInConstructor2() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmFieldInConstructor2.kt"); - } - - @Test - @TestMetadata("jvmFieldInInterfaceCompanion.kt") - public void testJvmFieldInInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmFieldInInterfaceCompanion.kt"); - } - - @Test - @TestMetadata("jvmNames.kt") - public void testJvmNames() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmNames.kt"); - } - - @Test - @TestMetadata("jvmPackageName.kt") - public void testJvmPackageName() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmPackageName.kt"); - } - - @Test - @TestMetadata("jvmPackageNameInRootPackage.kt") - public void testJvmPackageNameInRootPackage() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmPackageNameInRootPackage.kt"); - } - - @Test - @TestMetadata("jvmPackageNameMultifileClass.kt") - public void testJvmPackageNameMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmPackageNameMultifileClass.kt"); - } - - @Test - @TestMetadata("jvmPackageNameWithJvmName.kt") - public void testJvmPackageNameWithJvmName() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmPackageNameWithJvmName.kt"); - } - - @Test - @TestMetadata("jvmStaticInObject.kt") - public void testJvmStaticInObject() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObject.kt"); - } - - @Test - @TestMetadata("jvmStaticInObjectPropertyReference.kt") - public void testJvmStaticInObjectPropertyReference() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvmStaticInObjectPropertyReference.kt"); - } - - @Test - @TestMetadata("kotlinPropertyAsAnnotationParameter.kt") - public void testKotlinPropertyAsAnnotationParameter() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/kotlinPropertyAsAnnotationParameter.kt"); - } - @Test @TestMetadata("kt14012.kt") public void testKt14012() throws Exception { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/kt14012.kt"); } - @Test - @TestMetadata("kt14012_multi.kt") - public void testKt14012_multi() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/kt14012_multi.kt"); - } - @Test @TestMetadata("kt21775.kt") public void testKt21775() throws Exception { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/kt21775.kt"); } - @Test - @TestMetadata("metadataForMembersInLocalClassInInitializer.kt") - public void testMetadataForMembersInLocalClassInInitializer() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/metadataForMembersInLocalClassInInitializer.kt"); - } - - @Test - @TestMetadata("multifileClassInlineFunctionAccessingProperty.kt") - public void testMultifileClassInlineFunctionAccessingProperty() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/multifileClassInlineFunctionAccessingProperty.kt"); - } - - @Test - @TestMetadata("multifileClassWithTypealias.kt") - public void testMultifileClassWithTypealias() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/multifileClassWithTypealias.kt"); - } - @Test @TestMetadata("nestedClass.kt") public void testNestedClass() throws Exception { @@ -7167,48 +5332,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/nestedTypeAliasExpansion.kt"); } - @Test - @TestMetadata("noExplicitOverrideForDelegatedFromSupertype.kt") - public void testNoExplicitOverrideForDelegatedFromSupertype() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/noExplicitOverrideForDelegatedFromSupertype.kt"); - } - - @Test - @TestMetadata("optionalAnnotation.kt") - public void testOptionalAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/optionalAnnotation.kt"); - } - - @Test - @TestMetadata("platformTypes.kt") - public void testPlatformTypes() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/platformTypes.kt"); - } - @Test @TestMetadata("propertyReference.kt") public void testPropertyReference() throws Exception { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/propertyReference.kt"); } - @Test - @TestMetadata("recursiveGeneric.kt") - public void testRecursiveGeneric() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/recursiveGeneric.kt"); - } - - @Test - @TestMetadata("reflectTopLevelFunctionOtherFile.kt") - public void testReflectTopLevelFunctionOtherFile() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/reflectTopLevelFunctionOtherFile.kt"); - } - - @Test - @TestMetadata("repeatableAnnotation.kt") - public void testRepeatableAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/repeatableAnnotation.kt"); - } - @Test @TestMetadata("sealedClass.kt") public void testSealedClass() throws Exception { @@ -7245,12 +5374,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/starImportEnum.kt"); } - @Test - @TestMetadata("targetedJvmName.kt") - public void testTargetedJvmName() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/targetedJvmName.kt"); - } - @Test @TestMetadata("typeAliasesKt13181.kt") public void testTypeAliasesKt13181() throws Exception { @@ -7276,37 +5399,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Fir { @Test public void testAllFilesPresentInFir() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("AnonymousObjectInProperty.kt") - public void testAnonymousObjectInProperty() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/AnonymousObjectInProperty.kt"); - } - - @Test - @TestMetadata("ExistingSymbolInFakeOverride.kt") - public void testExistingSymbolInFakeOverride() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/ExistingSymbolInFakeOverride.kt"); - } - - @Test - @TestMetadata("IncrementalCompilerRunner.kt") - public void testIncrementalCompilerRunner() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IncrementalCompilerRunner.kt"); - } - - @Test - @TestMetadata("IrConstAcceptMultiModule.kt") - public void testIrConstAcceptMultiModule() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IrConstAcceptMultiModule.kt"); - } - - @Test - @TestMetadata("LibraryProperty.kt") - public void testLibraryProperty() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/LibraryProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -7317,7 +5410,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7417,85 +5510,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class OldMangling { @Test public void testAllFilesPresentInOldMangling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callDeserializedPropertyOnInlineClassType.kt") - public void testCallDeserializedPropertyOnInlineClassType() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/callDeserializedPropertyOnInlineClassType.kt"); - } - - @Test - @TestMetadata("constructorWithInlineClassParametersInBinaryDependencies.kt") - public void testConstructorWithInlineClassParametersInBinaryDependencies() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/constructorWithInlineClassParametersInBinaryDependencies.kt"); - } - - @Test - @TestMetadata("defaultWithInlineClassAndReceivers.kt") - public void testDefaultWithInlineClassAndReceivers() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/defaultWithInlineClassAndReceivers.kt"); - } - - @Test - @TestMetadata("extensionPropertyWithSameName.kt") - public void testExtensionPropertyWithSameName() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/extensionPropertyWithSameName.kt"); - } - - @Test - @TestMetadata("inlineClassFakeOverrideMangling.kt") - public void testInlineClassFakeOverrideMangling() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFakeOverrideMangling.kt"); - } - - @Test - @TestMetadata("inlineClassFromBinaryDependencies.kt") - public void testInlineClassFromBinaryDependencies() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassFromBinaryDependencies.kt"); - } - - @Test - @TestMetadata("inlineClassInlineFunctionCall.kt") - public void testInlineClassInlineFunctionCall() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineFunctionCall.kt"); - } - - @Test - @TestMetadata("inlineClassInlineProperty.kt") - public void testInlineClassInlineProperty() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/inlineClassInlineProperty.kt"); - } - - @Test - @TestMetadata("privateCompanionObjectValInDifferentModule.kt") - public void testPrivateCompanionObjectValInDifferentModule() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateCompanionObjectValInDifferentModule.kt"); - } - - @Test - @TestMetadata("privateConstructor.kt") - public void testPrivateConstructor() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateConstructor.kt"); - } - - @Test - @TestMetadata("privateConstructorWithPrivateField.kt") - public void testPrivateConstructorWithPrivateField() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateConstructorWithPrivateField.kt"); - } - - @Test - @TestMetadata("privateTopLevelValInDifferentModule.kt") - public void testPrivateTopLevelValInDifferentModule() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/privateTopLevelValInDifferentModule.kt"); - } - - @Test - @TestMetadata("suspendFunWithDefaultOldMangling.kt") - public void testSuspendFunWithDefaultOldMangling() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling/suspendFunWithDefaultOldMangling.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/oldMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7513,7 +5528,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm8 { @Test public void testAllFilesPresentInJvm8() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -7523,7 +5538,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Defaults { @Test public void testAllFilesPresentInDefaults() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7569,7 +5584,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class AllCompatibility { @Test public void testAllFilesPresentInAllCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7621,19 +5636,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegationBy { @Test public void testAllFilesPresentInDelegationBy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simple.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/allCompatibility/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -7657,7 +5660,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/interop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7710,7 +5713,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NoDefaultImpls { @Test public void testAllFilesPresentInNoDefaultImpls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/noDefaultImpls"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/defaults/noDefaultImpls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7728,7 +5731,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm8against6 { @Test public void testAllFilesPresentInJvm8against6() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/jvm8against6"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/jvm8against6"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7774,7 +5777,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/jvm8against6/delegation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/jvm8/jvm8against6/delegation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7805,13 +5808,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeAnnotations { @Test public void testAllFilesPresentInTypeAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("implicitReturn.kt") - public void testImplicitReturn() throws Exception { - runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/typeAnnotations/implicitReturn.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compileKotlinAgainstKotlin/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -7823,7 +5820,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Constants { @Test public void testAllFilesPresentInConstants() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constants"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constants"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -7912,19 +5909,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Constructor { @Test public void testAllFilesPresentInConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constructor"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("genericConstructor.kt") - public void testGenericConstructor() throws Exception { - runTest("compiler/testData/codegen/box/constructor/genericConstructor.kt"); - } - - @Test - @TestMetadata("secondaryConstructor.kt") - public void testSecondaryConstructor() throws Exception { - runTest("compiler/testData/codegen/box/constructor/secondaryConstructor.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constructor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -7935,103 +5920,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ConstructorCall { @Test public void testAllFilesPresentInConstructorCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constructorCall"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("breakInConstructorArguments.kt") - public void testBreakInConstructorArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/breakInConstructorArguments.kt"); - } - - @Test - @TestMetadata("continueInConstructorArguments.kt") - public void testContinueInConstructorArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/continueInConstructorArguments.kt"); - } - - @Test - @TestMetadata("earlyReturnInConstructorArguments.kt") - public void testEarlyReturnInConstructorArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/earlyReturnInConstructorArguments.kt"); - } - - @Test - @TestMetadata("inlineFunInConstructorCall.kt") - public void testInlineFunInConstructorCall() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCall.kt"); - } - - @Test - @TestMetadata("inlineFunInConstructorCallEvaluationOrder.kt") - public void testInlineFunInConstructorCallEvaluationOrder() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/inlineFunInConstructorCallEvaluationOrder.kt"); - } - - @Test - @TestMetadata("inlineFunInInnerClassConstructorCall.kt") - public void testInlineFunInInnerClassConstructorCall() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/inlineFunInInnerClassConstructorCall.kt"); - } - - @Test - @TestMetadata("inlineFunInLocalClassConstructorCall.kt") - public void testInlineFunInLocalClassConstructorCall() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/inlineFunInLocalClassConstructorCall.kt"); - } - - @Test - @TestMetadata("kt49615.kt") - public void testKt49615() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/kt49615.kt"); - } - - @Test - @TestMetadata("kt49615a.kt") - public void testKt49615a() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/kt49615a.kt"); - } - - @Test - @TestMetadata("loopInInlineFun.kt") - public void testLoopInInlineFun() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/loopInInlineFun.kt"); - } - - @Test - @TestMetadata("loopInInlineFunInSuperConstructorCall.kt") - public void testLoopInInlineFunInSuperConstructorCall() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/loopInInlineFunInSuperConstructorCall.kt"); - } - - @Test - @TestMetadata("nestedConstructorCallWithJumpOutInConstructorArguments.kt") - public void testNestedConstructorCallWithJumpOutInConstructorArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/nestedConstructorCallWithJumpOutInConstructorArguments.kt"); - } - - @Test - @TestMetadata("nonLocalReturnInConstructorArguments.kt") - public void testNonLocalReturnInConstructorArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/nonLocalReturnInConstructorArguments.kt"); - } - - @Test - @TestMetadata("possiblyPoppedUnitializedValueInArguments.kt") - public void testPossiblyPoppedUnitializedValueInArguments() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/possiblyPoppedUnitializedValueInArguments.kt"); - } - - @Test - @TestMetadata("regularConstructorCallEvaluationOrder.kt") - public void testRegularConstructorCallEvaluationOrder() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/regularConstructorCallEvaluationOrder.kt"); - } - - @Test - @TestMetadata("tryCatchInConstructorCallEvaluationOrder.kt") - public void testTryCatchInConstructorCallEvaluationOrder() throws Exception { - runTest("compiler/testData/codegen/box/constructorCall/tryCatchInConstructorCallEvaluationOrder.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constructorCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -8042,7 +5931,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Contracts { @Test public void testAllFilesPresentInContracts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/contracts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -8149,7 +6038,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ControlStructures { @Test public void testAllFilesPresentInControlStructures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -8446,12 +6335,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/kt2416.kt"); } - @Test - @TestMetadata("kt2423.kt") - public void testKt2423() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/kt2423.kt"); - } - @Test @TestMetadata("kt2577.kt") public void testKt2577() throws Exception { @@ -8500,12 +6383,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/kt3280.kt"); } - @Test - @TestMetadata("kt3574.kt") - public void testKt3574() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/kt3574.kt"); - } - @Test @TestMetadata("kt416.kt") public void testKt416() throws Exception { @@ -8620,12 +6497,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/quicksort.kt"); } - @Test - @TestMetadata("slowHtmlLikeDsl.kt") - public void testSlowHtmlLikeDsl() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/slowHtmlLikeDsl.kt"); - } - @Test @TestMetadata("tcbInEliminatedCondition.kt") public void testTcbInEliminatedCondition() throws Exception { @@ -8656,12 +6527,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/tryFinally.kt"); } - @Test - @TestMetadata("tryFinallyGeneric.kt") - public void testTryFinallyGeneric() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/tryFinallyGeneric.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions") @TestDataPath("$PROJECT_ROOT") @@ -8669,7 +6534,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BreakContinueInExpressions { @Test public void testAllFilesPresentInBreakContinueInExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -8794,7 +6659,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInArray { @Test public void testAllFilesPresentInForInArray() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArray"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArray"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -8865,7 +6730,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInArrayWithIndex { @Test public void testAllFilesPresentInForInArrayWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArrayWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArrayWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -8996,7 +6861,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInCharSequenceWithIndex { @Test public void testAllFilesPresentInForInCharSequenceWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9091,7 +6956,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInIterableWithIndex { @Test public void testAllFilesPresentInForInIterableWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9160,12 +7025,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt"); } - @Test - @TestMetadata("forInListWithIndexThrowsCME.kt") - public void testForInListWithIndexThrowsCME() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexThrowsCME.kt"); - } - @Test @TestMetadata("forInListWithIndexWithExplicitlyTypedIndexVariable.kt") public void testForInListWithIndexWithExplicitlyTypedIndexVariable() throws Exception { @@ -9180,7 +7039,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInSequenceWithIndex { @Test public void testAllFilesPresentInForInSequenceWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9237,12 +7096,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVarCheckSideEffects.kt"); } - @Test - @TestMetadata("forInSequenceWithIndexThrowsCME.kt") - public void testForInSequenceWithIndexThrowsCME() throws Exception { - runTest("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexThrowsCME.kt"); - } - @Test @TestMetadata("forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt") public void testForInSequenceWithIndexWithExplicitlyTypedIndexVariable() throws Exception { @@ -9257,7 +7110,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ReturnsNothing { @Test public void testAllFilesPresentInReturnsNothing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/returnsNothing"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/returnsNothing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9298,7 +7151,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TryCatchInExpressions { @Test public void testAllFilesPresentInTryCatchInExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9508,19 +7361,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("async.kt") - public void testAsync() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/async.kt"); - } - - @Test - @TestMetadata("asyncException.kt") - public void testAsyncException() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/asyncException.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -9619,12 +7460,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/coroutineContextInInlinedLambda.kt"); } - @Test - @TestMetadata("coroutineToString.kt") - public void testCoroutineToString() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/coroutineToString.kt"); - } - @Test @TestMetadata("createCoroutineSafe.kt") public void testCreateCoroutineSafe() throws Exception { @@ -9649,12 +7484,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt"); } - @Test - @TestMetadata("defaultParametersInSuspendWithJvmOverloads.kt") - public void testDefaultParametersInSuspendWithJvmOverloads() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspendWithJvmOverloads.kt"); - } - @Test @TestMetadata("delegatedSuspendMember.kt") public void testDelegatedSuspendMember() throws Exception { @@ -9727,12 +7556,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/handleResultSuspended.kt"); } - @Test - @TestMetadata("illegalState.kt") - public void testIllegalState() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/illegalState.kt"); - } - @Test @TestMetadata("indirectInlineUsedAsNonInline.kt") public void testIndirectInlineUsedAsNonInline() throws Exception { @@ -9745,18 +7568,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/inlineFunInGenericClass.kt"); } - @Test - @TestMetadata("inlineFunctionInMultifileClass.kt") - public void testInlineFunctionInMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClass.kt"); - } - - @Test - @TestMetadata("inlineFunctionInMultifileClassUnoptimized.kt") - public void testInlineFunctionInMultifileClassUnoptimized() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClassUnoptimized.kt"); - } - @Test @TestMetadata("inlineGenericFunCalledFromSubclass.kt") public void testInlineGenericFunCalledFromSubclass() throws Exception { @@ -9799,12 +7610,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/iterateOverArray.kt"); } - @Test - @TestMetadata("jvmStaticAndJvmInline.kt") - public void testJvmStaticAndJvmInline() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/jvmStaticAndJvmInline.kt"); - } - @Test @TestMetadata("kt12958.kt") public void testKt12958() throws Exception { @@ -9877,12 +7682,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/kt35967.kt"); } - @Test - @TestMetadata("kt38099.kt") - public void testKt38099() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/kt38099.kt"); - } - @Test @TestMetadata("kt42028.kt") public void testKt42028() throws Exception { @@ -10057,12 +7856,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/recursiveSuspend.kt"); } - @Test - @TestMetadata("restrictedSuspendLambda.kt") - public void testRestrictedSuspendLambda() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/restrictedSuspendLambda.kt"); - } - @Test @TestMetadata("returnByLabel.kt") public void testReturnByLabel() throws Exception { @@ -10123,12 +7916,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/suspendCoroutineFromStateMachine.kt"); } - @Test - @TestMetadata("suspendCovariantJavaOverrides.kt") - public void testSuspendCovariantJavaOverrides() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/suspendCovariantJavaOverrides.kt"); - } - @Test @TestMetadata("suspendDefaultImpl.kt") public void testSuspendDefaultImpl() throws Exception { @@ -10171,12 +7958,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/suspendFunctionMethodReference.kt"); } - @Test - @TestMetadata("suspendImplBridge.kt") - public void testSuspendImplBridge() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/suspendImplBridge.kt"); - } - @Test @TestMetadata("suspendInCycle.kt") public void testSuspendInCycle() throws Exception { @@ -10201,12 +7982,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionWithJumpOut.kt"); } - @Test - @TestMetadata("suspendJavaOverrides.kt") - public void testSuspendJavaOverrides() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/suspendJavaOverrides.kt"); - } - @Test @TestMetadata("suspendLambdaInInterface.kt") public void testSuspendLambdaInInterface() throws Exception { @@ -10219,12 +7994,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/suspendLambdaWithArgumentRearrangement.kt"); } - @Test - @TestMetadata("suspendReturningPlatformType.kt") - public void testSuspendReturningPlatformType() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/suspendReturningPlatformType.kt"); - } - @Test @TestMetadata("suspensionInsideSafeCall.kt") public void testSuspensionInsideSafeCall() throws Exception { @@ -10298,7 +8067,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Bridges { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10333,7 +8102,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ControlFlow { @Test public void testAllFilesPresentInControlFlow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/controlFlow"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/controlFlow"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10482,49 +8251,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Debug { @Test public void testAllFilesPresentInDebug() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/debug"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("debuggerMetadata.kt") - public void testDebuggerMetadata() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt"); - } - - @Test - @TestMetadata("elvisLineNumber.kt") - public void testElvisLineNumber() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/elvisLineNumber.kt"); - } - - @Test - @TestMetadata("firstSuspensionPoint.kt") - public void testFirstSuspensionPoint() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/firstSuspensionPoint.kt"); - } - - @Test - @TestMetadata("fqName.kt") - public void testFqName() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/fqName.kt"); - } - - @Test - @TestMetadata("multipleSuspendCallsOnSameLine.kt") - public void testMultipleSuspendCallsOnSameLine() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/multipleSuspendCallsOnSameLine.kt"); - } - - @Test - @TestMetadata("runtimeDebugMetadata.kt") - public void testRuntimeDebugMetadata() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/runtimeDebugMetadata.kt"); - } - - @Test - @TestMetadata("throwsOnSameLine.kt") - public void testThrowsOnSameLine() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/debug/throwsOnSameLine.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/debug"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -10535,7 +8262,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FeatureIntersection { @Test public void testAllFilesPresentInFeatureIntersection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10616,12 +8343,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendDestructuringInLambdas.kt"); } - @Test - @TestMetadata("suspendFunctionAsSupertypeIsCheck.kt") - public void testSuspendFunctionAsSupertypeIsCheck() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheck.kt"); - } - @Test @TestMetadata("suspendFunctionAsSupertypeIsCheckWithArity.kt") public void testSuspendFunctionAsSupertypeIsCheckWithArity() throws Exception { @@ -10665,7 +8386,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10674,18 +8395,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bigArity.kt"); } - @Test - @TestMetadata("fromJava.kt") - public void testFromJava() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/fromJava.kt"); - } - - @Test - @TestMetadata("kt48732_genericSignature.kt") - public void testKt48732_genericSignature() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/kt48732_genericSignature.kt"); - } - @Test @TestMetadata("lambdaParameterUsed.kt") public void testLambdaParameterUsed() throws Exception { @@ -10705,7 +8414,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10728,13 +8437,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("genericCallableReferenceArguments.kt") - public void testGenericCallableReferenceArguments() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferenceArguments.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10743,12 +8446,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt"); } - @Test - @TestMetadata("getArityViaFunctionImpl.kt") - public void testGetArityViaFunctionImpl() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/getArityViaFunctionImpl.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local") @TestDataPath("$PROJECT_ROOT") @@ -10756,7 +8453,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10775,7 +8472,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10802,15 +8499,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class JvmDefault { - @Test - @TestMetadata("all.kt") - public void testAll() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/all.kt"); - } - @Test public void testAllFilesPresentInJvmDefault() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -10818,33 +8509,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class Kt46007 { - @Test - @TestMetadata("all.kt") - public void testAll() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all.kt"); - } - @Test public void testAllFilesPresentInKt46007() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("all-compatibility.kt") - public void testAll_compatibility() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all-compatibility.kt"); - } - - @Test - @TestMetadata("disable.kt") - public void testDisable() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/disable.kt"); - } - - @Test - @TestMetadata("enable.kt") - public void testEnable() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/enable.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -10856,7 +8523,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Tailrec { @Test public void testAllFilesPresentInTailrec() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10946,7 +8613,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -10974,7 +8641,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Direct { @Test public void testAllFilesPresentInDirect() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/direct"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/direct"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -11217,12 +8884,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/invokeOperator.kt"); } - @Test - @TestMetadata("multifileBridge.kt") - public void testMultifileBridge() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/multifileBridge.kt"); - } - @Test @TestMetadata("overrideSuspendFun.kt") public void testOverrideSuspendFun() throws Exception { @@ -11273,7 +8934,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Resume { @Test public void testAllFilesPresentInResume() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resume"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resume"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -11516,12 +9177,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/invokeOperator.kt"); } - @Test - @TestMetadata("multifileBridge.kt") - public void testMultifileBridge() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/multifileBridge.kt"); - } - @Test @TestMetadata("overrideSuspendFun.kt") public void testOverrideSuspendFun() throws Exception { @@ -11572,7 +9227,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ResumeWithException { @Test public void testAllFilesPresentInResumeWithException() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -11836,7 +9491,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class IntLikeVarSpilling { @Test public void testAllFilesPresentInIntLikeVarSpilling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intLikeVarSpilling"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intLikeVarSpilling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -11887,24 +9542,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/unusedCatchVar.kt"); } - @Test - @TestMetadata("usedInArrayStore.kt") - public void testUsedInArrayStore() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInArrayStore.kt"); - } - @Test @TestMetadata("usedInMethodCall.kt") public void testUsedInMethodCall() throws Exception { runTest("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInMethodCall.kt"); } - @Test - @TestMetadata("usedInPutfield.kt") - public void testUsedInPutfield() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInPutfield.kt"); - } - @Test @TestMetadata("usedInVarStore.kt") public void testUsedInVarStore() throws Exception { @@ -11919,7 +9562,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class IntrinsicSemantics { @Test public void testAllFilesPresentInIntrinsicSemantics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intrinsicSemantics"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/intrinsicSemantics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -11984,37 +9627,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaInterop { @Test public void testAllFilesPresentInJavaInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("objectWithSeveralSuspends.kt") - public void testObjectWithSeveralSuspends() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/javaInterop/objectWithSeveralSuspends.kt"); - } - - @Test - @TestMetadata("returnLambda.kt") - public void testReturnLambda() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/javaInterop/returnLambda.kt"); - } - - @Test - @TestMetadata("returnObject.kt") - public void testReturnObject() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/javaInterop/returnObject.kt"); - } - - @Test - @TestMetadata("severalCaptures.kt") - public void testSeveralCaptures() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/javaInterop/severalCaptures.kt"); - } - - @Test - @TestMetadata("suspendInlineWithCrossinline.kt") - public void testSuspendInlineWithCrossinline() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/javaInterop/suspendInlineWithCrossinline.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -12025,7 +9638,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LocalFunctions { @Test public void testAllFilesPresentInLocalFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -12035,7 +9648,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Anonymous { @Test public void testAllFilesPresentInAnonymous() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/anonymous"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/anonymous"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12052,7 +9665,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Named { @Test public void testAllFilesPresentInNamed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12103,12 +9716,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/nestedLocals.kt"); } - @Test - @TestMetadata("rec.kt") - public void testRec() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/rec.kt"); - } - @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -12142,7 +9749,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultiModule { @Test public void testAllFilesPresentInMultiModule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12187,12 +9794,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt"); } - @Test - @TestMetadata("inlineWithJava.kt") - public void testInlineWithJava() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/multiModule/inlineWithJava.kt"); - } - @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -12207,7 +9808,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RedundantLocalsElimination { @Test public void testAllFilesPresentInRedundantLocalsElimination() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/redundantLocalsElimination"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/redundantLocalsElimination"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12224,25 +9825,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reflect { @Test public void testAllFilesPresentInReflect() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/reflect"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bigArity.kt") - public void testBigArity() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/reflect/bigArity.kt"); - } - - @Test - @TestMetadata("callSuspend.kt") - public void testCallSuspend() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/reflect/callSuspend.kt"); - } - - @Test - @TestMetadata("callSuspendBy.kt") - public void testCallSuspendBy() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/reflect/callSuspendBy.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/reflect"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -12253,7 +9836,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class StackUnwinding { @Test public void testAllFilesPresentInStackUnwinding() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/stackUnwinding"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/stackUnwinding"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12300,7 +9883,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12335,7 +9918,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuspendFunctionAsCoroutine { @Test public void testAllFilesPresentInSuspendFunctionAsCoroutine() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12380,12 +9963,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt"); } - @Test - @TestMetadata("openFunWithJava.kt") - public void testOpenFunWithJava() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/openFunWithJava.kt"); - } - @Test @TestMetadata("operators.kt") public void testOperators() throws Exception { @@ -12454,7 +10031,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuspendFunctionTypeCall { @Test public void testAllFilesPresentInSuspendFunctionTypeCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/suspendFunctionTypeCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12495,13 +10072,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TailCallOptimizations { @Test public void testAllFilesPresentInTailCallOptimizations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailCallOptimizations"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("also.kt") - public void testAlso() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/also.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailCallOptimizations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12510,18 +10081,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/crossinline.kt"); } - @Test - @TestMetadata("deferredAwaitSuspendImpl.kt") - public void testDeferredAwaitSuspendImpl() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/deferredAwaitSuspendImpl.kt"); - } - - @Test - @TestMetadata("inlineWithStateMachine.kt") - public void testInlineWithStateMachine() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithStateMachine.kt"); - } - @Test @TestMetadata("inlineWithoutStateMachine.kt") public void testInlineWithoutStateMachine() throws Exception { @@ -12534,66 +10093,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt"); } - @Test - @TestMetadata("interfaceDelegation.kt") - public void testInterfaceDelegation() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/interfaceDelegation.kt"); - } - - @Test - @TestMetadata("returnInlineClass.kt") - public void testReturnInlineClass() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/returnInlineClass.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt"); - } - - @Test - @TestMetadata("tailCallIfReturnUnit.kt") - public void testTailCallIfReturnUnit() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tailCallIfReturnUnit.kt"); - } - - @Test - @TestMetadata("tailCallIntrinsics.kt") - public void testTailCallIntrinsics() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tailCallIntrinsics.kt"); - } - - @Test - @TestMetadata("tailSuspendUnitFun.kt") - public void testTailSuspendUnitFun() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tailSuspendUnitFun.kt"); - } - @Test @TestMetadata("tryCatch.kt") public void testTryCatch() throws Exception { runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt"); } - @Test - @TestMetadata("tryCatchTailCall.kt") - public void testTryCatchTailCall() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatchTailCall.kt"); - } - - @Test - @TestMetadata("unreachable.kt") - public void testUnreachable() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unreachable.kt"); - } - - @Test - @TestMetadata("whenUnit.kt") - public void testWhenUnit() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/whenUnit.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit") @TestDataPath("$PROJECT_ROOT") @@ -12601,79 +10106,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("functionReference.kt") - public void testFunctionReference() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/functionReference.kt"); - } - - @Test - @TestMetadata("inline.kt") - public void testInline() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/inline.kt"); - } - - @Test - @TestMetadata("override.kt") - public void testOverride() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override.kt"); - } - - @Test - @TestMetadata("override2.kt") - public void testOverride2() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override2.kt"); - } - - @Test - @TestMetadata("override3.kt") - public void testOverride3() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override3.kt"); - } - - @Test - @TestMetadata("override4.kt") - public void testOverride4() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override4.kt"); - } - - @Test - @TestMetadata("override5.kt") - public void testOverride5() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override5.kt"); - } - - @Test - @TestMetadata("override6.kt") - public void testOverride6() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/override6.kt"); - } - - @Test - @TestMetadata("overrideCrossinline.kt") - public void testOverrideCrossinline() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/overrideCrossinline.kt"); - } - - @Test - @TestMetadata("overrideOverriden.kt") - public void testOverrideOverriden() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/overrideOverriden.kt"); - } - - @Test - @TestMetadata("reflection.kt") - public void testReflection() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/reflection.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailCallOptimizations/unit"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -12685,7 +10118,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TailOperations { @Test public void testAllFilesPresentInTailOperations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailOperations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/tailOperations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12720,7 +10153,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnitTypeReturn { @Test public void testAllFilesPresentInUnitTypeReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/unitTypeReturn"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/unitTypeReturn"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12773,7 +10206,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class VarSpilling { @Test public void testAllFilesPresentInVarSpilling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12833,7 +10266,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CorrectFrontendCode { @Test public void testAllFilesPresentInCorrectFrontendCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/correctFrontendCode"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/correctFrontendCode"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12850,7 +10283,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DataClasses { @Test public void testAllFilesPresentInDataClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12889,12 +10322,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/dataClasses/genericParam.kt"); } - @Test - @TestMetadata("kt5002.kt") - public void testKt5002() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/kt5002.kt"); - } - @Test @TestMetadata("mixedParams.kt") public void testMixedParams() throws Exception { @@ -12943,12 +10370,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/dataClasses/twoVarParams.kt"); } - @Test - @TestMetadata("typeParameterWithNonTrivialBound.kt") - public void testTypeParameterWithNonTrivialBound() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/typeParameterWithNonTrivialBound.kt"); - } - @Test @TestMetadata("unitComponent.kt") public void testUnitComponent() throws Exception { @@ -12962,7 +10383,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Components { @Test public void testAllFilesPresentInComponents() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/components"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/components"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -12985,7 +10406,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Copy { @Test public void testAllFilesPresentInCopy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/copy"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/copy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13044,7 +10465,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Equals { @Test public void testAllFilesPresentInEquals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/equals"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/equals"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13053,12 +10474,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/dataClasses/equals/alreadyDeclared.kt"); } - @Test - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/equals/alreadyDeclaredWrongSignature.kt"); - } - @Test @TestMetadata("genericarray.kt") public void testGenericarray() throws Exception { @@ -13097,7 +10512,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class HashCode { @Test public void testAllFilesPresentInHashCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/hashCode"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/hashCode"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13106,18 +10521,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclared.kt"); } - @Test - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclaredWrongSignature.kt"); - } - - @Test - @TestMetadata("array.kt") - public void testArray() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/hashCode/array.kt"); - } - @Test @TestMetadata("boolean.kt") public void testBoolean() throws Exception { @@ -13186,7 +10589,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ToString { @Test public void testAllFilesPresentInToString() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/toString"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/toString"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13195,12 +10598,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/dataClasses/toString/alreadyDeclared.kt"); } - @Test - @TestMetadata("alreadyDeclaredWrongSignature.kt") - public void testAlreadyDeclaredWrongSignature() throws Exception { - runTest("compiler/testData/codegen/box/dataClasses/toString/alreadyDeclaredWrongSignature.kt"); - } - @Test @TestMetadata("arrayParams.kt") public void testArrayParams() throws Exception { @@ -13240,7 +10637,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DeadCodeElimination { @Test public void testAllFilesPresentInDeadCodeElimination() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13275,7 +10672,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13344,18 +10741,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/defaultArguments/kt36853a.kt"); } - @Test - @TestMetadata("kt36972_companion.kt") - public void testKt36972_companion() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/kt36972_companion.kt"); - } - - @Test - @TestMetadata("kt36972_object.kt") - public void testKt36972_object() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/kt36972_object.kt"); - } - @Test @TestMetadata("kt46189.kt") public void testKt46189() throws Exception { @@ -13410,18 +10795,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt"); } - @Test - @TestMetadata("superCallCheck.kt") - public void testSuperCallCheck() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/superCallCheck.kt"); - } - - @Test - @TestMetadata("superCallHandlerOrder.kt") - public void testSuperCallHandlerOrder() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/superCallHandlerOrder.kt"); - } - @Test @TestMetadata("useNextParamInLambda.kt") public void testUseNextParamInLambda() throws Exception { @@ -13447,7 +10820,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Constructor { @Test public void testAllFilesPresentInConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/constructor"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/constructor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13462,12 +10835,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt"); } - @Test - @TestMetadata("checkIfConstructorIsSynthetic.kt") - public void testCheckIfConstructorIsSynthetic() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/constructor/checkIfConstructorIsSynthetic.kt"); - } - @Test @TestMetadata("defArgs1.kt") public void testDefArgs1() throws Exception { @@ -13540,12 +10907,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt"); } - @Test - @TestMetadata("manyArgs.kt") - public void testManyArgs() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt"); - } - @Test @TestMetadata("objectExpressionDelegatingToSecondaryConstructor.kt") public void testObjectExpressionDelegatingToSecondaryConstructor() throws Exception { @@ -13560,7 +10921,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Convention { @Test public void testAllFilesPresentInConvention() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/convention"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/convention"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13581,12 +10942,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/defaultArguments/convention/kt16520.kt"); } - @Test - @TestMetadata("kt16520_old.kt") - public void testKt16520_old() throws Exception { - runTest("compiler/testData/codegen/box/defaultArguments/convention/kt16520_old.kt"); - } - @Test @TestMetadata("kt9140.kt") public void testKt9140() throws Exception { @@ -13619,7 +10974,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/function"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/function"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13792,7 +11147,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Private { @Test public void testAllFilesPresentInPrivate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/private"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/private"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13827,7 +11182,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Signature { @Test public void testAllFilesPresentInSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/signature"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/signature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -13863,7 +11218,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14034,12 +11389,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegatedProperty/insideInlinedObjectMultiModule.kt"); } - @Test - @TestMetadata("javaDelegateTopLevel.kt") - public void testJavaDelegateTopLevel() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/javaDelegateTopLevel.kt"); - } - @Test @TestMetadata("kt35707.kt") public void testKt35707() throws Exception { @@ -14076,30 +11425,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegatedProperty/kt9712.kt"); } - @Test - @TestMetadata("privateInSubClass.kt") - public void testPrivateInSubClass() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/privateInSubClass.kt"); - } - - @Test - @TestMetadata("privateSetterKPropertyIsNotMutable.kt") - public void testPrivateSetterKPropertyIsNotMutable() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt"); - } - @Test @TestMetadata("privateVar.kt") public void testPrivateVar() throws Exception { runTest("compiler/testData/codegen/box/delegatedProperty/privateVar.kt"); } - @Test - @TestMetadata("propertyMetadataShouldBeCached.kt") - public void testPropertyMetadataShouldBeCached() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/propertyMetadataShouldBeCached.kt"); - } - @Test @TestMetadata("protectedVarWithPrivateSet.kt") public void testProtectedVarWithPrivateSet() throws Exception { @@ -14130,12 +11461,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegatedProperty/setAsExtensionFunInClass.kt"); } - @Test - @TestMetadata("stackOverflowOnCallFromGetValue.kt") - public void testStackOverflowOnCallFromGetValue() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/stackOverflowOnCallFromGetValue.kt"); - } - @Test @TestMetadata("topLevelVal.kt") public void testTopLevelVal() throws Exception { @@ -14191,7 +11516,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegateToAnother { @Test public void testAllFilesPresentInDelegateToAnother() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/delegateToAnother"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/delegateToAnother"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14200,12 +11525,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/custom.kt"); } - @Test - @TestMetadata("genericJavaProperty.kt") - public void testGenericJavaProperty() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/genericJavaProperty.kt"); - } - @Test @TestMetadata("kt49793_companionObject.kt") public void testKt49793_companionObject() throws Exception { @@ -14256,7 +11575,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/local"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/local"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14354,12 +11673,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testLocalVarNoExplicitType() throws Exception { runTest("compiler/testData/codegen/box/delegatedProperty/local/localVarNoExplicitType.kt"); } - - @Test - @TestMetadata("useReflectionForLocalVarInLambda.kt") - public void testUseReflectionForLocalVarInLambda() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/local/useReflectionForLocalVarInLambda.kt"); - } } @Nested @@ -14369,7 +11682,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class OptimizedDelegatedProperties { @Test public void testAllFilesPresentInOptimizedDelegatedProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14446,7 +11759,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProvideDelegate { @Test public void testAllFilesPresentInProvideDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14515,12 +11828,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt"); } - @Test - @TestMetadata("jvmStaticInObject.kt") - public void testJvmStaticInObject() throws Exception { - runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/jvmStaticInObject.kt"); - } - @Test @TestMetadata("kt15437.kt") public void testKt15437() throws Exception { @@ -14590,25 +11897,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegation"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("byMiddleInterface.kt") - public void testByMiddleInterface() throws Exception { - runTest("compiler/testData/codegen/box/delegation/byMiddleInterface.kt"); - } - - @Test - @TestMetadata("defaultOverride.kt") - public void testDefaultOverride() throws Exception { - runTest("compiler/testData/codegen/box/delegation/defaultOverride.kt"); - } - - @Test - @TestMetadata("delegationAndInheritanceFromJava.kt") - public void testDelegationAndInheritanceFromJava() throws Exception { - runTest("compiler/testData/codegen/box/delegation/delegationAndInheritanceFromJava.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14617,42 +11906,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegation/delegationDifferentModule.kt"); } - @Test - @TestMetadata("delegationToMap.kt") - public void testDelegationToMap() throws Exception { - runTest("compiler/testData/codegen/box/delegation/delegationToMap.kt"); - } - - @Test - @TestMetadata("delegationToVal.kt") - public void testDelegationToVal() throws Exception { - runTest("compiler/testData/codegen/box/delegation/delegationToVal.kt"); - } - @Test @TestMetadata("delegationWithPrivateConstructor.kt") public void testDelegationWithPrivateConstructor() throws Exception { runTest("compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt"); } - @Test - @TestMetadata("diamond.kt") - public void testDiamond() throws Exception { - runTest("compiler/testData/codegen/box/delegation/diamond.kt"); - } - - @Test - @TestMetadata("diamond2.kt") - public void testDiamond2() throws Exception { - runTest("compiler/testData/codegen/box/delegation/diamond2.kt"); - } - - @Test - @TestMetadata("differentModules.kt") - public void testDifferentModules() throws Exception { - runTest("compiler/testData/codegen/box/delegation/differentModules.kt"); - } - @Test @TestMetadata("genericProperty.kt") public void testGenericProperty() throws Exception { @@ -14665,12 +11924,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt"); } - @Test - @TestMetadata("inClassDeclaration.kt") - public void testInClassDeclaration() throws Exception { - runTest("compiler/testData/codegen/box/delegation/inClassDeclaration.kt"); - } - @Test @TestMetadata("inDataClass.kt") public void testInDataClass() throws Exception { @@ -14689,24 +11942,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/delegation/kt8154.kt"); } - @Test - @TestMetadata("mixed.kt") - public void testMixed() throws Exception { - runTest("compiler/testData/codegen/box/delegation/mixed.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/delegation/simple.kt"); - } - - @Test - @TestMetadata("simple1.0.kt") - public void testSimple1_0() throws Exception { - runTest("compiler/testData/codegen/box/delegation/simple1.0.kt"); - } - @Test @TestMetadata("viaTypeAlias.kt") public void testViaTypeAlias() throws Exception { @@ -14733,13 +11968,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Deprecated { @Test public void testAllFilesPresentInDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/deprecated"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("deprecatedSinceKotlin.kt") - public void testDeprecatedSinceKotlin() throws Exception { - runTest("compiler/testData/codegen/box/deprecated/deprecatedSinceKotlin.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/deprecated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -14750,7 +11979,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DestructuringDeclInLambdaParam { @Test public void testAllFilesPresentInDestructuringDeclInLambdaParam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/destructuringDeclInLambdaParam"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/destructuringDeclInLambdaParam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14809,7 +12038,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Diagnostics { @Test public void testAllFilesPresentInDiagnostics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -14819,7 +12048,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Functions { @Test public void testAllFilesPresentInFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -14829,7 +12058,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/inference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/inference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14846,7 +12075,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -14856,7 +12085,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class OnObjects { @Test public void testAllFilesPresentInOnObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14928,7 +12157,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TailRecursion { @Test public void testAllFilesPresentInTailRecursion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/tailRecursion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/tailRecursion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -14961,12 +12190,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects2.kt"); } - @Test - @TestMetadata("defaultArgsWithSideEffectsOld.kt") - public void testDefaultArgsWithSideEffectsOld() throws Exception { - runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffectsOld.kt"); - } - @Test @TestMetadata("extensionTailCall.kt") public void testExtensionTailCall() throws Exception { @@ -15210,7 +12433,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Vararg { @Test public void testAllFilesPresentInVararg() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/vararg"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -15228,7 +12451,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DirectInvokeOptimization { @Test public void testAllFilesPresentInDirectInvokeOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/directInvokeOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/directInvokeOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -15299,7 +12522,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Elvis { @Test public void testAllFilesPresentInElvis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -15370,19 +12593,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotatedParameter.kt") - public void testAnnotatedParameter() throws Exception { - runTest("compiler/testData/codegen/box/enum/annotatedParameter.kt"); - } - - @Test - @TestMetadata("annotatedParameter2.kt") - public void testAnnotatedParameter2() throws Exception { - runTest("compiler/testData/codegen/box/enum/annotatedParameter2.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -15391,18 +12602,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/asReturnExpression.kt"); } - @Test - @TestMetadata("bigEnum.kt") - public void testBigEnum() throws Exception { - runTest("compiler/testData/codegen/box/enum/bigEnum.kt"); - } - - @Test - @TestMetadata("classForEnumEntry.kt") - public void testClassForEnumEntry() throws Exception { - runTest("compiler/testData/codegen/box/enum/classForEnumEntry.kt"); - } - @Test @TestMetadata("companionAccessingEnumValue.kt") public void testCompanionAccessingEnumValue() throws Exception { @@ -15421,12 +12620,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/constructorWithReordering.kt"); } - @Test - @TestMetadata("declaringClassOnEnumObject.kt") - public void testDeclaringClassOnEnumObject() throws Exception { - runTest("compiler/testData/codegen/box/enum/declaringClassOnEnumObject.kt"); - } - @Test @TestMetadata("deepInnerClassInEnumEntryClass.kt") public void testDeepInnerClassInEnumEntryClass() throws Exception { @@ -15457,12 +12650,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/enumCompanionInit.kt"); } - @Test - @TestMetadata("enumCompanionInitJsAndWasm.kt") - public void testEnumCompanionInitJsAndWasm() throws Exception { - runTest("compiler/testData/codegen/box/enum/enumCompanionInitJsAndWasm.kt"); - } - @Test @TestMetadata("enumConstructorParameterClashWithDefaults.kt") public void testEnumConstructorParameterClashWithDefaults() throws Exception { @@ -15565,12 +12752,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/initEnumAfterObjectAccess.kt"); } - @Test - @TestMetadata("initEnumAfterObjectAccessJsAndWasm.kt") - public void testInitEnumAfterObjectAccessJsAndWasm() throws Exception { - runTest("compiler/testData/codegen/box/enum/initEnumAfterObjectAccessJsAndWasm.kt"); - } - @Test @TestMetadata("inner.kt") public void testInner() throws Exception { @@ -15601,42 +12782,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/innerWithExistingClassObject.kt"); } - @Test - @TestMetadata("javaClassWithNestedEnum.kt") - public void testJavaClassWithNestedEnum() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaClassWithNestedEnum.kt"); - } - - @Test - @TestMetadata("javaEnumValueOf.kt") - public void testJavaEnumValueOf() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaEnumValueOf.kt"); - } - - @Test - @TestMetadata("javaEnumValueOf2.kt") - public void testJavaEnumValueOf2() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaEnumValueOf2.kt"); - } - - @Test - @TestMetadata("javaEnumValues.kt") - public void testJavaEnumValues() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaEnumValues.kt"); - } - - @Test - @TestMetadata("javaEnumValues2.kt") - public void testJavaEnumValues2() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaEnumValues2.kt"); - } - - @Test - @TestMetadata("javaEnumValues3.kt") - public void testJavaEnumValues3() throws Exception { - runTest("compiler/testData/codegen/box/enum/javaEnumValues3.kt"); - } - @Test @TestMetadata("kt1119.kt") public void testKt1119() throws Exception { @@ -15787,30 +12932,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/manyDefaultParameters.kt"); } - @Test - @TestMetadata("modifierFlags.kt") - public void testModifierFlags() throws Exception { - runTest("compiler/testData/codegen/box/enum/modifierFlags.kt"); - } - - @Test - @TestMetadata("nameClashWithCompanion.kt") - public void testNameClashWithCompanion() throws Exception { - runTest("compiler/testData/codegen/box/enum/nameClashWithCompanion.kt"); - } - - @Test - @TestMetadata("nameConflict.kt") - public void testNameConflict() throws Exception { - runTest("compiler/testData/codegen/box/enum/nameConflict.kt"); - } - - @Test - @TestMetadata("noClassForSimpleEnum.kt") - public void testNoClassForSimpleEnum() throws Exception { - runTest("compiler/testData/codegen/box/enum/noClassForSimpleEnum.kt"); - } - @Test @TestMetadata("objectInEnum.kt") public void testObjectInEnum() throws Exception { @@ -15835,12 +12956,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/overloadedEnumValues.kt"); } - @Test - @TestMetadata("overloadedEnumValuesStatic.kt") - public void testOverloadedEnumValuesStatic() throws Exception { - runTest("compiler/testData/codegen/box/enum/overloadedEnumValuesStatic.kt"); - } - @Test @TestMetadata("refToThis.kt") public void testRefToThis() throws Exception { @@ -15853,48 +12968,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/enum/simple.kt"); } - @Test - @TestMetadata("simpleJavaEnum.kt") - public void testSimpleJavaEnum() throws Exception { - runTest("compiler/testData/codegen/box/enum/simpleJavaEnum.kt"); - } - - @Test - @TestMetadata("simpleJavaEnumWithFunction.kt") - public void testSimpleJavaEnumWithFunction() throws Exception { - runTest("compiler/testData/codegen/box/enum/simpleJavaEnumWithFunction.kt"); - } - - @Test - @TestMetadata("simpleJavaEnumWithStaticImport.kt") - public void testSimpleJavaEnumWithStaticImport() throws Exception { - runTest("compiler/testData/codegen/box/enum/simpleJavaEnumWithStaticImport.kt"); - } - - @Test - @TestMetadata("simpleJavaInnerEnum.kt") - public void testSimpleJavaInnerEnum() throws Exception { - runTest("compiler/testData/codegen/box/enum/simpleJavaInnerEnum.kt"); - } - @Test @TestMetadata("sortEnumEntries.kt") public void testSortEnumEntries() throws Exception { runTest("compiler/testData/codegen/box/enum/sortEnumEntries.kt"); } - @Test - @TestMetadata("staticField.kt") - public void testStaticField() throws Exception { - runTest("compiler/testData/codegen/box/enum/staticField.kt"); - } - - @Test - @TestMetadata("staticMethod.kt") - public void testStaticMethod() throws Exception { - runTest("compiler/testData/codegen/box/enum/staticMethod.kt"); - } - @Test @TestMetadata("superCallInEnumLiteral.kt") public void testSuperCallInEnumLiteral() throws Exception { @@ -15926,7 +13005,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultCtor { @Test public void testAllFilesPresentInDefaultCtor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum/defaultCtor"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum/defaultCtor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -15974,31 +13053,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Evaluate { @Test public void testAllFilesPresentInEvaluate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("char.kt") - public void testChar() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/char.kt"); - } - - @Test - @TestMetadata("divide.kt") - public void testDivide() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/divide.kt"); - } - - @Test - @TestMetadata("floorDiv.kt") - public void testFloorDiv() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/floorDiv.kt"); - } - - @Test - @TestMetadata("intrinsics.kt") - public void testIntrinsics() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16006,78 +13061,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt9443() throws Exception { runTest("compiler/testData/codegen/box/evaluate/kt9443.kt"); } - - @Test - @TestMetadata("maxValue.kt") - public void testMaxValue() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/maxValue.kt"); - } - - @Test - @TestMetadata("maxValueByte.kt") - public void testMaxValueByte() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/maxValueByte.kt"); - } - - @Test - @TestMetadata("maxValueInt.kt") - public void testMaxValueInt() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/maxValueInt.kt"); - } - - @Test - @TestMetadata("minus.kt") - public void testMinus() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/minus.kt"); - } - - @Test - @TestMetadata("mod.kt") - public void testMod() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/mod.kt"); - } - - @Test - @TestMetadata("multiply.kt") - public void testMultiply() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/multiply.kt"); - } - - @Test - @TestMetadata("parenthesized.kt") - public void testParenthesized() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/parenthesized.kt"); - } - - @Test - @TestMetadata("plus.kt") - public void testPlus() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/plus.kt"); - } - - @Test - @TestMetadata("rem.kt") - public void testRem() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/rem.kt"); - } - - @Test - @TestMetadata("simpleCallBinary.kt") - public void testSimpleCallBinary() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/simpleCallBinary.kt"); - } - - @Test - @TestMetadata("unaryMinus.kt") - public void testUnaryMinus() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/unaryMinus.kt"); - } - - @Test - @TestMetadata("unaryPlus.kt") - public void testUnaryPlus() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/unaryPlus.kt"); - } } @Nested @@ -16087,7 +13070,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExclExcl { @Test public void testAllFilesPresentInExclExcl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/exclExcl"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/exclExcl"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16122,55 +13105,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExtensionClasses { @Test public void testAllFilesPresentInExtensionClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("constructors.kt") - public void testConstructors() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/constructors.kt"); - } - - @Test - @TestMetadata("contextualPrimaryConstructorWithParams.kt") - public void testContextualPrimaryConstructorWithParams() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/contextualPrimaryConstructorWithParams.kt"); - } - - @Test - @TestMetadata("edouble.kt") - public void testEdouble() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/edouble.kt"); - } - - @Test - @TestMetadata("genericCollection.kt") - public void testGenericCollection() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/genericCollection.kt"); - } - - @Test - @TestMetadata("generics.kt") - public void testGenerics() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/generics.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/simple.kt"); - } - - @Test - @TestMetadata("typealiasForContextualClass.kt") - public void testTypealiasForContextualClass() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/typealiasForContextualClass.kt"); - } - - @Test - @TestMetadata("useFromAnotherModule.kt") - public void testUseFromAnotherModule() throws Exception { - runTest("compiler/testData/codegen/box/extensionClasses/useFromAnotherModule.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -16181,7 +13116,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExtensionFunctions { @Test public void testAllFilesPresentInExtensionFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16359,127 +13294,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ContextReceivers { @Test public void testAllFilesPresentInContextReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("arrayAccessCompositeOperators.kt") - public void testArrayAccessCompositeOperators() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessCompositeOperators.kt"); - } - - @Test - @TestMetadata("arrayAccessOperators.kt") - public void testArrayAccessOperators() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/arrayAccessOperators.kt"); - } - - @Test - @TestMetadata("compoundAssignmentOperators.kt") - public void testCompoundAssignmentOperators() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/compoundAssignmentOperators.kt"); - } - - @Test - @TestMetadata("contextAndExtensionSameName.kt") - public void testContextAndExtensionSameName() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextAndExtensionSameName.kt"); - } - - @Test - @TestMetadata("contextualFunctionConversion.kt") - public void testContextualFunctionConversion() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt"); - } - - @Test - @TestMetadata("delegatedPropertiesOperators.kt") - public void testDelegatedPropertiesOperators() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/delegatedPropertiesOperators.kt"); - } - - @Test - @TestMetadata("inferGenericPropertyType.kt") - public void testInferGenericPropertyType() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/inferGenericPropertyType.kt"); - } - - @Test - @TestMetadata("iteratorOperator.kt") - public void testIteratorOperator() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/iteratorOperator.kt"); - } - - @Test - @TestMetadata("overload.kt") - public void testOverload() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/overload.kt"); - } - - @Test - @TestMetadata("overloading.kt") - public void testOverloading() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt"); - } - - @Test - @TestMetadata("passingLambdaToContextualParam.kt") - public void testPassingLambdaToContextualParam() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt"); - } - - @Test - @TestMetadata("plusAssign.kt") - public void testPlusAssign() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusAssign.kt"); - } - - @Test - @TestMetadata("plusMatrix.kt") - public void testPlusMatrix() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/plusMatrix.kt"); - } - - @Test - @TestMetadata("propertyCompoundAssignment.kt") - public void testPropertyCompoundAssignment() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/propertyCompoundAssignment.kt"); - } - - @Test - @TestMetadata("simpleCall.kt") - public void testSimpleCall() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/simpleCall.kt"); - } - - @Test - @TestMetadata("this.kt") - public void testThis() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/this.kt"); - } - - @Test - @TestMetadata("unaryOperators.kt") - public void testUnaryOperators() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/unaryOperators.kt"); - } - - @Test - @TestMetadata("useFromAnotherModule.kt") - public void testUseFromAnotherModule() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModule.kt"); - } - - @Test - @TestMetadata("useFromAnotherModuleSuspending.kt") - public void testUseFromAnotherModuleSuspending() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleSuspending.kt"); - } - - @Test - @TestMetadata("useFromAnotherModuleWithDefaultParameterValues.kt") - public void testUseFromAnotherModuleWithDefaultParameterValues() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/useFromAnotherModuleWithDefaultParameterValues.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -16489,49 +13304,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FromKEEP { @Test public void testAllFilesPresentInFromKEEP() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("canvas.kt") - public void testCanvas() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/canvas.kt"); - } - - @Test - @TestMetadata("compareTo.kt") - public void testCompareTo() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/compareTo.kt"); - } - - @Test - @TestMetadata("decimateEveryEvenThird.kt") - public void testDecimateEveryEvenThird() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/decimateEveryEvenThird.kt"); - } - - @Test - @TestMetadata("dp.kt") - public void testDp() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/dp.kt"); - } - - @Test - @TestMetadata("functionalType.kt") - public void testFunctionalType() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/functionalType.kt"); - } - - @Test - @TestMetadata("monoidSum.kt") - public void testMonoidSum() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/monoidSum.kt"); - } - - @Test - @TestMetadata("structuredConcurrency.kt") - public void testStructuredConcurrency() throws Exception { - runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP/structuredConcurrency.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -16550,7 +13323,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInExtensionProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16559,12 +13332,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/extensionProperties/genericValForPrimitiveType.kt"); } - @Test - @TestMetadata("genericValMultipleUpperBounds.kt") - public void testGenericValMultipleUpperBounds() throws Exception { - runTest("compiler/testData/codegen/box/extensionProperties/genericValMultipleUpperBounds.kt"); - } - @Test @TestMetadata("genericVarForPrimitiveType.kt") public void testGenericVarForPrimitiveType() throws Exception { @@ -16651,25 +13418,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class External { @Test public void testAllFilesPresentInExternal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("jvmStaticExternal.kt") - public void testJvmStaticExternal() throws Exception { - runTest("compiler/testData/codegen/box/external/jvmStaticExternal.kt"); - } - - @Test - @TestMetadata("jvmStaticExternalPrivate.kt") - public void testJvmStaticExternalPrivate() throws Exception { - runTest("compiler/testData/codegen/box/external/jvmStaticExternalPrivate.kt"); - } - - @Test - @TestMetadata("withDefaultArg.kt") - public void testWithDefaultArg() throws Exception { - runTest("compiler/testData/codegen/box/external/withDefaultArg.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -16680,7 +13429,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FakeOverride { @Test public void testAllFilesPresentInFakeOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fakeOverride"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fakeOverride"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16745,7 +13494,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FieldRename { @Test public void testAllFilesPresentInFieldRename() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fieldRename"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fieldRename"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16765,18 +13514,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testGenericPropertyWithItself() throws Exception { runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt"); } - - @Test - @TestMetadata("jvmFieldNoClash1.kt") - public void testJvmFieldNoClash1() throws Exception { - runTest("compiler/testData/codegen/box/fieldRename/jvmFieldNoClash1.kt"); - } - - @Test - @TestMetadata("jvmFieldNoClash2.kt") - public void testJvmFieldNoClash2() throws Exception { - runTest("compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt"); - } } @Nested @@ -16786,7 +13523,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Finally { @Test public void testAllFilesPresentInFinally() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/finally"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/finally"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16825,12 +13562,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/finally/kt31923_return.kt"); } - @Test - @TestMetadata("kt31923_wrong.kt") - public void testKt31923_wrong() throws Exception { - runTest("compiler/testData/codegen/box/finally/kt31923_wrong.kt"); - } - @Test @TestMetadata("kt3549.kt") public void testKt3549() throws Exception { @@ -16935,25 +13666,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Fir { @Test public void testAllFilesPresentInFir() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fir"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callableReferenceToJavaField.kt") - public void testCallableReferenceToJavaField() throws Exception { - runTest("compiler/testData/codegen/box/fir/callableReferenceToJavaField.kt"); - } - - @Test - @TestMetadata("callableReferenceToStaticFunction.kt") - public void testCallableReferenceToStaticFunction() throws Exception { - runTest("compiler/testData/codegen/box/fir/callableReferenceToStaticFunction.kt"); - } - - @Test - @TestMetadata("ClassBuilder.kt") - public void testClassBuilder() throws Exception { - runTest("compiler/testData/codegen/box/fir/ClassBuilder.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fir"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -16962,137 +13675,11 @@ 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 { - runTest("compiler/testData/codegen/box/fir/ExtensionAlias.kt"); - } - - @Test - @TestMetadata("FakeOverrideBuilder.kt") - public void testFakeOverrideBuilder() throws Exception { - runTest("compiler/testData/codegen/box/fir/FakeOverrideBuilder.kt"); - } - @Test @TestMetadata("falsePositiveBoundSmartcast.kt") public void testFalsePositiveBoundSmartcast() throws Exception { runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt"); } - - @Test - @TestMetadata("Fir2IrClassifierStorage.kt") - public void testFir2IrClassifierStorage() throws Exception { - runTest("compiler/testData/codegen/box/fir/Fir2IrClassifierStorage.kt"); - } - - @Test - @TestMetadata("flexibleIntegerLiterals.kt") - public void testFlexibleIntegerLiterals() throws Exception { - runTest("compiler/testData/codegen/box/fir/flexibleIntegerLiterals.kt"); - } - - @Test - @TestMetadata("implicitNothingInDelegate.kt") - public void testImplicitNothingInDelegate() throws Exception { - runTest("compiler/testData/codegen/box/fir/implicitNothingInDelegate.kt"); - } - - @Test - @TestMetadata("incorrectBytecodeWithEnhancedNullability.kt") - public void testIncorrectBytecodeWithEnhancedNullability() throws Exception { - runTest("compiler/testData/codegen/box/fir/incorrectBytecodeWithEnhancedNullability.kt"); - } - - @Test - @TestMetadata("IrBuiltIns.kt") - public void testIrBuiltIns() throws Exception { - 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 { - runTest("compiler/testData/codegen/box/fir/jvmFieldInLocalClass.kt"); - } - - @Test - @TestMetadata("KotlinDocumentationProvider.kt") - public void testKotlinDocumentationProvider() throws Exception { - runTest("compiler/testData/codegen/box/fir/KotlinDocumentationProvider.kt"); - } - - @Test - @TestMetadata("LookupTags.kt") - public void testLookupTags() throws Exception { - runTest("compiler/testData/codegen/box/fir/LookupTags.kt"); - } - - @Test - @TestMetadata("NameHighlighter.kt") - public void testNameHighlighter() throws Exception { - runTest("compiler/testData/codegen/box/fir/NameHighlighter.kt"); - } - - @Test - @TestMetadata("namedArgumentOnTypeAnnotation.kt") - public void testNamedArgumentOnTypeAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/fir/namedArgumentOnTypeAnnotation.kt"); - } - - @Test - @TestMetadata("noSymbolForIntRangeIterator.kt") - public void testNoSymbolForIntRangeIterator() throws Exception { - runTest("compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.kt"); - } - - @Test - @TestMetadata("notFoundClasses.kt") - public void testNotFoundClasses() throws Exception { - runTest("compiler/testData/codegen/box/fir/notFoundClasses.kt"); - } - - @Test - @TestMetadata("SamWithReceiverMavenProjectImportHandler.kt") - public void testSamWithReceiverMavenProjectImportHandler() throws Exception { - runTest("compiler/testData/codegen/box/fir/SamWithReceiverMavenProjectImportHandler.kt"); - } - - @Test - @TestMetadata("SuspendExtension.kt") - public void testSuspendExtension() throws Exception { - runTest("compiler/testData/codegen/box/fir/SuspendExtension.kt"); - } } @Nested @@ -17102,49 +13689,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FullJdk { @Test public void testAllFilesPresentInFullJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("charBuffer.kt") - public void testCharBuffer() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/charBuffer.kt"); - } - - @Test - @TestMetadata("ifInWhile.kt") - public void testIfInWhile() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/ifInWhile.kt"); - } - - @Test - @TestMetadata("intCountDownLatchExtension.kt") - public void testIntCountDownLatchExtension() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/intCountDownLatchExtension.kt"); - } - - @Test - @TestMetadata("kt31757.kt") - public void testKt31757() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/kt31757.kt"); - } - - @Test - @TestMetadata("kt434.kt") - public void testKt434() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/kt434.kt"); - } - - @Test - @TestMetadata("kt46540.kt") - public void testKt46540() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/kt46540.kt"); - } - - @Test - @TestMetadata("platformTypeAssertionStackTrace.kt") - public void testPlatformTypeAssertionStackTrace() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/platformTypeAssertionStackTrace.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -17154,25 +13699,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Native { @Test public void testAllFilesPresentInNative() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/native"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("nativePropertyAccessors.kt") - public void testNativePropertyAccessors() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/native/nativePropertyAccessors.kt"); - } - - @Test - @TestMetadata("simpleNative.kt") - public void testSimpleNative() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/native/simpleNative.kt"); - } - - @Test - @TestMetadata("topLevel.kt") - public void testTopLevel() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/native/topLevel.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/native"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -17183,19 +13710,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/regressions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt15112.kt") - public void testKt15112() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/regressions/kt15112.kt"); - } - - @Test - @TestMetadata("kt1770.kt") - public void testKt1770() throws Exception { - runTest("compiler/testData/codegen/box/fullJdk/regressions/kt1770.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/regressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -17207,7 +13722,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17294,12 +13809,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt"); } - @Test - @TestMetadata("kt44827_funInterface.kt") - public void testKt44827_funInterface() throws Exception { - runTest("compiler/testData/codegen/box/funInterface/kt44827_funInterface.kt"); - } - @Test @TestMetadata("kt45444_privateFunInterface.kt") public void testKt45444_privateFunInterface() throws Exception { @@ -17391,7 +13900,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Equality { @Test public void testAllFilesPresentInEquality() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface/equality"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface/equality"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17433,7 +13942,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Functions { @Test public void testAllFilesPresentInFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17448,18 +13957,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/coerceVoidToObject.kt"); } - @Test - @TestMetadata("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/codegen/box/functions/constructor.kt"); - } - - @Test - @TestMetadata("dataLocalVariable.kt") - public void testDataLocalVariable() throws Exception { - runTest("compiler/testData/codegen/box/functions/dataLocalVariable.kt"); - } - @Test @TestMetadata("defaultargs.kt") public void testDefaultargs() throws Exception { @@ -17694,12 +14191,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt"); } - @Test - @TestMetadata("max.kt") - public void testMax() throws Exception { - runTest("compiler/testData/codegen/box/functions/max.kt"); - } - @Test @TestMetadata("mutualInline.kt") public void testMutualInline() throws Exception { @@ -17736,18 +14227,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/recursiveIncrementCall.kt"); } - @Test - @TestMetadata("referencesStaticInnerClassMethod.kt") - public void testReferencesStaticInnerClassMethod() throws Exception { - runTest("compiler/testData/codegen/box/functions/referencesStaticInnerClassMethod.kt"); - } - - @Test - @TestMetadata("referencesStaticInnerClassMethodL2.kt") - public void testReferencesStaticInnerClassMethodL2() throws Exception { - runTest("compiler/testData/codegen/box/functions/referencesStaticInnerClassMethodL2.kt"); - } - @Test @TestMetadata("typeParameterAsUpperBound.kt") public void testTypeParameterAsUpperBound() throws Exception { @@ -17760,12 +14239,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/typeParametersInLocalFunction.kt"); } - @Test - @TestMetadata("unrelatedUpperBounds.kt") - public void testUnrelatedUpperBounds() throws Exception { - runTest("compiler/testData/codegen/box/functions/unrelatedUpperBounds.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/functions/bigArity") @TestDataPath("$PROJECT_ROOT") @@ -17773,25 +14246,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BigArity { @Test public void testAllFilesPresentInBigArity() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/bigArity"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callFromJava.kt") - public void testCallFromJava() throws Exception { - runTest("compiler/testData/codegen/box/functions/bigArity/callFromJava.kt"); - } - - @Test - @TestMetadata("callFunViaVararg.kt") - public void testCallFunViaVararg() throws Exception { - runTest("compiler/testData/codegen/box/functions/bigArity/callFunViaVararg.kt"); - } - - @Test - @TestMetadata("callWithIncorrectNumberOfArguments.kt") - public void testCallWithIncorrectNumberOfArguments() throws Exception { - runTest("compiler/testData/codegen/box/functions/bigArity/callWithIncorrectNumberOfArguments.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/bigArity"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17824,12 +14279,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/bigArity/invokeMemberCallableReference.kt"); } - @Test - @TestMetadata("javaLambda.kt") - public void testJavaLambda() throws Exception { - runTest("compiler/testData/codegen/box/functions/bigArity/javaLambda.kt"); - } - @Test @TestMetadata("nestedBigArityFunCalls.kt") public void testNestedBigArityFunCalls() throws Exception { @@ -17850,7 +14299,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunctionExpression { @Test public void testAllFilesPresentInFunctionExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/functionExpression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/functionExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17891,7 +14340,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -17930,12 +14379,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt"); } - @Test - @TestMetadata("invokeOnSyntheticProperty.kt") - public void testInvokeOnSyntheticProperty() throws Exception { - runTest("compiler/testData/codegen/box/functions/invoke/invokeOnSyntheticProperty.kt"); - } - @Test @TestMetadata("kt3189.kt") public void testKt3189() throws Exception { @@ -17992,7 +14435,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LocalFunctions { @Test public void testAllFilesPresentInLocalFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -18184,43 +14627,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class HashPMap { @Test public void testAllFilesPresentInHashPMap() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("empty.kt") - public void testEmpty() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/empty.kt"); - } - - @Test - @TestMetadata("manyNumbers.kt") - public void testManyNumbers() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/manyNumbers.kt"); - } - - @Test - @TestMetadata("rewriteWithDifferent.kt") - public void testRewriteWithDifferent() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/rewriteWithDifferent.kt"); - } - - @Test - @TestMetadata("rewriteWithEqual.kt") - public void testRewriteWithEqual() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/rewriteWithEqual.kt"); - } - - @Test - @TestMetadata("simplePlusGet.kt") - public void testSimplePlusGet() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/simplePlusGet.kt"); - } - - @Test - @TestMetadata("simplePlusMinus.kt") - public void testSimplePlusMinus() throws Exception { - runTest("compiler/testData/codegen/box/hashPMap/simplePlusMinus.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -18231,7 +14638,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Ieee754 { @Test public void testAllFilesPresentInIeee754() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -18240,12 +14647,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/anyToReal.kt"); } - @Test - @TestMetadata("anyToReal_AgainstCompiled.kt") - public void testAnyToReal_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/anyToReal_AgainstCompiled.kt"); - } - @Test @TestMetadata("asComparableToDouble.kt") public void testAsComparableToDouble() throws Exception { @@ -18270,12 +14671,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/comparableTypeCast.kt"); } - @Test - @TestMetadata("comparableTypeCast_AgainstCompiled.kt") - public void testComparableTypeCast_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/comparableTypeCast_AgainstCompiled.kt"); - } - @Test @TestMetadata("dataClass.kt") public void testDataClass() throws Exception { @@ -18288,12 +14683,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/differentTypesComparison.kt"); } - @Test - @TestMetadata("double.kt") - public void testDouble() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/double.kt"); - } - @Test @TestMetadata("equalsDouble.kt") public void testEqualsDouble() throws Exception { @@ -18360,42 +14749,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/explicitCompareCall.kt"); } - @Test - @TestMetadata("explicitCompareCall_AgainstCompiled.kt") - public void testExplicitCompareCall_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/explicitCompareCall_AgainstCompiled.kt"); - } - @Test @TestMetadata("explicitEqualsCall.kt") public void testExplicitEqualsCall() throws Exception { runTest("compiler/testData/codegen/box/ieee754/explicitEqualsCall.kt"); } - @Test - @TestMetadata("explicitEqualsCall_AgainstCompiled.kt") - public void testExplicitEqualsCall_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/explicitEqualsCall_AgainstCompiled.kt"); - } - - @Test - @TestMetadata("float.kt") - public void testFloat() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/float.kt"); - } - @Test @TestMetadata("generic.kt") public void testGeneric() throws Exception { runTest("compiler/testData/codegen/box/ieee754/generic.kt"); } - @Test - @TestMetadata("generic_AgainstCompiled.kt") - public void testGeneric_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/generic_AgainstCompiled.kt"); - } - @Test @TestMetadata("greaterDouble.kt") public void testGreaterDouble() throws Exception { @@ -18426,12 +14791,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/inline.kt"); } - @Test - @TestMetadata("kt48648_genericField.kt") - public void testKt48648_genericField() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/kt48648_genericField.kt"); - } - @Test @TestMetadata("lessDouble.kt") public void testLessDouble() throws Exception { @@ -18468,12 +14827,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ieee754/nullableAnyToReal.kt"); } - @Test - @TestMetadata("nullableAnyToReal_AgainstCompiled.kt") - public void testNullableAnyToReal_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/nullableAnyToReal_AgainstCompiled.kt"); - } - @Test @TestMetadata("nullableDoubleEquals.kt") public void testNullableDoubleEquals() throws Exception { @@ -18596,7 +14949,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Increment { @Test public void testAllFilesPresentInIncrement() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/increment"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/increment"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -18763,7 +15116,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -18772,12 +15125,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/approximateNonTopLevelCapturedTypes.kt"); } - @Test - @TestMetadata("builderInference.kt") - public void testBuilderInference() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference.kt"); - } - @Test @TestMetadata("builderInferenceLeakingVariable.kt") public void testBuilderInferenceLeakingVariable() throws Exception { @@ -18796,12 +15143,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/capturedTypesSubstitutionIntoAbbreviation.kt"); } - @Test - @TestMetadata("coercionToUnitForLambdaReturnTypeWithFlexibleConstraint.kt") - public void testCoercionToUnitForLambdaReturnTypeWithFlexibleConstraint() throws Exception { - runTest("compiler/testData/codegen/box/inference/coercionToUnitForLambdaReturnTypeWithFlexibleConstraint.kt"); - } - @Test @TestMetadata("coercionToUnitWithLastLambdaExpression.kt") public void testCoercionToUnitWithLastLambdaExpression() throws Exception { @@ -18832,30 +15173,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt"); } - @Test - @TestMetadata("intersectionTypeInArguments.kt") - public void testIntersectionTypeInArguments() throws Exception { - runTest("compiler/testData/codegen/box/inference/intersectionTypeInArguments.kt"); - } - @Test @TestMetadata("kt10822.kt") public void testKt10822() throws Exception { runTest("compiler/testData/codegen/box/inference/kt10822.kt"); } - @Test - @TestMetadata("kt26345.kt") - public void testKt26345() throws Exception { - runTest("compiler/testData/codegen/box/inference/kt26345.kt"); - } - - @Test - @TestMetadata("kt32429.kt") - public void testKt32429() throws Exception { - runTest("compiler/testData/codegen/box/inference/kt32429.kt"); - } - @Test @TestMetadata("kt35684.kt") public void testKt35684() throws Exception { @@ -18898,12 +15221,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/kt45118.kt"); } - @Test - @TestMetadata("kt47316.kt") - public void testKt47316() throws Exception { - runTest("compiler/testData/codegen/box/inference/kt47316.kt"); - } - @Test @TestMetadata("lambdaWithStarReturn.kt") public void testLambdaWithStarReturn() throws Exception { @@ -18922,18 +15239,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt"); } - @Test - @TestMetadata("manyConstraintsDueToFlexibleRawTypes.kt") - public void testManyConstraintsDueToFlexibleRawTypes() throws Exception { - runTest("compiler/testData/codegen/box/inference/manyConstraintsDueToFlexibleRawTypes.kt"); - } - - @Test - @TestMetadata("manyFlexibleTypeParametersFromJavaAndConversions.kt") - public void testManyFlexibleTypeParametersFromJavaAndConversions() throws Exception { - runTest("compiler/testData/codegen/box/inference/manyFlexibleTypeParametersFromJavaAndConversions.kt"); - } - @Test @TestMetadata("mapCollectChainWithNullResult.kt") public void testMapCollectChainWithNullResult() throws Exception { @@ -18952,12 +15257,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt"); } - @Test - @TestMetadata("noNothingValueInsideSpecialCall.kt") - public void testNoNothingValueInsideSpecialCall() throws Exception { - runTest("compiler/testData/codegen/box/inference/noNothingValueInsideSpecialCall.kt"); - } - @Test @TestMetadata("plusAssignInsideLambda.kt") public void testPlusAssignInsideLambda() throws Exception { @@ -18982,18 +15281,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt"); } - @Test - @TestMetadata("substituteIntersectionTypeInsideCapType.kt") - public void testSubstituteIntersectionTypeInsideCapType() throws Exception { - runTest("compiler/testData/codegen/box/inference/substituteIntersectionTypeInsideCapType.kt"); - } - - @Test - @TestMetadata("subtypingOfIntersectionIltInsideFlexible.kt") - public void testSubtypingOfIntersectionIltInsideFlexible() throws Exception { - runTest("compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt"); - } - @Test @TestMetadata("sumOfOverloads.kt") public void testSumOfOverloads() throws Exception { @@ -19012,12 +15299,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/unsafeVarianceCodegen.kt"); } - @Test - @TestMetadata("violatingUpperBoundForSelfType.kt") - public void testViolatingUpperBoundForSelfType() throws Exception { - runTest("compiler/testData/codegen/box/inference/violatingUpperBoundForSelfType.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/inference/builderInference") @TestDataPath("$PROJECT_ROOT") @@ -19025,7 +15306,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference/builderInference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference/builderInference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -19058,60 +15339,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/builderInference/changingResolveIfDontUseBuilderInferenceDisabledFeature.kt"); } - @Test - @TestMetadata("commonSuperType.kt") - public void testCommonSuperType() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperType.kt"); - } - - @Test - @TestMetadata("commonSuperTypeContravariant.kt") - public void testCommonSuperTypeContravariant() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperTypeContravariant.kt"); - } - - @Test - @TestMetadata("commonSuperTypeCovariant.kt") - public void testCommonSuperTypeCovariant() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperTypeCovariant.kt"); - } - - @Test - @TestMetadata("commonSuperTypeInvariant.kt") - public void testCommonSuperTypeInvariant() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperTypeInvariant.kt"); - } - - @Test - @TestMetadata("commonSuperTypeNullable.kt") - public void testCommonSuperTypeNullable() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperTypeNullable.kt"); - } - @Test @TestMetadata("constraintsBetweenTwoStubVariables.kt") public void testConstraintsBetweenTwoStubVariables() throws Exception { runTest("compiler/testData/codegen/box/inference/builderInference/constraintsBetweenTwoStubVariables.kt"); } - @Test - @TestMetadata("cstBasedOnTwoBuilderInferenceLambda.kt") - public void testCstBasedOnTwoBuilderInferenceLambda() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/cstBasedOnTwoBuilderInferenceLambda.kt"); - } - - @Test - @TestMetadata("inferFromExpectedType.kt") - public void testInferFromExpectedType() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/inferFromExpectedType.kt"); - } - - @Test - @TestMetadata("intersect.kt") - public void testIntersect() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/intersect.kt"); - } - @Test @TestMetadata("kt41164.kt") public void testKt41164() throws Exception { @@ -19214,12 +15447,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt"); } - @Test - @TestMetadata("specialCallsWithCallableReferencesNonStrictOnlyInputTypes.kt") - public void testSpecialCallsWithCallableReferencesNonStrictOnlyInputTypes() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesNonStrictOnlyInputTypes.kt"); - } - @Test @TestMetadata("specialCallsWithLambdas.kt") public void testSpecialCallsWithLambdas() throws Exception { @@ -19238,12 +15465,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inference/builderInference/substituteStubTypeIntolambdaParameterDescriptor.kt"); } - @Test - @TestMetadata("substituteTypeVariableIntolambdaParameterDescriptor.kt") - public void testSubstituteTypeVariableIntolambdaParameterDescriptor() throws Exception { - runTest("compiler/testData/codegen/box/inference/builderInference/substituteTypeVariableIntolambdaParameterDescriptor.kt"); - } - @Test @TestMetadata("substitutelambdaExtensionReceiverType.kt") public void testSubstitutelambdaExtensionReceiverType() throws Exception { @@ -19295,7 +15516,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineArgsInPlace { @Test public void testAllFilesPresentInInlineArgsInPlace() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -19363,12 +15584,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testSuspensionPointInsideArgument() throws Exception { runTest("compiler/testData/codegen/box/inlineArgsInPlace/suspensionPointInsideArgument.kt"); } - - @Test - @TestMetadata("withLogFile.kt") - public void testWithLogFile() throws Exception { - runTest("compiler/testData/codegen/box/inlineArgsInPlace/withLogFile.kt"); - } } @Nested @@ -19378,7 +15593,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -19471,18 +15686,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt"); } - @Test - @TestMetadata("callSpecializedEqualsViaReflection.kt") - public void testCallSpecializedEqualsViaReflection() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/callSpecializedEqualsViaReflection.kt"); - } - - @Test - @TestMetadata("callSpeciallyOverriddenPropertyOfInlineClass.kt") - public void testCallSpeciallyOverriddenPropertyOfInlineClass() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/callSpeciallyOverriddenPropertyOfInlineClass.kt"); - } - @Test @TestMetadata("callableReferencesWithInlineClasses.kt") public void testCallableReferencesWithInlineClasses() throws Exception { @@ -19579,12 +15782,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/classInInlineClassInit.kt"); } - @Test - @TestMetadata("classLiteralOnInlineClass.kt") - public void testClassLiteralOnInlineClass() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/classLiteralOnInlineClass.kt"); - } - @Test @TestMetadata("computablePropertyInsideInlineClass.kt") public void testComputablePropertyInsideInlineClass() throws Exception { @@ -19603,12 +15800,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt"); } - @Test - @TestMetadata("constructorImplVisibility.kt") - public void testConstructorImplVisibility() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/constructorImplVisibility.kt"); - } - @Test @TestMetadata("correctBoxingForBranchExpressions.kt") public void testCorrectBoxingForBranchExpressions() throws Exception { @@ -19825,12 +16016,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt"); } - @Test - @TestMetadata("inlineClassImplementsCollection.kt") - public void testInlineClassImplementsCollection() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/inlineClassImplementsCollection.kt"); - } - @Test @TestMetadata("inlineClassInInitBlock.kt") public void testInlineClassInInitBlock() throws Exception { @@ -19921,18 +16106,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt"); } - @Test - @TestMetadata("inlineInCompanion.kt") - public void testInlineInCompanion() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/inlineInCompanion.kt"); - } - - @Test - @TestMetadata("inlineToString.kt") - public void testInlineToString() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/inlineToString.kt"); - } - @Test @TestMetadata("iterateOverArrayOfInlineClassValues.kt") public void testIterateOverArrayOfInlineClassValues() throws Exception { @@ -19945,54 +16118,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt"); } - @Test - @TestMetadata("javaClassIntrinsicOnInlineClasses.kt") - public void testJavaClassIntrinsicOnInlineClasses() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/javaClassIntrinsicOnInlineClasses.kt"); - } - - @Test - @TestMetadata("javaPrimitiveTypeIC.kt") - public void testJavaPrimitiveTypeIC() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/javaPrimitiveTypeIC.kt"); - } - - @Test - @TestMetadata("jvmFieldInInlineClassCompanion.kt") - public void testJvmFieldInInlineClassCompanion() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvmFieldInInlineClassCompanion.kt"); - } - - @Test - @TestMetadata("jvmOverloadsOnTopLevelFunctionReturningInlineClassValue.kt") - public void testJvmOverloadsOnTopLevelFunctionReturningInlineClassValue() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvmOverloadsOnTopLevelFunctionReturningInlineClassValue.kt"); - } - - @Test - @TestMetadata("jvmStaticFunInInlineClassCompanion.kt") - public void testJvmStaticFunInInlineClassCompanion() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvmStaticFunInInlineClassCompanion.kt"); - } - - @Test - @TestMetadata("jvmStaticPropertyAccessorInInlineClassCompanion.kt") - public void testJvmStaticPropertyAccessorInInlineClassCompanion() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvmStaticPropertyAccessorInInlineClassCompanion.kt"); - } - - @Test - @TestMetadata("jvmStaticVarInInlineClassCompanion.kt") - public void testJvmStaticVarInInlineClassCompanion() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvmStaticVarInInlineClassCompanion.kt"); - } - - @Test - @TestMetadata("kclassInAnnotation.kt") - public void testKclassInAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kclassInAnnotation.kt"); - } - @Test @TestMetadata("kt25246.kt") public void testKt25246() throws Exception { @@ -20131,24 +16256,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt"); } - @Test - @TestMetadata("kt28879.kt") - public void testKt28879() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt28879.kt"); - } - - @Test - @TestMetadata("kt28920_javaObjectType.kt") - public void testKt28920_javaObjectType() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt28920_javaObjectType.kt"); - } - - @Test - @TestMetadata("kt28920_javaPrimitiveType.kt") - public void testKt28920_javaPrimitiveType() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt28920_javaPrimitiveType.kt"); - } - @Test @TestMetadata("kt31994.kt") public void testKt31994() throws Exception { @@ -20209,12 +16316,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt44141.kt"); } - @Test - @TestMetadata("kt44701_jvmOverloads.kt") - public void testKt44701_jvmOverloads() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt44701_jvmOverloads.kt"); - } - @Test @TestMetadata("kt44867.kt") public void testKt44867() throws Exception { @@ -20245,24 +16346,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt"); } - @Test - @TestMetadata("kt47609.kt") - public void testKt47609() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt47609.kt"); - } - @Test @TestMetadata("kt47762.kt") public void testKt47762() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/kt47762.kt"); } - @Test - @TestMetadata("kt48993.kt") - public void testKt48993() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/kt48993.kt"); - } - @Test @TestMetadata("mangledDefaultParameterFunction.kt") public void testMangledDefaultParameterFunction() throws Exception { @@ -20275,18 +16364,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/mangledSuperCalls.kt"); } - @Test - @TestMetadata("mapInlineClassesWithSuppressWildcardsMode.kt") - public void testMapInlineClassesWithSuppressWildcardsMode() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/mapInlineClassesWithSuppressWildcardsMode.kt"); - } - - @Test - @TestMetadata("mappingOfBoxedFlexibleInlineClassType.kt") - public void testMappingOfBoxedFlexibleInlineClassType() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/mappingOfBoxedFlexibleInlineClassType.kt"); - } - @Test @TestMetadata("multifileClass.kt") public void testMultifileClass() throws Exception { @@ -20311,12 +16388,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/noReturnTypeMangling.kt"); } - @Test - @TestMetadata("noReturnTypeManglingJvmName.kt") - public void testNoReturnTypeManglingJvmName() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/noReturnTypeManglingJvmName.kt"); - } - @Test @TestMetadata("nullableEqeqNonNull.kt") public void testNullableEqeqNonNull() throws Exception { @@ -20533,12 +16604,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt"); } - @Test - @TestMetadata("useOfInlineClassWithGenericMethodFromJava.kt") - public void testUseOfInlineClassWithGenericMethodFromJava() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt"); - } - @Test @TestMetadata("useThisInsideInlineClass.kt") public void testUseThisInsideInlineClass() throws Exception { @@ -20558,7 +16623,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BoxReturnValueInLambda { @Test public void testAllFilesPresentInBoxReturnValueInLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -20641,7 +16706,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BoxReturnValueOnOverride { @Test public void testAllFilesPresentInBoxReturnValueOnOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -20820,7 +16885,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/callableReferences"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/callableReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -20950,7 +17015,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Let { @Test public void testAllFilesPresentInLet() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/callableReferences/let"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/callableReferences/let"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21068,15 +17133,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt"); } - @Test - @TestMetadata("accessPrivateStaticInlineClassCompanionMethod.kt") - public void testAccessPrivateStaticInlineClassCompanionMethod() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt"); - } - @Test public void testAllFilesPresentInContextsAndAccessors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21153,7 +17212,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultParameterValues { @Test public void testAllFilesPresentInDefaultParameterValues() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21233,33 +17292,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class DefaultWithDefaultParameter { - @Test - @TestMetadata("all.kt") - public void testAll() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter/all.kt"); - } - @Test public void testAllFilesPresentInDefaultWithDefaultParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("all-compatibility.kt") - public void testAll_compatibility() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter/all-compatibility.kt"); - } - - @Test - @TestMetadata("compatibility.kt") - public void testCompatibility() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter/compatibility.kt"); - } - - @Test - @TestMetadata("default.kt") - public void testDefault() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter/default.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultWithDefaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -21268,33 +17303,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class OverrideFunctionWithDefaultParameter { - @Test - @TestMetadata("all.kt") - public void testAll() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter/all.kt"); - } - @Test public void testAllFilesPresentInOverrideFunctionWithDefaultParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("all-compatibility.kt") - public void testAll_compatibility() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter/all-compatibility.kt"); - } - - @Test - @TestMetadata("compatibility.kt") - public void testCompatibility() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter/compatibility.kt"); - } - - @Test - @TestMetadata("default.kt") - public void testDefault() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter/default.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/overrideFunctionWithDefaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -21306,7 +17317,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21321,18 +17332,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt"); } - @Test - @TestMetadata("javaSam.kt") - public void testJavaSam() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSam.kt"); - } - - @Test - @TestMetadata("javaSamReturnResult.kt") - public void testJavaSamReturnResult() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSamReturnResult.kt"); - } - @Test @TestMetadata("mangledSamWrappers.kt") public void testMangledSamWrappers() throws Exception { @@ -21359,7 +17358,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunctionNameMangling { @Test public void testAllFilesPresentInFunctionNameMangling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/functionNameMangling"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/functionNameMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21386,12 +17385,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt"); } - @Test - @TestMetadata("genericSignatureOfFunctionWithMangledName.kt") - public void testGenericSignatureOfFunctionWithMangledName() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericSignatureOfFunctionWithMangledName.kt"); - } - @Test @TestMetadata("localClassInFunctionWithMangledName.kt") public void testLocalClassInFunctionWithMangledName() throws Exception { @@ -21446,12 +17439,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForFunctionWithMangledName.kt"); } - @Test - @TestMetadata("reflectionForLocalClassInFunctionWithMangledName.kt") - public void testReflectionForLocalClassInFunctionWithMangledName() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForLocalClassInFunctionWithMangledName.kt"); - } - @Test @TestMetadata("reflectionForPropertyOfInlineClassType.kt") public void testReflectionForPropertyOfInlineClassType() throws Exception { @@ -21478,7 +17465,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class HiddenConstructor { @Test public void testAllFilesPresentInHiddenConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/hiddenConstructor"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/hiddenConstructor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21567,7 +17554,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClassCollection { @Test public void testAllFilesPresentInInlineClassCollection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/inlineClassCollection"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/inlineClassCollection"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21596,7 +17583,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InterfaceDelegation { @Test public void testAllFilesPresentInInterfaceDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceDelegation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceDelegation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21655,7 +17642,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InterfaceMethodCalls { @Test public void testAllFilesPresentInInterfaceMethodCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21732,25 +17719,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaInterop { @Test public void testAllFilesPresentInJavaInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("inlineClasInSignature.kt") - public void testInlineClasInSignature() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/javaInterop/inlineClasInSignature.kt"); - } - - @Test - @TestMetadata("inlineClasInSignatureNonNull.kt") - public void testInlineClasInSignatureNonNull() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/javaInterop/inlineClasInSignatureNonNull.kt"); - } - - @Test - @TestMetadata("inlineClasInSignatureNullable.kt") - public void testInlineClasInSignatureNullable() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/javaInterop/inlineClasInSignatureNullable.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -21761,91 +17730,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm8DefaultInterfaceMethods { @Test public void testAllFilesPresentInJvm8DefaultInterfaceMethods() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("inlineClassInheritingDefaultMethod.kt") - public void testInlineClassInheritingDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/inlineClassInheritingDefaultMethod.kt"); - } - - @Test - @TestMetadata("inlineClassInheritingDefaultMethodAll.kt") - public void testInlineClassInheritingDefaultMethodAll() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/inlineClassInheritingDefaultMethodAll.kt"); - } - - @Test - @TestMetadata("javaDefaultMethod.kt") - public void testJavaDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/javaDefaultMethod.kt"); - } - - @Test - @TestMetadata("javaDefaultMethodOverriddenByKotlin.kt") - public void testJavaDefaultMethodOverriddenByKotlin() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/javaDefaultMethodOverriddenByKotlin.kt"); - } - - @Test - @TestMetadata("jvmDefaultAll.kt") - public void testJvmDefaultAll() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultAll.kt"); - } - - @Test - @TestMetadata("jvmDefaultAllPrimaryProperty.kt") - public void testJvmDefaultAllPrimaryProperty() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultAllPrimaryProperty.kt"); - } - - @Test - @TestMetadata("jvmDefaultAllProperty.kt") - public void testJvmDefaultAllProperty() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultAllProperty.kt"); - } - - @Test - @TestMetadata("jvmDefaultEnable.kt") - public void testJvmDefaultEnable() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultEnable.kt"); - } - - @Test - @TestMetadata("jvmDefaultEnablePrimaryProperty.kt") - public void testJvmDefaultEnablePrimaryProperty() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultEnablePrimaryProperty.kt"); - } - - @Test - @TestMetadata("jvmDefaultEnableProperty.kt") - public void testJvmDefaultEnableProperty() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultEnableProperty.kt"); - } - - @Test - @TestMetadata("jvmDefaultGeneric.kt") - public void testJvmDefaultGeneric() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultGeneric.kt"); - } - - @Test - @TestMetadata("jvmDefaultSafeCall.kt") - public void testJvmDefaultSafeCall() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultSafeCall.kt"); - } - - @Test - @TestMetadata("jvmDefaultSmartCast.kt") - public void testJvmDefaultSmartCast() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultSmartCast.kt"); - } - - @Test - @TestMetadata("jvmDefaultSuspend.kt") - public void testJvmDefaultSuspend() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods/jvmDefaultSuspend.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/jvm8DefaultInterfaceMethods"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -21856,7 +17741,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PropertyDelegation { @Test public void testAllFilesPresentInPropertyDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/propertyDelegation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/propertyDelegation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21883,12 +17768,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateCompanionVarToInlineClass.kt"); } - @Test - @TestMetadata("delegateJvmStaticCompanionVarToInlineClass.kt") - public void testDelegateJvmStaticCompanionVarToInlineClass() throws Exception { - runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateJvmStaticCompanionVarToInlineClass.kt"); - } - @Test @TestMetadata("delegateLocalVarToInlineClass.kt") public void testDelegateLocalVarToInlineClass() throws Exception { @@ -21939,7 +17818,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Result { @Test public void testAllFilesPresentInResult() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/result"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/result"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -21986,7 +17865,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ReturnResult { @Test public void testAllFilesPresentInReturnResult() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/returnResult"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/returnResult"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22033,7 +17912,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnboxGenericParameter { @Test public void testAllFilesPresentInUnboxGenericParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -22043,7 +17922,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22108,7 +17987,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Lambda { @Test public void testAllFilesPresentInLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22173,7 +18052,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ObjectLiteral { @Test public void testAllFilesPresentInObjectLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22240,7 +18119,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InnerNested { @Test public void testAllFilesPresentInInnerNested() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22285,24 +18164,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/innerNested/innerGeneric.kt"); } - @Test - @TestMetadata("innerGenericClassFromJava.kt") - public void testInnerGenericClassFromJava() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/innerGenericClassFromJava.kt"); - } - @Test @TestMetadata("innerImplicitParameter.kt") public void testInnerImplicitParameter() throws Exception { runTest("compiler/testData/codegen/box/innerNested/innerImplicitParameter.kt"); } - @Test - @TestMetadata("innerJavaClass.kt") - public void testInnerJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/innerJavaClass.kt"); - } - @Test @TestMetadata("innerLabeledThis.kt") public void testInnerLabeledThis() throws Exception { @@ -22333,30 +18200,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/innerNested/kt3132.kt"); } - @Test - @TestMetadata("kt3532.kt") - public void testKt3532() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/kt3532.kt"); - } - - @Test - @TestMetadata("kt3812.kt") - public void testKt3812() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/kt3812.kt"); - } - @Test @TestMetadata("kt3927.kt") public void testKt3927() throws Exception { runTest("compiler/testData/codegen/box/innerNested/kt3927.kt"); } - @Test - @TestMetadata("kt4036.kt") - public void testKt4036() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/kt4036.kt"); - } - @Test @TestMetadata("kt46829.kt") public void testKt46829() throws Exception { @@ -22435,12 +18284,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/innerNested/protectedNestedClass.kt"); } - @Test - @TestMetadata("protectedNestedClassFromJava.kt") - public void testProtectedNestedClassFromJava() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/protectedNestedClassFromJava.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/innerNested/superConstructorCall") @TestDataPath("$PROJECT_ROOT") @@ -22448,7 +18291,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuperConstructorCall { @Test public void testAllFilesPresentInSuperConstructorCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested/superConstructorCall"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested/superConstructorCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22475,12 +18318,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/innerExtendsInnerWithProperOuterCapture.kt"); } - @Test - @TestMetadata("innerExtendsOuter.kt") - public void testInnerExtendsOuter() throws Exception { - runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/innerExtendsOuter.kt"); - } - @Test @TestMetadata("kt11833_1.kt") public void testKt11833_1() throws Exception { @@ -22586,7 +18423,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Instructions { @Test public void testAllFilesPresentInInstructions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -22596,7 +18433,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Swap { @Test public void testAllFilesPresentInSwap() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions/swap"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions/swap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22620,7 +18457,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Intrinsics { @Test public void testAllFilesPresentInIntrinsics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/intrinsics"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/intrinsics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -22629,12 +18466,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/intrinsics/charToInt.kt"); } - @Test - @TestMetadata("defaultObjectMapping.kt") - public void testDefaultObjectMapping() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/defaultObjectMapping.kt"); - } - @Test @TestMetadata("ea35953.kt") public void testEa35953() throws Exception { @@ -22647,24 +18478,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/intrinsics/incWithLabel.kt"); } - @Test - @TestMetadata("javaObjectType.kt") - public void testJavaObjectType() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/javaObjectType.kt"); - } - - @Test - @TestMetadata("javaPrimitiveType.kt") - public void testJavaPrimitiveType() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt"); - } - - @Test - @TestMetadata("javaPrimitiveType_UnitAndNothing.kt") - public void testJavaPrimitiveType_UnitAndNothing() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/javaPrimitiveType_UnitAndNothing.kt"); - } - @Test @TestMetadata("kt10131.kt") public void testKt10131() throws Exception { @@ -22701,12 +18514,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/intrinsics/kt12125_inc_2.kt"); } - @Test - @TestMetadata("kt5937.kt") - public void testKt5937() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/kt5937.kt"); - } - @Test @TestMetadata("kt8666.kt") public void testKt8666() throws Exception { @@ -22719,12 +18526,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt"); } - @Test - @TestMetadata("monitorEnterMonitorExit.kt") - public void testMonitorEnterMonitorExit() throws Exception { - runTest("compiler/testData/codegen/box/intrinsics/monitorEnterMonitorExit.kt"); - } - @Test @TestMetadata("nonShortCircuitAnd.kt") public void testNonShortCircuitAnd() throws Exception { @@ -22793,7 +18594,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Invokedynamic { @Test public void testAllFilesPresentInInvokedynamic() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -22803,103 +18604,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Lambdas { @Test public void testAllFilesPresentInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bigArityExtLambda.kt") - public void testBigArityExtLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/bigArityExtLambda.kt"); - } - - @Test - @TestMetadata("bigArityLambda.kt") - public void testBigArityLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/bigArityLambda.kt"); - } - - @Test - @TestMetadata("capturedDispatchReceiver.kt") - public void testCapturedDispatchReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/capturedDispatchReceiver.kt"); - } - - @Test - @TestMetadata("capturedExtensionReceiver.kt") - public void testCapturedExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/capturedExtensionReceiver.kt"); - } - - @Test - @TestMetadata("capturingValue.kt") - public void testCapturingValue() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/capturingValue.kt"); - } - - @Test - @TestMetadata("capturingVar.kt") - public void testCapturingVar() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/capturingVar.kt"); - } - - @Test - @TestMetadata("extensionLambda.kt") - public void testExtensionLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/extensionLambda.kt"); - } - - @Test - @TestMetadata("genericLambdaSignature.kt") - public void testGenericLambdaSignature() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/genericLambdaSignature.kt"); - } - - @Test - @TestMetadata("lambdaSerializable.kt") - public void testLambdaSerializable() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/lambdaSerializable.kt"); - } - - @Test - @TestMetadata("lambdaToSting.kt") - public void testLambdaToSting() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/lambdaToSting.kt"); - } - - @Test - @TestMetadata("nestedIndyLambdas.kt") - public void testNestedIndyLambdas() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/nestedIndyLambdas.kt"); - } - - @Test - @TestMetadata("nullabilityAssertions.kt") - public void testNullabilityAssertions() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/nullabilityAssertions.kt"); - } - - @Test - @TestMetadata("primitiveValueParameters.kt") - public void testPrimitiveValueParameters() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/primitiveValueParameters.kt"); - } - - @Test - @TestMetadata("simpleIndyLambda.kt") - public void testSimpleIndyLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/simpleIndyLambda.kt"); - } - - @Test - @TestMetadata("suspendLambda.kt") - public void testSuspendLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/suspendLambda.kt"); - } - - @Test - @TestMetadata("voidReturnType.kt") - public void testVoidReturnType() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/voidReturnType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -22909,43 +18614,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClassInSignature { @Test public void testAllFilesPresentInInlineClassInSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("lambdaWithInlineAny.kt") - public void testLambdaWithInlineAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineAny.kt"); - } - - @Test - @TestMetadata("lambdaWithInlineInt.kt") - public void testLambdaWithInlineInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineInt.kt"); - } - - @Test - @TestMetadata("lambdaWithInlineNAny.kt") - public void testLambdaWithInlineNAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineNAny.kt"); - } - - @Test - @TestMetadata("lambdaWithInlineNInt.kt") - public void testLambdaWithInlineNInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineNInt.kt"); - } - - @Test - @TestMetadata("lambdaWithInlineNString.kt") - public void testLambdaWithInlineNString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineNString.kt"); - } - - @Test - @TestMetadata("lambdaWithInlineString.kt") - public void testLambdaWithInlineString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature/lambdaWithInlineString.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -22957,223 +18626,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("boundFunctionReferenceEquality.kt") - public void testBoundFunctionReferenceEquality() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/boundFunctionReferenceEquality.kt"); - } - - @Test - @TestMetadata("boundReference.kt") - public void testBoundReference() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/boundReference.kt"); - } - - @Test - @TestMetadata("builtinMemberReference.kt") - public void testBuiltinMemberReference() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/builtinMemberReference.kt"); - } - - @Test - @TestMetadata("capturedDispatchReceiver.kt") - public void testCapturedDispatchReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/capturedDispatchReceiver.kt"); - } - - @Test - @TestMetadata("capturedExtensionReceiver.kt") - public void testCapturedExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/capturedExtensionReceiver.kt"); - } - - @Test - @TestMetadata("capturingIndyFunInterface.kt") - public void testCapturingIndyFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/capturingIndyFunInterface.kt"); - } - - @Test - @TestMetadata("capturingIndySam.kt") - public void testCapturingIndySam() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/capturingIndySam.kt"); - } - - @Test - @TestMetadata("capturingVar.kt") - public void testCapturingVar() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/capturingVar.kt"); - } - - @Test - @TestMetadata("constructorReference.kt") - public void testConstructorReference() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/constructorReference.kt"); - } - - @Test - @TestMetadata("covariantOverrideWithPrimitive.kt") - public void testCovariantOverrideWithPrimitive() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/covariantOverrideWithPrimitive.kt"); - } - - @Test - @TestMetadata("enhancedNullabilityMix.kt") - public void testEnhancedNullabilityMix() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/enhancedNullabilityMix.kt"); - } - - @Test - @TestMetadata("genericFunInterface.kt") - public void testGenericFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/genericFunInterface.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithPrimitive.kt") - public void testGenericFunInterfaceWithPrimitive() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/genericFunInterfaceWithPrimitive.kt"); - } - - @Test - @TestMetadata("genericLambdaSignature.kt") - public void testGenericLambdaSignature() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/genericLambdaSignature.kt"); - } - - @Test - @TestMetadata("inlineFunWithPrivateMethod.kt") - public void testInlineFunWithPrivateMethod() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineFunWithPrivateMethod.kt"); - } - - @Test - @TestMetadata("inlineOnly.kt") - public void testInlineOnly() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineOnly.kt"); - } - - @Test - @TestMetadata("insideInitBlock.kt") - public void testInsideInitBlock() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/insideInitBlock.kt"); - } - - @Test - @TestMetadata("intReturnTypeAsNumber.kt") - public void testIntReturnTypeAsNumber() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/intReturnTypeAsNumber.kt"); - } - - @Test - @TestMetadata("kt45779.kt") - public void testKt45779() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/kt45779.kt"); - } - - @Test - @TestMetadata("kt47510.kt") - public void testKt47510() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/kt47510.kt"); - } - - @Test - @TestMetadata("nullabilityAssertions.kt") - public void testNullabilityAssertions() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/nullabilityAssertions.kt"); - } - - @Test - @TestMetadata("possibleOverrideClash.kt") - public void testPossibleOverrideClash() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/possibleOverrideClash.kt"); - } - - @Test - @TestMetadata("primitiveVsWrapperInSam.kt") - public void testPrimitiveVsWrapperInSam() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/primitiveVsWrapperInSam.kt"); - } - - @Test - @TestMetadata("reifiedTypeParameter.kt") - public void testReifiedTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/reifiedTypeParameter.kt"); - } - - @Test - @TestMetadata("samConversionInsideSamConvertedLambda.kt") - public void testSamConversionInsideSamConvertedLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/samConversionInsideSamConvertedLambda.kt"); - } - - @Test - @TestMetadata("samConversionOnFunctionReference.kt") - public void testSamConversionOnFunctionReference() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/samConversionOnFunctionReference.kt"); - } - - @Test - @TestMetadata("samExtFunWithCapturingLambda.kt") - public void testSamExtFunWithCapturingLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/samExtFunWithCapturingLambda.kt"); - } - - @Test - @TestMetadata("serializableSam1.kt") - public void testSerializableSam1() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam1.kt"); - } - - @Test - @TestMetadata("serializableSam2.kt") - public void testSerializableSam2() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam2.kt"); - } - - @Test - @TestMetadata("simpleFunInterfaceConstructor.kt") - public void testSimpleFunInterfaceConstructor() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/simpleFunInterfaceConstructor.kt"); - } - - @Test - @TestMetadata("simpleIndyFunInterface.kt") - public void testSimpleIndyFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/simpleIndyFunInterface.kt"); - } - - @Test - @TestMetadata("simpleIndySam.kt") - public void testSimpleIndySam() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/simpleIndySam.kt"); - } - - @Test - @TestMetadata("streamApi1.kt") - public void testStreamApi1() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/streamApi1.kt"); - } - - @Test - @TestMetadata("streamApi2.kt") - public void testStreamApi2() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/streamApi2.kt"); - } - - @Test - @TestMetadata("suspendFunInterface.kt") - public void testSuspendFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/suspendFunInterface.kt"); - } - - @Test - @TestMetadata("unboundFunctionReferenceEquality.kt") - public void testUnboundFunctionReferenceEquality() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/unboundFunctionReferenceEquality.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -23183,49 +18636,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunctionExprToJavaInterface { @Test public void testAllFilesPresentInFunctionExprToJavaInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("capturedSamArgument.kt") - public void testCapturedSamArgument() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/capturedSamArgument.kt"); - } - - @Test - @TestMetadata("capturingLambda.kt") - public void testCapturingLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/capturingLambda.kt"); - } - - @Test - @TestMetadata("extensionLambda1.kt") - public void testExtensionLambda1() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/extensionLambda1.kt"); - } - - @Test - @TestMetadata("extensionLambda2.kt") - public void testExtensionLambda2() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/extensionLambda2.kt"); - } - - @Test - @TestMetadata("genericSam1.kt") - public void testGenericSam1() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/genericSam1.kt"); - } - - @Test - @TestMetadata("genericSam2.kt") - public void testGenericSam2() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/genericSam2.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionExprToJavaInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -23234,225 +18645,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class FunctionRefToJavaInterface { - @Test - @TestMetadata("adaptedFunRefWithCoercionToUnit.kt") - public void testAdaptedFunRefWithCoercionToUnit() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/adaptedFunRefWithCoercionToUnit.kt"); - } - - @Test - @TestMetadata("adaptedFunRefWithDefaultParameters.kt") - public void testAdaptedFunRefWithDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/adaptedFunRefWithDefaultParameters.kt"); - } - - @Test - @TestMetadata("adaptedFunRefWithVararg.kt") - public void testAdaptedFunRefWithVararg() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/adaptedFunRefWithVararg.kt"); - } - @Test public void testAllFilesPresentInFunctionRefToJavaInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("boundExtFun.kt") - public void testBoundExtFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundExtFun.kt"); - } - - @Test - @TestMetadata("boundInnerConstructorRef.kt") - public void testBoundInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundInnerConstructorRef.kt"); - } - - @Test - @TestMetadata("boundLocalExtFun.kt") - public void testBoundLocalExtFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundLocalExtFun.kt"); - } - - @Test - @TestMetadata("boundMemberRef.kt") - public void testBoundMemberRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundMemberRef.kt"); - } - - @Test - @TestMetadata("boundRefToSuperClassMethod.kt") - public void testBoundRefToSuperClassMethod() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundRefToSuperClassMethod.kt"); - } - - @Test - @TestMetadata("boundRefToSuperInterfaceMethod.kt") - public void testBoundRefToSuperInterfaceMethod() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundRefToSuperInterfaceMethod.kt"); - } - - @Test - @TestMetadata("constructorRef.kt") - public void testConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/constructorRef.kt"); - } - - @Test - @TestMetadata("enhancedNullability.kt") - public void testEnhancedNullability() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt"); - } - - @Test - @TestMetadata("genericBoundInnerConstructorRef.kt") - public void testGenericBoundInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/genericBoundInnerConstructorRef.kt"); - } - - @Test - @TestMetadata("genericFunRef.kt") - public void testGenericFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/genericFunRef.kt"); - } - - @Test - @TestMetadata("genericInnerConstructorRef.kt") - public void testGenericInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/genericInnerConstructorRef.kt"); - } - - @Test - @TestMetadata("highOrderFunRef.kt") - public void testHighOrderFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/highOrderFunRef.kt"); - } - - @Test - @TestMetadata("inlineFunRef.kt") - public void testInlineFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/inlineFunRef.kt"); - } - - @Test - @TestMetadata("inlineFunWithReifiedTypeParameterRef.kt") - public void testInlineFunWithReifiedTypeParameterRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/inlineFunWithReifiedTypeParameterRef.kt"); - } - - @Test - @TestMetadata("inlineHighOrderFunRef.kt") - public void testInlineHighOrderFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/inlineHighOrderFunRef.kt"); - } - - @Test - @TestMetadata("innerConstructorRef.kt") - public void testInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/innerConstructorRef.kt"); - } - - @Test - @TestMetadata("intReturnTypeAsNumber.kt") - public void testIntReturnTypeAsNumber() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/intReturnTypeAsNumber.kt"); - } - - @Test - @TestMetadata("interfaceMemberRef.kt") - public void testInterfaceMemberRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/interfaceMemberRef.kt"); - } - - @Test - @TestMetadata("kt45581.kt") - public void testKt45581() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/kt45581.kt"); - } - - @Test - @TestMetadata("kt46408.kt") - public void testKt46408() throws Exception { - 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 { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/localFunction1.kt"); - } - - @Test - @TestMetadata("localFunction2.kt") - public void testLocalFunction2() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/localFunction2.kt"); - } - - @Test - @TestMetadata("memberRef.kt") - public void testMemberRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/memberRef.kt"); - } - - @Test - @TestMetadata("multifileClassMemberFromStdlib.kt") - public void testMultifileClassMemberFromStdlib() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt"); - } - - @Test - @TestMetadata("multipleProxyWrappersForSameFunction.kt") - public void testMultipleProxyWrappersForSameFunction() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multipleProxyWrappersForSameFunction.kt"); - } - - @Test - @TestMetadata("nonTrivialReceiver.kt") - public void testNonTrivialReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/nonTrivialReceiver.kt"); - } - - @Test - @TestMetadata("nothingReturnTypeAsObject.kt") - public void testNothingReturnTypeAsObject() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/nothingReturnTypeAsObject.kt"); - } - - @Test - @TestMetadata("nothingReturnTypeAsString.kt") - public void testNothingReturnTypeAsString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/nothingReturnTypeAsString.kt"); - } - - @Test - @TestMetadata("nullableNothingReturnTypeAsObject.kt") - public void testNullableNothingReturnTypeAsObject() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/nullableNothingReturnTypeAsObject.kt"); - } - - @Test - @TestMetadata("nullableNothingReturnTypeAsString.kt") - public void testNullableNothingReturnTypeAsString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/nullableNothingReturnTypeAsString.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/simple.kt"); - } - - @Test - @TestMetadata("voidReturnTypeAsObject.kt") - public void testVoidReturnTypeAsObject() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/voidReturnTypeAsObject.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -23462,61 +18657,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SpecialFunctions { @Test public void testAllFilesPresentInSpecialFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anyNToString.kt") - public void testAnyNToString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/anyNToString.kt"); - } - - @Test - @TestMetadata("arrayConstructor.kt") - public void testArrayConstructor() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/arrayConstructor.kt"); - } - - @Test - @TestMetadata("arrayOf.kt") - public void testArrayOf() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/arrayOf.kt"); - } - - @Test - @TestMetadata("charArrayOf.kt") - public void testCharArrayOf() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/charArrayOf.kt"); - } - - @Test - @TestMetadata("enumValueOf.kt") - public void testEnumValueOf() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/enumValueOf.kt"); - } - - @Test - @TestMetadata("enumValues.kt") - public void testEnumValues() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/enumValues.kt"); - } - - @Test - @TestMetadata("intArrayOf.kt") - public void testIntArrayOf() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intArrayOf.kt"); - } - - @Test - @TestMetadata("intPlus.kt") - public void testIntPlus() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intPlus.kt"); - } - - @Test - @TestMetadata("stringNPlus.kt") - public void testStringNPlus() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/stringNPlus.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -23527,55 +18668,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class WithAccessor { @Test public void testAllFilesPresentInWithAccessor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("privateBoundOuterClassMemberFun.kt") - public void testPrivateBoundOuterClassMemberFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateBoundOuterClassMemberFun.kt"); - } - - @Test - @TestMetadata("privateCompanionObjectMember.kt") - public void testPrivateCompanionObjectMember() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateCompanionObjectMember.kt"); - } - - @Test - @TestMetadata("privateOuterClassConstructor.kt") - public void testPrivateOuterClassConstructor() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateOuterClassConstructor.kt"); - } - - @Test - @TestMetadata("privateOuterClassMemberFun.kt") - public void testPrivateOuterClassMemberFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateOuterClassMemberFun.kt"); - } - - @Test - @TestMetadata("privateTopLevelExtFun.kt") - public void testPrivateTopLevelExtFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateTopLevelExtFun.kt"); - } - - @Test - @TestMetadata("privateTopLevelFun.kt") - public void testPrivateTopLevelFun() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/privateTopLevelFun.kt"); - } - - @Test - @TestMetadata("protectedCompanionObjectStaticMember.kt") - public void testProtectedCompanionObjectStaticMember() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedCompanionObjectStaticMember.kt"); - } - - @Test - @TestMetadata("protectedMember.kt") - public void testProtectedMember() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedMember.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -23587,79 +18680,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClassInSignature { @Test public void testAllFilesPresentInInlineClassInSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("funInterfaceWithInlineAny.kt") - public void testFunInterfaceWithInlineAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineAny.kt"); - } - - @Test - @TestMetadata("funInterfaceWithInlineInt.kt") - public void testFunInterfaceWithInlineInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineInt.kt"); - } - - @Test - @TestMetadata("funInterfaceWithInlineNAny.kt") - public void testFunInterfaceWithInlineNAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNAny.kt"); - } - - @Test - @TestMetadata("funInterfaceWithInlineNInt.kt") - public void testFunInterfaceWithInlineNInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNInt.kt"); - } - - @Test - @TestMetadata("funInterfaceWithInlineNString.kt") - public void testFunInterfaceWithInlineNString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNString.kt"); - } - - @Test - @TestMetadata("funInterfaceWithInlineString.kt") - public void testFunInterfaceWithInlineString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineString.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineAny.kt") - public void testGenericFunInterfaceWithInlineAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineAny.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineInt.kt") - public void testGenericFunInterfaceWithInlineInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineInt.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineNAny.kt") - public void testGenericFunInterfaceWithInlineNAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineNAny.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineNInt.kt") - public void testGenericFunInterfaceWithInlineNInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineNInt.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineNString.kt") - public void testGenericFunInterfaceWithInlineNString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineNString.kt"); - } - - @Test - @TestMetadata("genericFunInterfaceWithInlineString.kt") - public void testGenericFunInterfaceWithInlineString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/genericFunInterfaceWithInlineString.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -23670,133 +18691,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SpecializedGenerics { @Test public void testAllFilesPresentInSpecializedGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("covariantOverride.kt") - public void testCovariantOverride() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/covariantOverride.kt"); - } - - @Test - @TestMetadata("covariantOverrideWithNNothing.kt") - public void testCovariantOverrideWithNNothing() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/covariantOverrideWithNNothing.kt"); - } - - @Test - @TestMetadata("genericWithInProjection.kt") - public void testGenericWithInProjection() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/genericWithInProjection.kt"); - } - - @Test - @TestMetadata("genericWithStarProjection.kt") - public void testGenericWithStarProjection() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/genericWithStarProjection.kt"); - } - - @Test - @TestMetadata("inheritedWithChar.kt") - public void testInheritedWithChar() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithChar.kt"); - } - - @Test - @TestMetadata("inheritedWithCharDiamond.kt") - public void testInheritedWithCharDiamond() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithCharDiamond.kt"); - } - - @Test - @TestMetadata("inheritedWithCharExplicitlyOverridden.kt") - public void testInheritedWithCharExplicitlyOverridden() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithCharExplicitlyOverridden.kt"); - } - - @Test - @TestMetadata("inheritedWithInt.kt") - public void testInheritedWithInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithInt.kt"); - } - - @Test - @TestMetadata("inheritedWithString.kt") - public void testInheritedWithString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithString.kt"); - } - - @Test - @TestMetadata("inheritedWithUnit.kt") - public void testInheritedWithUnit() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/inheritedWithUnit.kt"); - } - - @Test - @TestMetadata("mixGenericAndIntArray.kt") - public void testMixGenericAndIntArray() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixGenericAndIntArray.kt"); - } - - @Test - @TestMetadata("mixGenericAndString.kt") - public void testMixGenericAndString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixGenericAndString.kt"); - } - - @Test - @TestMetadata("mixGenericArrayAndArrayOfString.kt") - public void testMixGenericArrayAndArrayOfString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixGenericArrayAndArrayOfString.kt"); - } - - @Test - @TestMetadata("mixPrimitiveAndBoxed.kt") - public void testMixPrimitiveAndBoxed() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixPrimitiveAndBoxed.kt"); - } - - @Test - @TestMetadata("nothingReturnTypeAsGeneric.kt") - public void testNothingReturnTypeAsGeneric() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/nothingReturnTypeAsGeneric.kt"); - } - - @Test - @TestMetadata("nothingReturnTypeAsString.kt") - public void testNothingReturnTypeAsString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/nothingReturnTypeAsString.kt"); - } - - @Test - @TestMetadata("specializedWithChar.kt") - public void testSpecializedWithChar() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/specializedWithChar.kt"); - } - - @Test - @TestMetadata("specializedWithCharClass.kt") - public void testSpecializedWithCharClass() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/specializedWithCharClass.kt"); - } - - @Test - @TestMetadata("specializedWithReifiedTypeParameter.kt") - public void testSpecializedWithReifiedTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/specializedWithReifiedTypeParameter.kt"); - } - - @Test - @TestMetadata("specializedWithString.kt") - public void testSpecializedWithString() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/specializedWithString.kt"); - } - - @Test - @TestMetadata("voidReturnTypeAsGeneric.kt") - public void testVoidReturnTypeAsGeneric() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/voidReturnTypeAsGeneric.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -23808,157 +18703,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Serializable { @Test public void testAllFilesPresentInSerializable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/serializable"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("multipleTopLevelFunRefs.kt") - public void testMultipleTopLevelFunRefs() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/multipleTopLevelFunRefs.kt"); - } - - @Test - @TestMetadata("sameImplMethodDifferentInterfaces.kt") - public void testSameImplMethodDifferentInterfaces() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/sameImplMethodDifferentInterfaces.kt"); - } - - @Test - @TestMetadata("sameInterfaceDifferentCapturedValueTypes.kt") - public void testSameInterfaceDifferentCapturedValueTypes() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/sameInterfaceDifferentCapturedValueTypes.kt"); - } - - @Test - @TestMetadata("sameInterfaceDifferentCapturedValues.kt") - public void testSameInterfaceDifferentCapturedValues() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/sameInterfaceDifferentCapturedValues.kt"); - } - - @Test - @TestMetadata("serializableBoundClassMemberFunRef.kt") - public void testSerializableBoundClassMemberFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableBoundClassMemberFunRef.kt"); - } - - @Test - @TestMetadata("serializableBoundInnerConstructorRef.kt") - public void testSerializableBoundInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableBoundInnerConstructorRef.kt"); - } - - @Test - @TestMetadata("serializableBoundInterfaceMemberFunRef.kt") - public void testSerializableBoundInterfaceMemberFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableBoundInterfaceMemberFunRef.kt"); - } - - @Test - @TestMetadata("serializableBoundTopLevelExtensionFunRef.kt") - public void testSerializableBoundTopLevelExtensionFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableBoundTopLevelExtensionFunRef.kt"); - } - - @Test - @TestMetadata("serializableBoundTopLevelExtensionFunRefPrimitiveReceiver.kt") - public void testSerializableBoundTopLevelExtensionFunRefPrimitiveReceiver() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableBoundTopLevelExtensionFunRefPrimitiveReceiver.kt"); - } - - @Test - @TestMetadata("serializableClassMemberFunRef.kt") - public void testSerializableClassMemberFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableClassMemberFunRef.kt"); - } - - @Test - @TestMetadata("serializableConstructorRef.kt") - public void testSerializableConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableConstructorRef.kt"); - } - - @Test - @TestMetadata("serializableFakeOverrideFunRef.kt") - public void testSerializableFakeOverrideFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableFakeOverrideFunRef.kt"); - } - - @Test - @TestMetadata("serializableInnerConstructorRef.kt") - public void testSerializableInnerConstructorRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableInnerConstructorRef.kt"); - } - - @Test - @TestMetadata("serializableInterfaceMemberFunRef.kt") - public void testSerializableInterfaceMemberFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableInterfaceMemberFunRef.kt"); - } - - @Test - @TestMetadata("serializableJavaStaticMethodRef.kt") - public void testSerializableJavaStaticMethodRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableJavaStaticMethodRef.kt"); - } - - @Test - @TestMetadata("serializableLambda.kt") - public void testSerializableLambda() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambda.kt"); - } - - @Test - @TestMetadata("serializableLambdaCapturingBoxedInlineClassAny.kt") - public void testSerializableLambdaCapturingBoxedInlineClassAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaCapturingBoxedInlineClassAny.kt"); - } - - @Test - @TestMetadata("serializableLambdaCapturingInlineClassAny.kt") - public void testSerializableLambdaCapturingInlineClassAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaCapturingInlineClassAny.kt"); - } - - @Test - @TestMetadata("serializableLambdaCapturingInlineClassInt.kt") - public void testSerializableLambdaCapturingInlineClassInt() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaCapturingInlineClassInt.kt"); - } - - @Test - @TestMetadata("serializableLambdaCapturingNullableInlineClassAny.kt") - public void testSerializableLambdaCapturingNullableInlineClassAny() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaCapturingNullableInlineClassAny.kt"); - } - - @Test - @TestMetadata("serializableLambdaToKotlinInterface.kt") - public void testSerializableLambdaToKotlinInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaToKotlinInterface.kt"); - } - - @Test - @TestMetadata("serializableLambdaWithCapture.kt") - public void testSerializableLambdaWithCapture() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableLambdaWithCapture.kt"); - } - - @Test - @TestMetadata("serializableTopLevelFunRef.kt") - public void testSerializableTopLevelFunRef() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableTopLevelFunRef.kt"); - } - - @Test - @TestMetadata("serializableTopLevelFunRefAsGenericInterface.kt") - public void testSerializableTopLevelFunRefAsGenericInterface() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableTopLevelFunRefAsGenericInterface.kt"); - } - - @Test - @TestMetadata("serializableWithBridge.kt") - public void testSerializableWithBridge() throws Exception { - runTest("compiler/testData/codegen/box/invokedynamic/serializable/serializableWithBridge.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/serializable"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -23970,7 +18715,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Ir { @Test public void testAllFilesPresentInIr() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -23997,12 +18742,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt"); } - @Test - @TestMetadata("clashingFakeOverrideSignatures.kt") - public void testClashingFakeOverrideSignatures() throws Exception { - runTest("compiler/testData/codegen/box/ir/clashingFakeOverrideSignatures.kt"); - } - @Test @TestMetadata("classInitializers.kt") public void testClassInitializers() throws Exception { @@ -24051,12 +18790,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ir/kt25405.kt"); } - @Test - @TestMetadata("kt29833.kt") - public void testKt29833() throws Exception { - runTest("compiler/testData/codegen/box/ir/kt29833.kt"); - } - @Test @TestMetadata("kt40083.kt") public void testKt40083() throws Exception { @@ -24099,12 +18832,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ir/simple.kt"); } - @Test - @TestMetadata("suppressConflictingSignatureErrors.kt") - public void testSuppressConflictingSignatureErrors() throws Exception { - runTest("compiler/testData/codegen/box/ir/suppressConflictingSignatureErrors.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/ir/closureConversion") @TestDataPath("$PROJECT_ROOT") @@ -24112,7 +18839,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ClosureConversion { @Test public void testAllFilesPresentInClosureConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/closureConversion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/closureConversion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24171,7 +18898,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PrimitiveNumberComparisons { @Test public void testAllFilesPresentInPrimitiveNumberComparisons() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/primitiveNumberComparisons"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/primitiveNumberComparisons"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24206,31 +18933,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PrivateSignatures { @Test public void testAllFilesPresentInPrivateSignatures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("deepLocalClassProperties.kt") - public void testDeepLocalClassProperties() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties.kt"); - } - - @Test - @TestMetadata("deepLocalClassProperties2.kt") - public void testDeepLocalClassProperties2() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalClassProperties2.kt"); - } - - @Test - @TestMetadata("deepLocalDefaultArgumentWithLocalClass.kt") - public void testDeepLocalDefaultArgumentWithLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalDefaultArgumentWithLocalClass.kt"); - } - - @Test - @TestMetadata("deepLocalFakeOverride.kt") - public void testDeepLocalFakeOverride() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/deepLocalFakeOverride.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/privateSignatures"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24239,23 +18942,11 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt"); } - @Test - @TestMetadata("localFakeOverride.kt") - public void testLocalFakeOverride() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/localFakeOverride.kt"); - } - @Test @TestMetadata("privateLeakThroughInline.kt") public void testPrivateLeakThroughInline() throws Exception { runTest("compiler/testData/codegen/box/ir/privateSignatures/privateLeakThroughInline.kt"); } - - @Test - @TestMetadata("topLevelPrivateDelegate.kt") - public void testTopLevelPrivateDelegate() throws Exception { - runTest("compiler/testData/codegen/box/ir/privateSignatures/topLevelPrivateDelegate.kt"); - } } @Nested @@ -24265,7 +18956,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SerializationRegressions { @Test public void testAllFilesPresentInSerializationRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/serializationRegressions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/serializationRegressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24331,97 +19022,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaInterop { @Test public void testAllFilesPresentInJavaInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("ambiguousJavaVararg.kt") - public void testAmbiguousJavaVararg() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/ambiguousJavaVararg.kt"); - } - - @Test - @TestMetadata("conflictingOverloadsForThrowableInheritors.kt") - public void testConflictingOverloadsForThrowableInheritors() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors.kt"); - } - - @Test - @TestMetadata("conflictingOverloadsForThrowableInheritors2.kt") - public void testConflictingOverloadsForThrowableInheritors2() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors2.kt"); - } - - @Test - @TestMetadata("genericSamProjectedOut.kt") - public void testGenericSamProjectedOut() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt"); - } - - @Test - @TestMetadata("genericSamSmartcast.kt") - public void testGenericSamSmartcast() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/genericSamSmartcast.kt"); - } - - @Test - @TestMetadata("javaOuterClassDependsOnInner.kt") - public void testJavaOuterClassDependsOnInner() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/javaOuterClassDependsOnInner.kt"); - } - - @Test - @TestMetadata("kt43217.kt") - public void testKt43217() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/kt43217.kt"); - } - - @Test - @TestMetadata("kt48590.kt") - public void testKt48590() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/kt48590.kt"); - } - - @Test - @TestMetadata("lambdaInstanceOf.kt") - public void testLambdaInstanceOf() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt"); - } - - @Test - @TestMetadata("notFoundClasses.kt") - public void testNotFoundClasses() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notFoundClasses.kt"); - } - - @Test - @TestMetadata("protectedField.kt") - public void testProtectedField() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/protectedField.kt"); - } - - @Test - @TestMetadata("samTypeParameter.kt") - public void testSamTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/samTypeParameter.kt"); - } - - @Test - @TestMetadata("samUnboundTypeParameter.kt") - public void testSamUnboundTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/samUnboundTypeParameter.kt"); - } - - @Test - @TestMetadata("superCallOfPrintStackTrace.kt") - public void testSuperCallOfPrintStackTrace() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/superCallOfPrintStackTrace.kt"); - } - - @Test - @TestMetadata("unresolvedJavaClassInDifferentFile.kt") - public void testUnresolvedJavaClassInDifferentFile() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/unresolvedJavaClassInDifferentFile.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -24431,31 +19032,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Generics { @Test public void testAllFilesPresentInGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("allWildcardsOnClass.kt") - public void testAllWildcardsOnClass() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/allWildcardsOnClass.kt"); - } - - @Test - @TestMetadata("covariantOverrideWithDeclarationSiteProjection.kt") - public void testCovariantOverrideWithDeclarationSiteProjection() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/covariantOverrideWithDeclarationSiteProjection.kt"); - } - - @Test - @TestMetadata("invariantArgumentsNoWildcard.kt") - public void testInvariantArgumentsNoWildcard() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/invariantArgumentsNoWildcard.kt"); - } - - @Test - @TestMetadata("javaNestedSamInterface.kt") - public void testJavaNestedSamInterface() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/javaNestedSamInterface.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24469,12 +19046,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt42825() throws Exception { runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt"); } - - @Test - @TestMetadata("propertyVarianceConflict.kt") - public void testPropertyVarianceConflict() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/generics/propertyVarianceConflict.kt"); - } } @Nested @@ -24484,73 +19055,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NotNullAssertions { @Test public void testAllFilesPresentInNotNullAssertions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("destructuringAssignmentWithNullabilityAssertionOnExtensionReceiver_lv12.kt") - public void testDestructuringAssignmentWithNullabilityAssertionOnExtensionReceiver_lv12() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/destructuringAssignmentWithNullabilityAssertionOnExtensionReceiver_lv12.kt"); - } - - @Test - @TestMetadata("errorMessage.kt") - public void testErrorMessage() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/errorMessage.kt"); - } - - @Test - @TestMetadata("extensionReceiverParameter.kt") - public void testExtensionReceiverParameter() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/extensionReceiverParameter.kt"); - } - - @Test - @TestMetadata("functionAssertion.kt") - public void testFunctionAssertion() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/functionAssertion.kt"); - } - - @Test - @TestMetadata("functionWithBigArity.kt") - public void testFunctionWithBigArity() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/functionWithBigArity.kt"); - } - - @Test - @TestMetadata("incWithNullabilityAssertionOnExtensionReceiver.kt") - public void testIncWithNullabilityAssertionOnExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiver.kt"); - } - - @Test - @TestMetadata("incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt") - public void testIncWithNullabilityAssertionOnExtensionReceiverInPrivateOperator() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt"); - } - - @Test - @TestMetadata("kt18911.kt") - public void testKt18911() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt"); - } - - @Test - @TestMetadata("kt24258.kt") - public void testKt24258() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt24258.kt"); - } - - @Test - @TestMetadata("kt24258nn.kt") - public void testKt24258nn() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt24258nn.kt"); - } - - @Test - @TestMetadata("localEntities.kt") - public void testLocalEntities() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24559,78 +19064,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt"); } - @Test - @TestMetadata("nonNullableTypeParameter.kt") - public void testNonNullableTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nonNullableTypeParameter.kt"); - } - - @Test - @TestMetadata("nullabilityAssertionOnExtensionReceiver.kt") - public void testNullabilityAssertionOnExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullabilityAssertionOnExtensionReceiver.kt"); - } - - @Test - @TestMetadata("nullabilityAssertionOnInlineFunExtensionReceiver.kt") - public void testNullabilityAssertionOnInlineFunExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullabilityAssertionOnInlineFunExtensionReceiver.kt"); - } - - @Test - @TestMetadata("nullabilityAssertionOnMemberExtensionReceiver.kt") - public void testNullabilityAssertionOnMemberExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullabilityAssertionOnMemberExtensionReceiver.kt"); - } - - @Test - @TestMetadata("nullabilityAssertionOnPrivateMemberExtensionReceiver.kt") - public void testNullabilityAssertionOnPrivateMemberExtensionReceiver() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullabilityAssertionOnPrivateMemberExtensionReceiver.kt"); - } - - @Test - @TestMetadata("nullableTypeParameter.kt") - public void testNullableTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullableTypeParameter.kt"); - } - - @Test - @TestMetadata("paramAssertionMessage.kt") - public void testParamAssertionMessage() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/paramAssertionMessage.kt"); - } - - @Test - @TestMetadata("privateOperatorParameterAssertions.kt") - public void testPrivateOperatorParameterAssertions() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/privateOperatorParameterAssertions.kt"); - } - - @Test - @TestMetadata("staticCallErrorMessage.kt") - public void testStaticCallErrorMessage() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt"); - } - - @Test - @TestMetadata("typeParameterWithMixedNullableAndNotNullableBounds.kt") - public void testTypeParameterWithMixedNullableAndNotNullableBounds() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/typeParameterWithMixedNullableAndNotNullableBounds.kt"); - } - - @Test - @TestMetadata("typeParameterWithMultipleNotNullableBounds.kt") - public void testTypeParameterWithMultipleNotNullableBounds() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/typeParameterWithMultipleNotNullableBounds.kt"); - } - - @Test - @TestMetadata("typeParameterWithMultipleNullableBounds.kt") - public void testTypeParameterWithMultipleNullableBounds() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/typeParameterWithMultipleNullableBounds.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability") @TestDataPath("$PROJECT_ROOT") @@ -24638,55 +19071,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EnhancedNullability { @Test public void testAllFilesPresentInEnhancedNullability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("inFunctionWithExpressionBody.kt") - public void testInFunctionWithExpressionBody() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBody.kt"); - } - - @Test - @TestMetadata("inFunctionWithExpressionBodyWithJavaGeneric.kt") - public void testInFunctionWithExpressionBodyWithJavaGeneric() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBodyWithJavaGeneric.kt"); - } - - @Test - @TestMetadata("inLambdaReturnWithExpectedType.kt") - public void testInLambdaReturnWithExpectedType() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inLambdaReturnWithExpectedType.kt"); - } - - @Test - @TestMetadata("inLocalFunctionWithExpressionBody.kt") - public void testInLocalFunctionWithExpressionBody() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inLocalFunctionWithExpressionBody.kt"); - } - - @Test - @TestMetadata("inLocalVariableInitializer.kt") - public void testInLocalVariableInitializer() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inLocalVariableInitializer.kt"); - } - - @Test - @TestMetadata("inMemberPropertyInitializer.kt") - public void testInMemberPropertyInitializer() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inMemberPropertyInitializer.kt"); - } - - @Test - @TestMetadata("inPropertyGetterWithExpressionBody.kt") - public void testInPropertyGetterWithExpressionBody() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inPropertyGetterWithExpressionBody.kt"); - } - - @Test - @TestMetadata("inTopLevelPropertyInitializer.kt") - public void testInTopLevelPropertyInitializer() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inTopLevelPropertyInitializer.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -24697,67 +19082,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NullCheckOnLambdaReturnValue { @Test public void testAllFilesPresentInNullCheckOnLambdaReturnValue() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("nnStringVsT.kt") - public void testNnStringVsT() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/nnStringVsT.kt"); - } - - @Test - @TestMetadata("nnStringVsTAny.kt") - public void testNnStringVsTAny() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/nnStringVsTAny.kt"); - } - - @Test - @TestMetadata("nnStringVsTConstrained.kt") - public void testNnStringVsTConstrained() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/nnStringVsTConstrained.kt"); - } - - @Test - @TestMetadata("nnStringVsTXArray.kt") - public void testNnStringVsTXArray() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/nnStringVsTXArray.kt"); - } - - @Test - @TestMetadata("nnStringVsTXString.kt") - public void testNnStringVsTXString() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/nnStringVsTXString.kt"); - } - - @Test - @TestMetadata("stringVsT.kt") - public void testStringVsT() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/stringVsT.kt"); - } - - @Test - @TestMetadata("stringVsTAny.kt") - public void testStringVsTAny() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/stringVsTAny.kt"); - } - - @Test - @TestMetadata("stringVsTConstrained.kt") - public void testStringVsTConstrained() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/stringVsTConstrained.kt"); - } - - @Test - @TestMetadata("stringVsTXArray.kt") - public void testStringVsTXArray() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/stringVsTXArray.kt"); - } - - @Test - @TestMetadata("stringVsTXString.kt") - public void testStringVsTXString() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue/stringVsTXString.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -24769,7 +19094,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ObjectMethods { @Test public void testAllFilesPresentInObjectMethods() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/objectMethods"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/objectMethods"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -24790,18 +19115,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuperAndModifies.kt"); } - @Test - @TestMetadata("cloneHashSet.kt") - public void testCloneHashSet() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/objectMethods/cloneHashSet.kt"); - } - - @Test - @TestMetadata("cloneHierarchy.kt") - public void testCloneHierarchy() throws Exception { - runTest("compiler/testData/codegen/box/javaInterop/objectMethods/cloneHierarchy.kt"); - } - @Test @TestMetadata("cloneableClassWithoutClone.kt") public void testCloneableClassWithoutClone() throws Exception { @@ -24817,7 +19130,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaVisibility { @Test public void testAllFilesPresentInJavaVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -24827,31 +19140,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Package { @Test public void testAllFilesPresentInPackage() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/package"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt2781.kt") - public void testKt2781() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/package/kt2781.kt"); - } - - @Test - @TestMetadata("packageClass.kt") - public void testPackageClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/package/packageClass.kt"); - } - - @Test - @TestMetadata("packageFun.kt") - public void testPackageFun() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/package/packageFun.kt"); - } - - @Test - @TestMetadata("packageProperty.kt") - public void testPackageProperty() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/package/packageProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/package"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -24862,61 +19151,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProtectedAndPackage { @Test public void testAllFilesPresentInProtectedAndPackage() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt42012.kt") - public void testKt42012() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/kt42012.kt"); - } - - @Test - @TestMetadata("overrideProtectedFunInPackage.kt") - public void testOverrideProtectedFunInPackage() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/overrideProtectedFunInPackage.kt"); - } - - @Test - @TestMetadata("protectedAccessor.kt") - public void testProtectedAccessor() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedAccessor.kt"); - } - - @Test - @TestMetadata("protectedFunInPackage.kt") - public void testProtectedFunInPackage() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedFunInPackage.kt"); - } - - @Test - @TestMetadata("protectedPropertyInPackage.kt") - public void testProtectedPropertyInPackage() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedPropertyInPackage.kt"); - } - - @Test - @TestMetadata("protectedPropertyInPackageFromCrossinline.kt") - public void testProtectedPropertyInPackageFromCrossinline() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedPropertyInPackageFromCrossinline.kt"); - } - - @Test - @TestMetadata("protectedStaticClass.kt") - public void testProtectedStaticClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedStaticClass.kt"); - } - - @Test - @TestMetadata("protectedSuperField.kt") - public void testProtectedSuperField() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedSuperField.kt"); - } - - @Test - @TestMetadata("protectedSuperMethod.kt") - public void testProtectedSuperMethod() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedAndPackage/protectedSuperMethod.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -24927,79 +19162,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProtectedStatic { @Test public void testAllFilesPresentInProtectedStatic() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/protectedStatic"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("funCallInConstructor.kt") - public void testFunCallInConstructor() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funCallInConstructor.kt"); - } - - @Test - @TestMetadata("funClassObject.kt") - public void testFunClassObject() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funClassObject.kt"); - } - - @Test - @TestMetadata("funGenericClass.kt") - public void testFunGenericClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funGenericClass.kt"); - } - - @Test - @TestMetadata("funNestedStaticClass.kt") - public void testFunNestedStaticClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funNestedStaticClass.kt"); - } - - @Test - @TestMetadata("funNestedStaticClass2.kt") - public void testFunNestedStaticClass2() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funNestedStaticClass2.kt"); - } - - @Test - @TestMetadata("funNestedStaticGenericClass.kt") - public void testFunNestedStaticGenericClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funNestedStaticGenericClass.kt"); - } - - @Test - @TestMetadata("funNotDirectSuperClass.kt") - public void testFunNotDirectSuperClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funNotDirectSuperClass.kt"); - } - - @Test - @TestMetadata("funObject.kt") - public void testFunObject() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/funObject.kt"); - } - - @Test - @TestMetadata("simpleClass.kt") - public void testSimpleClass() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/simpleClass.kt"); - } - - @Test - @TestMetadata("simpleClass2.kt") - public void testSimpleClass2() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/simpleClass2.kt"); - } - - @Test - @TestMetadata("simpleFun.kt") - public void testSimpleFun() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/simpleFun.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/javaVisibility/protectedStatic/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/protectedStatic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -25011,7 +19174,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jdk { @Test public void testAllFilesPresentInJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jdk"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jdk"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -25037,30 +19200,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt1397() throws Exception { runTest("compiler/testData/codegen/box/jdk/kt1397.kt"); } - - @Test - @TestMetadata("removeIf.kt") - public void testRemoveIf() throws Exception { - runTest("compiler/testData/codegen/box/jdk/removeIf.kt"); - } - - @Test - @TestMetadata("stream.kt") - public void testStream() throws Exception { - runTest("compiler/testData/codegen/box/jdk/stream.kt"); - } - - @Test - @TestMetadata("streamBackwardCompatibility.kt") - public void testStreamBackwardCompatibility() throws Exception { - runTest("compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt"); - } - - @Test - @TestMetadata("useStream.kt") - public void testUseStream() throws Exception { - runTest("compiler/testData/codegen/box/jdk/useStream.kt"); - } } @Nested @@ -25070,139 +19209,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm8 { @Test public void testAllFilesPresentInJvm8() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridgeInClass.kt") - public void testBridgeInClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/bridgeInClass.kt"); - } - - @Test - @TestMetadata("bridgeInInterface.kt") - public void testBridgeInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/bridgeInInterface.kt"); - } - - @Test - @TestMetadata("capturedSuperCall.kt") - public void testCapturedSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/capturedSuperCall.kt"); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaultArgs.kt"); - } - - @Test - @TestMetadata("inlineFromAnotherFile.kt") - public void testInlineFromAnotherFile() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/inlineFromAnotherFile.kt"); - } - - @Test - @TestMetadata("inlineFromStdlib.kt") - public void testInlineFromStdlib() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/inlineFromStdlib.kt"); - } - - @Test - @TestMetadata("kt11969.kt") - public void testKt11969() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt11969.kt"); - } - - @Test - @TestMetadata("kt14243.kt") - public void testKt14243() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt14243.kt"); - } - - @Test - @TestMetadata("kt14243_2.kt") - public void testKt14243_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt14243_2.kt"); - } - - @Test - @TestMetadata("kt14243_prop.kt") - public void testKt14243_prop() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt14243_prop.kt"); - } - - @Test - @TestMetadata("kt16581.kt") - public void testKt16581() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt16581.kt"); - } - - @Test - @TestMetadata("kt16581_2.kt") - public void testKt16581_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt16581_2.kt"); - } - - @Test - @TestMetadata("kt16588.kt") - public void testKt16588() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt16588.kt"); - } - - @Test - @TestMetadata("kt29242.kt") - public void testKt29242() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt29242.kt"); - } - - @Test - @TestMetadata("kt33054.kt") - public void testKt33054() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt33054.kt"); - } - - @Test - @TestMetadata("kt6301.kt") - public void testKt6301() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt6301.kt"); - } - - @Test - @TestMetadata("kt6301_2.kt") - public void testKt6301_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/kt6301_2.kt"); - } - - @Test - @TestMetadata("oneImplementation.kt") - public void testOneImplementation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/oneImplementation.kt"); - } - - @Test - @TestMetadata("oneImplementation2.kt") - public void testOneImplementation2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/oneImplementation2.kt"); - } - - @Test - @TestMetadata("simpleCall.kt") - public void testSimpleCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/simpleCall.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/simpleProperty.kt"); - } - - @Test - @TestMetadata("treeMapBridge.kt") - public void testTreeMapBridge() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/treeMapBridge.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -25210,207 +19217,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class Defaults { - @Test - @TestMetadata("26360.kt") - public void test26360() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/26360.kt"); - } - - @Test - @TestMetadata("accessor.kt") - public void testAccessor() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/accessor.kt"); - } - - @Test - @TestMetadata("accessorFromCompanion.kt") - public void testAccessorFromCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/accessorFromCompanion.kt"); - } - - @Test - @TestMetadata("accessorsFromDefaultImpls.kt") - public void testAccessorsFromDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/accessorsFromDefaultImpls.kt"); - } - @Test public void testAllFilesPresentInDefaults() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridgeInClass.kt") - public void testBridgeInClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeInClass.kt"); - } - - @Test - @TestMetadata("bridgeInInterface.kt") - public void testBridgeInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeInInterface.kt"); - } - - @Test - @TestMetadata("bridgeInInterface2.kt") - public void testBridgeInInterface2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeInInterface2.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties.kt") - public void testBridgeInInterfaceWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeInInterfaceWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties2.kt") - public void testBridgeInInterfaceWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeInInterfaceWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithJava.kt") - public void testBridgeWithJava() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/bridgeWithJava.kt"); - } - - @Test - @TestMetadata("builtInsInherited.kt") - public void testBuiltInsInherited() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/builtInsInherited.kt"); - } - - @Test - @TestMetadata("callableReference.kt") - public void testCallableReference() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/callableReference.kt"); - } - - @Test - @TestMetadata("capturedSuperCall.kt") - public void testCapturedSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/capturedSuperCall.kt"); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/defaultArgs.kt"); - } - - @Test - @TestMetadata("defaultArgsViaAnonymousObject.kt") - public void testDefaultArgsViaAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/defaultArgsViaAnonymousObject.kt"); - } - - @Test - @TestMetadata("diamond.kt") - public void testDiamond() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/diamond.kt"); - } - - @Test - @TestMetadata("inheritedFunctionWithDefaultParameters.kt") - public void testInheritedFunctionWithDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/inheritedFunctionWithDefaultParameters.kt"); - } - - @Test - @TestMetadata("inline.kt") - public void testInline() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/inline.kt"); - } - - @Test - @TestMetadata("inlineProperty.kt") - public void testInlineProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/inlineProperty.kt"); - } - - @Test - @TestMetadata("kt11969.kt") - public void testKt11969() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt11969.kt"); - } - - @Test - @TestMetadata("kt14243.kt") - public void testKt14243() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt14243.kt"); - } - - @Test - @TestMetadata("kt14243_2.kt") - public void testKt14243_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt14243_2.kt"); - } - - @Test - @TestMetadata("kt14243_prop.kt") - public void testKt14243_prop() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt14243_prop.kt"); - } - - @Test - @TestMetadata("kt40920.kt") - public void testKt40920() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt40920.kt"); - } - - @Test - @TestMetadata("kt42674.kt") - public void testKt42674() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/kt42674.kt"); - } - - @Test - @TestMetadata("oneImplementation.kt") - public void testOneImplementation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/oneImplementation.kt"); - } - - @Test - @TestMetadata("oneImplementation2.kt") - public void testOneImplementation2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/oneImplementation2.kt"); - } - - @Test - @TestMetadata("privateDefaultFromDefaultImpl.kt") - public void testPrivateDefaultFromDefaultImpl() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/privateDefaultFromDefaultImpl.kt"); - } - - @Test - @TestMetadata("privateInDefaultImpls.kt") - public void testPrivateInDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/privateInDefaultImpls.kt"); - } - - @Test - @TestMetadata("simpleCall.kt") - public void testSimpleCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/simpleCall.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/simpleProperty.kt"); - } - - @Test - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/superCall.kt"); - } - - @Test - @TestMetadata("suspendFunction.kt") - public void testSuspendFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/suspendFunction.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -25418,213 +19227,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class AllCompatibility { - @Test - @TestMetadata("accessor.kt") - public void testAccessor() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/accessor.kt"); - } - - @Test - @TestMetadata("accessorFromCompanion.kt") - public void testAccessorFromCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/accessorFromCompanion.kt"); - } - @Test public void testAllFilesPresentInAllCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridge.kt") - public void testBridge() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridge.kt"); - } - - @Test - @TestMetadata("bridge2.kt") - public void testBridge2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridge2.kt"); - } - - @Test - @TestMetadata("bridge3.kt") - public void testBridge3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridge3.kt"); - } - - @Test - @TestMetadata("bridgeInClass.kt") - public void testBridgeInClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeInClass.kt"); - } - - @Test - @TestMetadata("bridgeInInterface.kt") - public void testBridgeInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeInInterface.kt"); - } - - @Test - @TestMetadata("bridgeInInterface2.kt") - public void testBridgeInInterface2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeInInterface2.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties.kt") - public void testBridgeInInterfaceWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeInInterfaceWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties2.kt") - public void testBridgeInInterfaceWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeInInterfaceWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithJava.kt") - public void testBridgeWithJava() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeWithJava.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties.kt") - public void testBridgeWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties2.kt") - public void testBridgeWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties3.kt") - public void testBridgeWithProperties3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/bridgeWithProperties3.kt"); - } - - @Test - @TestMetadata("callStackTrace.kt") - public void testCallStackTrace() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/callStackTrace.kt"); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/defaultArgs.kt"); - } - - @Test - @TestMetadata("defaultArgsViaAnonymousObject.kt") - public void testDefaultArgsViaAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/defaultArgsViaAnonymousObject.kt"); - } - - @Test - @TestMetadata("deprecatedDefaultMethod.kt") - public void testDeprecatedDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/deprecatedDefaultMethod.kt"); - } - - @Test - @TestMetadata("funInterface.kt") - public void testFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/funInterface.kt"); - } - - @Test - @TestMetadata("inheritedFunctionWithDefaultParameters.kt") - public void testInheritedFunctionWithDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/inheritedFunctionWithDefaultParameters.kt"); - } - - @Test - @TestMetadata("inheritedJvmDefault.kt") - public void testInheritedJvmDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/inheritedJvmDefault.kt"); - } - - @Test - @TestMetadata("interfaceExtension.kt") - public void testInterfaceExtension() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/interfaceExtension.kt"); - } - - @Test - @TestMetadata("kt14243.kt") - public void testKt14243() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/kt14243.kt"); - } - - @Test - @TestMetadata("kt14243_2.kt") - public void testKt14243_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/kt14243_2.kt"); - } - - @Test - @TestMetadata("kt42674.kt") - public void testKt42674() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/kt42674.kt"); - } - - @Test - @TestMetadata("localDelegatedProperties.kt") - public void testLocalDelegatedProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/localDelegatedProperties.kt"); - } - - @Test - @TestMetadata("privateFunInInterface.kt") - public void testPrivateFunInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunInInterface.kt"); - } - - @Test - @TestMetadata("privateFunWithDefaultArg.kt") - public void testPrivateFunWithDefaultArg() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunWithDefaultArg.kt"); - } - - @Test - @TestMetadata("privateFunWithDefaultArg2.kt") - public void testPrivateFunWithDefaultArg2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunWithDefaultArg2.kt"); - } - - @Test - @TestMetadata("privateSuspend.kt") - public void testPrivateSuspend() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateSuspend.kt"); - } - - @Test - @TestMetadata("propertyAnnotation.kt") - public void testPropertyAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/propertyAnnotation.kt"); - } - - @Test - @TestMetadata("simpleFunction.kt") - public void testSimpleFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/simpleFunction.kt"); - } - - @Test - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/superCall.kt"); - } - - @Test - @TestMetadata("suspendFunction.kt") - public void testSuspendFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/suspendFunction.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -25634,19 +19239,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegationBy { @Test public void testAllFilesPresentInDelegationBy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simple.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -25658,103 +19251,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Compatibility { @Test public void testAllFilesPresentInCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/compatibility"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridge.kt") - public void testBridge() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridge.kt"); - } - - @Test - @TestMetadata("bridge2.kt") - public void testBridge2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridge2.kt"); - } - - @Test - @TestMetadata("bridge3.kt") - public void testBridge3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridge3.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties.kt") - public void testBridgeWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridgeWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties2.kt") - public void testBridgeWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridgeWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties3.kt") - public void testBridgeWithProperties3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/bridgeWithProperties3.kt"); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgs.kt"); - } - - @Test - @TestMetadata("defaultArgsViaAnonymousObject.kt") - public void testDefaultArgsViaAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/defaultArgsViaAnonymousObject.kt"); - } - - @Test - @TestMetadata("deprecatedAnnotation.kt") - public void testDeprecatedAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/deprecatedAnnotation.kt"); - } - - @Test - @TestMetadata("deprecatedDefaultMethod.kt") - public void testDeprecatedDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/deprecatedDefaultMethod.kt"); - } - - @Test - @TestMetadata("inheritedFunctionWithDefaultParameters.kt") - public void testInheritedFunctionWithDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/inheritedFunctionWithDefaultParameters.kt"); - } - - @Test - @TestMetadata("inheritedJvmDefault.kt") - public void testInheritedJvmDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/inheritedJvmDefault.kt"); - } - - @Test - @TestMetadata("interfaceExtension.kt") - public void testInterfaceExtension() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/interfaceExtension.kt"); - } - - @Test - @TestMetadata("kt42674.kt") - public void testKt42674() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/kt42674.kt"); - } - - @Test - @TestMetadata("propertyAnnotation.kt") - public void testPropertyAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/propertyAnnotation.kt"); - } - - @Test - @TestMetadata("simpleFunction.kt") - public void testSimpleFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/compatibility/simpleFunction.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/compatibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -25765,25 +19262,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegationBy { @Test public void testAllFilesPresentInDelegationBy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaDefaultMethod.kt") - public void testJavaDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/delegationBy/javaDefaultMethod.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/delegationBy/simple.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/delegationBy/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -25792,213 +19271,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class NoDefaultImpls { - @Test - @TestMetadata("accessor.kt") - public void testAccessor() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/accessor.kt"); - } - - @Test - @TestMetadata("accessorFromCompanion.kt") - public void testAccessorFromCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/accessorFromCompanion.kt"); - } - @Test public void testAllFilesPresentInNoDefaultImpls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridge.kt") - public void testBridge() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridge.kt"); - } - - @Test - @TestMetadata("bridge2.kt") - public void testBridge2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridge2.kt"); - } - - @Test - @TestMetadata("bridge3.kt") - public void testBridge3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridge3.kt"); - } - - @Test - @TestMetadata("bridgeInClass.kt") - public void testBridgeInClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeInClass.kt"); - } - - @Test - @TestMetadata("bridgeInInterface.kt") - public void testBridgeInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeInInterface.kt"); - } - - @Test - @TestMetadata("bridgeInInterface2.kt") - public void testBridgeInInterface2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeInInterface2.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties.kt") - public void testBridgeInInterfaceWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeInInterfaceWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeInInterfaceWithProperties2.kt") - public void testBridgeInInterfaceWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeInInterfaceWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithJava.kt") - public void testBridgeWithJava() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeWithJava.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties.kt") - public void testBridgeWithProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeWithProperties.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties2.kt") - public void testBridgeWithProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeWithProperties2.kt"); - } - - @Test - @TestMetadata("bridgeWithProperties3.kt") - public void testBridgeWithProperties3() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/bridgeWithProperties3.kt"); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/defaultArgs.kt"); - } - - @Test - @TestMetadata("defaultArgsViaAnonymousObject.kt") - public void testDefaultArgsViaAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/defaultArgsViaAnonymousObject.kt"); - } - - @Test - @TestMetadata("funInterface.kt") - public void testFunInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/funInterface.kt"); - } - - @Test - @TestMetadata("inheritedFunctionWithDefaultParameters.kt") - public void testInheritedFunctionWithDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/inheritedFunctionWithDefaultParameters.kt"); - } - - @Test - @TestMetadata("inheritedJvmDefault.kt") - public void testInheritedJvmDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/inheritedJvmDefault.kt"); - } - - @Test - @TestMetadata("interfaceExtension.kt") - public void testInterfaceExtension() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/interfaceExtension.kt"); - } - - @Test - @TestMetadata("kt14243.kt") - public void testKt14243() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt14243.kt"); - } - - @Test - @TestMetadata("kt14243_2.kt") - public void testKt14243_2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt14243_2.kt"); - } - - @Test - @TestMetadata("kt40920.kt") - public void testKt40920() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt40920.kt"); - } - - @Test - @TestMetadata("kt42674.kt") - public void testKt42674() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42674.kt"); - } - - @Test - @TestMetadata("kt42967_all.kt") - public void testKt42967_all() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt"); - } - - @Test - @TestMetadata("localDelegatedProperties.kt") - public void testLocalDelegatedProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/localDelegatedProperties.kt"); - } - - @Test - @TestMetadata("localDelegatedProperties2.kt") - public void testLocalDelegatedProperties2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/localDelegatedProperties2.kt"); - } - - @Test - @TestMetadata("privateFunInInterface.kt") - public void testPrivateFunInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateFunInInterface.kt"); - } - - @Test - @TestMetadata("privateFunWithDefaultArg.kt") - public void testPrivateFunWithDefaultArg() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateFunWithDefaultArg.kt"); - } - - @Test - @TestMetadata("privateSuspend.kt") - public void testPrivateSuspend() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateSuspend.kt"); - } - - @Test - @TestMetadata("propertyAnnotation.kt") - public void testPropertyAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/propertyAnnotation.kt"); - } - - @Test - @TestMetadata("simpleFunction.kt") - public void testSimpleFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/simpleFunction.kt"); - } - - @Test - @TestMetadata("suspendFunction.kt") - public void testSuspendFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/suspendFunction.kt"); - } - - @Test - @TestMetadata("suspendSuperCall.kt") - public void testSuspendSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/suspendSuperCall.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -26008,19 +19283,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegationBy { @Test public void testAllFilesPresentInDelegationBy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simple.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26031,13 +19294,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Specialization { @Test public void testAllFilesPresentInSpecialization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/specialization"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("basic.kt") - public void testBasic() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/specialization/basic.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/specialization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26048,19 +19305,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class WithCompatibility { @Test public void testAllFilesPresentInWithCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/withCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultArgs.kt") - public void testDefaultArgs() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/withCompatibility/defaultArgs.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/withCompatibility/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/withCompatibility"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -26072,25 +19317,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NoDelegation { @Test public void testAllFilesPresentInNoDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDelegation"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("noDelegationToDefaultMethodInClass.kt") - public void testNoDelegationToDefaultMethodInClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInClass.kt"); - } - - @Test - @TestMetadata("noDelegationToDefaultMethodInInterface.kt") - public void testNoDelegationToDefaultMethodInInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInInterface.kt"); - } - - @Test - @TestMetadata("noDelegationToDefaultMethodInInterface2.kt") - public void testNoDelegationToDefaultMethodInInterface2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/noDelegation/noDelegationToDefaultMethodInInterface2.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDelegation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26101,31 +19328,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NonDefaultInheritance { @Test public void testAllFilesPresentInNonDefaultInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple.kt"); - } - - @Test - @TestMetadata("simple2.kt") - public void testSimple2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/simple2.kt"); - } - - @Test - @TestMetadata("specialization.kt") - public void testSpecialization() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/specialization.kt"); - } - - @Test - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance/superCall.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/nonDefaultInheritance"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26136,13 +19339,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reflection { @Test public void testAllFilesPresentInReflection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/reflection"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("propertyAnnotations.kt") - public void testPropertyAnnotations() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/defaults/reflection/propertyAnnotations.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/reflection"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -26154,19 +19351,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InterfaceFlag { @Test public void testAllFilesPresentInInterfaceFlag() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/interfaceFlag"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/interfaceFlag/superCall.kt"); - } - - @Test - @TestMetadata("superCallIndirect.kt") - public void testSuperCallIndirect() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/interfaceFlag/superCallIndirect.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/interfaceFlag"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26177,97 +19362,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaDefaults { @Test public void testAllFilesPresentInJavaDefaults() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/javaDefaults"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("capturedSuperCall.kt") - public void testCapturedSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/capturedSuperCall.kt"); - } - - @Test - @TestMetadata("defaultMethodCallFromInterface.kt") - public void testDefaultMethodCallFromInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodCallFromInterface.kt"); - } - - @Test - @TestMetadata("defaultMethodCallViaClass.kt") - public void testDefaultMethodCallViaClass() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodCallViaClass.kt"); - } - - @Test - @TestMetadata("defaultMethodCallViaInterface.kt") - public void testDefaultMethodCallViaInterface() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodCallViaInterface.kt"); - } - - @Test - @TestMetadata("defaultMethodOverride.kt") - public void testDefaultMethodOverride() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodOverride.kt"); - } - - @Test - @TestMetadata("dontDelegateToDefaultMethods.kt") - public void testDontDelegateToDefaultMethods() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/dontDelegateToDefaultMethods.kt"); - } - - @Test - @TestMetadata("inheritKotlin.kt") - public void testInheritKotlin() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/inheritKotlin.kt"); - } - - @Test - @TestMetadata("invokeDefaultViaSuper.kt") - public void testInvokeDefaultViaSuper() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt"); - } - - @Test - @TestMetadata("kt40920.kt") - public void testKt40920() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920.kt"); - } - - @Test - @TestMetadata("kt40920_java.kt") - public void testKt40920_java() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_java.kt"); - } - - @Test - @TestMetadata("kt40920_java2.kt") - public void testKt40920_java2() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_java2.kt"); - } - - @Test - @TestMetadata("kt40920_map.kt") - public void testKt40920_map() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_map.kt"); - } - - @Test - @TestMetadata("kt42967.kt") - public void testKt42967() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt42967.kt"); - } - - @Test - @TestMetadata("longChainOfKotlinExtendsFromJavaWithDefault.kt") - public void testLongChainOfKotlinExtendsFromJavaWithDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/longChainOfKotlinExtendsFromJavaWithDefault.kt"); - } - - @Test - @TestMetadata("samOnInterfaceWithDefaultMethod.kt") - public void testSamOnInterfaceWithDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvm8/javaDefaults/samOnInterfaceWithDefaultMethod.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/javaDefaults"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -26279,199 +19374,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmField { @Test public void testAllFilesPresentInJvmField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationCompanion.kt") - public void testAnnotationCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/annotationCompanion.kt"); - } - - @Test - @TestMetadata("annotationCompanionWithJava.kt") - public void testAnnotationCompanionWithJava() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/annotationCompanionWithJava.kt"); - } - - @Test - @TestMetadata("captureClassFields.kt") - public void testCaptureClassFields() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/captureClassFields.kt"); - } - - @Test - @TestMetadata("capturePackageFields.kt") - public void testCapturePackageFields() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/capturePackageFields.kt"); - } - - @Test - @TestMetadata("checkNoAccessors.kt") - public void testCheckNoAccessors() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/checkNoAccessors.kt"); - } - - @Test - @TestMetadata("clashWithJavaSuperClassField.kt") - public void testClashWithJavaSuperClassField() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/clashWithJavaSuperClassField.kt"); - } - - @Test - @TestMetadata("classFieldReference.kt") - public void testClassFieldReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/classFieldReference.kt"); - } - - @Test - @TestMetadata("classFieldReflection.kt") - public void testClassFieldReflection() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/classFieldReflection.kt"); - } - - @Test - @TestMetadata("compoundAccess.kt") - public void testCompoundAccess() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/compoundAccess.kt"); - } - - @Test - @TestMetadata("constructorProperty.kt") - public void testConstructorProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/constructorProperty.kt"); - } - - @Test - @TestMetadata("diamond.kt") - public void testDiamond() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/diamond.kt"); - } - - @Test - @TestMetadata("fileOrder.kt") - public void testFileOrder() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/fileOrder.kt"); - } - - @Test - @TestMetadata("fileOrderWithCopying.kt") - public void testFileOrderWithCopying() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/fileOrderWithCopying.kt"); - } - - @Test - @TestMetadata("initializersOrder.kt") - public void testInitializersOrder() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/initializersOrder.kt"); - } - - @Test - @TestMetadata("interfaceCompanion.kt") - public void testInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/interfaceCompanion.kt"); - } - - @Test - @TestMetadata("interfaceCompanionWithJava.kt") - public void testInterfaceCompanionWithJava() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt"); - } - - @Test - @TestMetadata("kt47328.kt") - public void testKt47328() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt47328.kt"); - } - - @Test - @TestMetadata("kt47328_inherited.kt") - public void testKt47328_inherited() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt47328_inherited.kt"); - } - - @Test - @TestMetadata("kt47328_super.kt") - public void testKt47328_super() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt47328_super.kt"); - } - - @Test - @TestMetadata("kt47328_var.kt") - public void testKt47328_var() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt47328_var.kt"); - } - - @Test - @TestMetadata("kt47739.kt") - public void testKt47739() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt47739.kt"); - } - - @Test - @TestMetadata("kt48295.kt") - public void testKt48295() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt48295.kt"); - } - - @Test - @TestMetadata("kt48295a.kt") - public void testKt48295a() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/kt48295a.kt"); - } - - @Test - @TestMetadata("publicField.kt") - public void testPublicField() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/publicField.kt"); - } - - @Test - @TestMetadata("publicFieldJava.kt") - public void testPublicFieldJava() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/publicFieldJava.kt"); - } - - @Test - @TestMetadata("simpleMemberProperty.kt") - public void testSimpleMemberProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/simpleMemberProperty.kt"); - } - - @Test - @TestMetadata("superCall.kt") - public void testSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/superCall.kt"); - } - - @Test - @TestMetadata("superCall2.kt") - public void testSuperCall2() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/superCall2.kt"); - } - - @Test - @TestMetadata("topLevelFieldReference.kt") - public void testTopLevelFieldReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/topLevelFieldReference.kt"); - } - - @Test - @TestMetadata("topLevelFieldReflection.kt") - public void testTopLevelFieldReflection() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/topLevelFieldReflection.kt"); - } - - @Test - @TestMetadata("visibility.kt") - public void testVisibility() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/visibility.kt"); - } - - @Test - @TestMetadata("writeFieldReference.kt") - public void testWriteFieldReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmField/writeFieldReference.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26482,109 +19385,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmName { @Test public void testAllFilesPresentInJvmName() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationProperties.kt") - public void testAnnotationProperties() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/annotationProperties.kt"); - } - - @Test - @TestMetadata("callableReference.kt") - public void testCallableReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/callableReference.kt"); - } - - @Test - @TestMetadata("clashingErasure.kt") - public void testClashingErasure() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/clashingErasure.kt"); - } - - @Test - @TestMetadata("classMembers.kt") - public void testClassMembers() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/classMembers.kt"); - } - - @Test - @TestMetadata("fakeJvmNameInJava.kt") - public void testFakeJvmNameInJava() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/fakeJvmNameInJava.kt"); - } - - @Test - @TestMetadata("fakeOverrideOfProperty.kt") - public void testFakeOverrideOfProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/fakeOverrideOfProperty.kt"); - } - - @Test - @TestMetadata("functionName.kt") - public void testFunctionName() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/functionName.kt"); - } - - @Test - @TestMetadata("functionWithDefault.kt") - public void testFunctionWithDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/functionWithDefault.kt"); - } - - @Test - @TestMetadata("kt23974.kt") - public void testKt23974() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/kt23974.kt"); - } - - @Test - @TestMetadata("loadJvmName.kt") - public void testLoadJvmName() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/loadJvmName.kt"); - } - - @Test - @TestMetadata("multifileClass.kt") - public void testMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/multifileClass.kt"); - } - - @Test - @TestMetadata("multifileClassWithLocalClass.kt") - public void testMultifileClassWithLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt"); - } - - @Test - @TestMetadata("multifileClassWithLocalGeneric.kt") - public void testMultifileClassWithLocalGeneric() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/multifileClassWithLocalGeneric.kt"); - } - - @Test - @TestMetadata("propertyAccessorsUseSite.kt") - public void testPropertyAccessorsUseSite() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/propertyAccessorsUseSite.kt"); - } - - @Test - @TestMetadata("propertyName.kt") - public void testPropertyName() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/propertyName.kt"); - } - - @Test - @TestMetadata("propertySyntheticMethod.kt") - public void testPropertySyntheticMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/propertySyntheticMethod.kt"); - } - - @Test - @TestMetadata("renamedFileClass.kt") - public void testRenamedFileClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/renamedFileClass.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -26594,25 +19395,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FileFacades { @Test public void testAllFilesPresentInFileFacades() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName/fileFacades"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("differentFiles.kt") - public void testDifferentFiles() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/fileFacades/differentFiles.kt"); - } - - @Test - @TestMetadata("javaAnnotationOnFileFacade.kt") - public void testJavaAnnotationOnFileFacade() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/fileFacades/javaAnnotationOnFileFacade.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvmName/fileFacades/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName/fileFacades"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -26624,133 +19407,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmOverloads { @Test public void testAllFilesPresentInJvmOverloads() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("companionObject.kt") - public void testCompanionObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/companionObject.kt"); - } - - @Test - @TestMetadata("constructorWithTypeParams.kt") - public void testConstructorWithTypeParams() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/constructorWithTypeParams.kt"); - } - - @Test - @TestMetadata("defaultsNotAtEnd.kt") - public void testDefaultsNotAtEnd() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt"); - } - - @Test - @TestMetadata("doubleParameters.kt") - public void testDoubleParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/doubleParameters.kt"); - } - - @Test - @TestMetadata("extensionMethod.kt") - public void testExtensionMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/extensionMethod.kt"); - } - - @Test - @TestMetadata("generics.kt") - public void testGenerics() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/generics.kt"); - } - - @Test - @TestMetadata("innerClass.kt") - public void testInnerClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/innerClass.kt"); - } - - @Test - @TestMetadata("manyParameters.kt") - public void testManyParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/manyParameters.kt"); - } - - @Test - @TestMetadata("multifileClass.kt") - public void testMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/multifileClass.kt"); - } - - @Test - @TestMetadata("multipleDefaultParameters.kt") - public void testMultipleDefaultParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt"); - } - - @Test - @TestMetadata("noRedundantVarargs.kt") - public void testNoRedundantVarargs() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt"); - } - - @Test - @TestMetadata("nonDefaultParameter.kt") - public void testNonDefaultParameter() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/nonDefaultParameter.kt"); - } - - @Test - @TestMetadata("primaryConstructor.kt") - public void testPrimaryConstructor() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt"); - } - - @Test - @TestMetadata("primaryConstructorWithAllDefaults.kt") - public void testPrimaryConstructorWithAllDefaults() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt"); - } - - @Test - @TestMetadata("privateClass.kt") - public void testPrivateClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/privateClass.kt"); - } - - @Test - @TestMetadata("secondaryConstructor.kt") - public void testSecondaryConstructor() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/secondaryConstructor.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/simple.kt"); - } - - @Test - @TestMetadata("simpleJavaCall.kt") - public void testSimpleJavaCall() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/simpleJavaCall.kt"); - } - - @Test - @TestMetadata("subClass.kt") - public void testSubClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/subClass.kt"); - } - - @Test - @TestMetadata("typeParameters.kt") - public void testTypeParameters() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/typeParameters.kt"); - } - - @Test - @TestMetadata("varargs.kt") - public void testVarargs() throws Exception { - runTest("compiler/testData/codegen/box/jvmOverloads/varargs.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26761,61 +19418,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmPackageName { @Test public void testAllFilesPresentInJvmPackageName() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmPackageName"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousObject.kt") - public void testAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/anonymousObject.kt"); - } - - @Test - @TestMetadata("anonymousObjectInInheritedMultifilePart.kt") - public void testAnonymousObjectInInheritedMultifilePart() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/anonymousObjectInInheritedMultifilePart.kt"); - } - - @Test - @TestMetadata("anonymousObjectInMultifilePart.kt") - public void testAnonymousObjectInMultifilePart() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/anonymousObjectInMultifilePart.kt"); - } - - @Test - @TestMetadata("localClass.kt") - public void testLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/localClass.kt"); - } - - @Test - @TestMetadata("metadataField.kt") - public void testMetadataField() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/metadataField.kt"); - } - - @Test - @TestMetadata("multifileClass.kt") - public void testMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/multifileClass.kt"); - } - - @Test - @TestMetadata("rootPackage.kt") - public void testRootPackage() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/rootPackage.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/simple.kt"); - } - - @Test - @TestMetadata("withJvmName.kt") - public void testWithJvmName() throws Exception { - runTest("compiler/testData/codegen/box/jvmPackageName/withJvmName.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmPackageName"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -26826,223 +19429,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmStatic { @Test public void testAllFilesPresentInJvmStatic() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotations.kt") - public void testAnnotations() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/annotations.kt"); - } - - @Test - @TestMetadata("closure.kt") - public void testClosure() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/closure.kt"); - } - - @Test - @TestMetadata("companionObject.kt") - public void testCompanionObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/companionObject.kt"); - } - - @Test - @TestMetadata("convention.kt") - public void testConvention() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/convention.kt"); - } - - @Test - @TestMetadata("default.kt") - public void testDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/default.kt"); - } - - @Test - @TestMetadata("defaultCrossFile.kt") - public void testDefaultCrossFile() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/defaultCrossFile.kt"); - } - - @Test - @TestMetadata("enumCompanion.kt") - public void testEnumCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/enumCompanion.kt"); - } - - @Test - @TestMetadata("explicitObject.kt") - public void testExplicitObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt"); - } - - @Test - @TestMetadata("extensionPropertyGetter.kt") - public void testExtensionPropertyGetter() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt"); - } - - @Test - @TestMetadata("funAccess.kt") - public void testFunAccess() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/funAccess.kt"); - } - - @Test - @TestMetadata("functionReference.kt") - public void testFunctionReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/functionReference.kt"); - } - - @Test - @TestMetadata("importStaticMemberFromObject.kt") - public void testImportStaticMemberFromObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/importStaticMemberFromObject.kt"); - } - - @Test - @TestMetadata("inline.kt") - public void testInline() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/inline.kt"); - } - - @Test - @TestMetadata("inlinePropertyAccessors.kt") - public void testInlinePropertyAccessors() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/inlinePropertyAccessors.kt"); - } - - @Test - @TestMetadata("interfaceCompanion.kt") - public void testInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/interfaceCompanion.kt"); - } - - @Test - @TestMetadata("jvmNameForAccessor.kt") - public void testJvmNameForAccessor() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/jvmNameForAccessor.kt"); - } - - @Test - @TestMetadata("kt21246.kt") - public void testKt21246() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt21246.kt"); - } - - @Test - @TestMetadata("kt21246a.kt") - public void testKt21246a() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt21246a.kt"); - } - - @Test - @TestMetadata("kt31389.kt") - public void testKt31389() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt31389.kt"); - } - - @Test - @TestMetadata("kt35716.kt") - public void testKt35716() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt35716.kt"); - } - - @Test - @TestMetadata("kt45408.kt") - public void testKt45408() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt45408.kt"); - } - - @Test - @TestMetadata("kt46568.kt") - public void testKt46568() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt46568.kt"); - } - - @Test - @TestMetadata("kt9897_static.kt") - public void testKt9897_static() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/kt9897_static.kt"); - } - - @Test - @TestMetadata("object.kt") - public void testObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/object.kt"); - } - - @Test - @TestMetadata("postfixInc.kt") - public void testPostfixInc() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/postfixInc.kt"); - } - - @Test - @TestMetadata("prefixInc.kt") - public void testPrefixInc() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/prefixInc.kt"); - } - - @Test - @TestMetadata("privateMethod.kt") - public void testPrivateMethod() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/privateMethod.kt"); - } - - @Test - @TestMetadata("privateSetter.kt") - public void testPrivateSetter() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/privateSetter.kt"); - } - - @Test - @TestMetadata("propertyAccess.kt") - public void testPropertyAccess() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyAccess.kt"); - } - - @Test - @TestMetadata("propertyAccessorsCompanion.kt") - public void testPropertyAccessorsCompanion() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyAccessorsCompanion.kt"); - } - - @Test - @TestMetadata("propertyAccessorsObject.kt") - public void testPropertyAccessorsObject() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyAccessorsObject.kt"); - } - - @Test - @TestMetadata("propertyAsDefault.kt") - public void testPropertyAsDefault() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyAsDefault.kt"); - } - - @Test - @TestMetadata("propertyGetterDelegatesToAnother.kt") - public void testPropertyGetterDelegatesToAnother() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyGetterDelegatesToAnother.kt"); - } - - @Test - @TestMetadata("propertyReference.kt") - public void testPropertyReference() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/propertyReference.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/simple.kt"); - } - - @Test - @TestMetadata("syntheticAccessor.kt") - public void testSyntheticAccessor() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -27052,25 +19439,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProtectedInSuperClass { @Test public void testAllFilesPresentInProtectedInSuperClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultArguments.kt") - public void testDefaultArguments() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/defaultArguments.kt"); - } - - @Test - @TestMetadata("simpleFunction.kt") - public void testSimpleFunction() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/simpleFunction.kt"); - } - - @Test - @TestMetadata("simpleProperty.kt") - public void testSimpleProperty() throws Exception { - runTest("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass/simpleProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic/protectedInSuperClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -27082,7 +19451,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Labels { @Test public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/labels"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27141,7 +19510,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LazyCodegen { @Test public void testAllFilesPresentInLazyCodegen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27205,7 +19574,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Optimizations { @Test public void testAllFilesPresentInOptimizations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27271,7 +19640,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LocalClasses { @Test public void testAllFilesPresentInLocalClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/localClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/localClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27522,19 +19891,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Mangling { @Test public void testAllFilesPresentInMangling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("field.kt") - public void testField() throws Exception { - runTest("compiler/testData/codegen/box/mangling/field.kt"); - } - - @Test - @TestMetadata("fun.kt") - public void testFun() throws Exception { - runTest("compiler/testData/codegen/box/mangling/fun.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27555,12 +19912,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/mangling/internalOverrideSuperCall.kt"); } - @Test - @TestMetadata("noOverrideWithJava.kt") - public void testNoOverrideWithJava() throws Exception { - runTest("compiler/testData/codegen/box/mangling/noOverrideWithJava.kt"); - } - @Test @TestMetadata("parentheses.kt") public void testParentheses() throws Exception { @@ -27587,7 +19938,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MixedNamedPosition { @Test public void testAllFilesPresentInMixedNamedPosition() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mixedNamedPosition"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mixedNamedPosition"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27622,7 +19973,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultiDecl { @Test public void testAllFilesPresentInMultiDecl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27716,7 +20067,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForIterator { @Test public void testAllFilesPresentInForIterator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27756,7 +20107,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LongIterator { @Test public void testAllFilesPresentInLongIterator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator/longIterator"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator/longIterator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27792,7 +20143,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForRange { @Test public void testAllFilesPresentInForRange() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27844,7 +20195,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExplicitRangeTo { @Test public void testAllFilesPresentInExplicitRangeTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27884,7 +20235,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Int { @Test public void testAllFilesPresentInInt() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27919,7 +20270,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Long { @Test public void testAllFilesPresentInLong() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27955,7 +20306,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExplicitRangeToWithDot { @Test public void testAllFilesPresentInExplicitRangeToWithDot() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -27995,7 +20346,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Int { @Test public void testAllFilesPresentInInt() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28030,7 +20381,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Long { @Test public void testAllFilesPresentInLong() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28066,7 +20417,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Int { @Test public void testAllFilesPresentInInt() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/int"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/int"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28101,7 +20452,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Long { @Test public void testAllFilesPresentInLong() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/long"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/long"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28138,97 +20489,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultifileClasses { @Test public void testAllFilesPresentInMultifileClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callMultifileClassMemberFromOtherPackage.kt") - public void testCallMultifileClassMemberFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/callMultifileClassMemberFromOtherPackage.kt"); - } - - @Test - @TestMetadata("callsToMultifileClassFromOtherPackage.kt") - public void testCallsToMultifileClassFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/callsToMultifileClassFromOtherPackage.kt"); - } - - @Test - @TestMetadata("constPropertyReferenceFromMultifileClass.kt") - public void testConstPropertyReferenceFromMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/constPropertyReferenceFromMultifileClass.kt"); - } - - @Test - @TestMetadata("genericProperty.kt") - public void testGenericProperty() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/genericProperty.kt"); - } - - @Test - @TestMetadata("inlineMultifileClassMemberFromOtherPackage.kt") - public void testInlineMultifileClassMemberFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/inlineMultifileClassMemberFromOtherPackage.kt"); - } - - @Test - @TestMetadata("kt16077.kt") - public void testKt16077() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/kt16077.kt"); - } - - @Test - @TestMetadata("metadataFlag.kt") - public void testMetadataFlag() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/metadataFlag.kt"); - } - - @Test - @TestMetadata("multifileClassPartsInitialization.kt") - public void testMultifileClassPartsInitialization() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/multifileClassPartsInitialization.kt"); - } - - @Test - @TestMetadata("multifileClassWith2Files.kt") - public void testMultifileClassWith2Files() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/multifileClassWith2Files.kt"); - } - - @Test - @TestMetadata("multifileClassWithCrossCall.kt") - public void testMultifileClassWithCrossCall() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/multifileClassWithCrossCall.kt"); - } - - @Test - @TestMetadata("multifileClassWithPrivate.kt") - public void testMultifileClassWithPrivate() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/multifileClassWithPrivate.kt"); - } - - @Test - @TestMetadata("namesInMetadataAreSorted.kt") - public void testNamesInMetadataAreSorted() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/namesInMetadataAreSorted.kt"); - } - - @Test - @TestMetadata("privateConstVal.kt") - public void testPrivateConstVal() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/privateConstVal.kt"); - } - - @Test - @TestMetadata("samePartNameDifferentFacades.kt") - public void testSamePartNameDifferentFacades() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/samePartNameDifferentFacades.kt"); - } - - @Test - @TestMetadata("sealedClassHierarchy.kt") - public void testSealedClassHierarchy() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/sealedClassHierarchy.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -28238,73 +20499,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Optimized { @Test public void testAllFilesPresentInOptimized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callInInlineLambda.kt") - public void testCallInInlineLambda() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callInInlineLambda.kt"); - } - - @Test - @TestMetadata("callableRefToConstVal.kt") - public void testCallableRefToConstVal() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToConstVal.kt"); - } - - @Test - @TestMetadata("callableRefToFun.kt") - public void testCallableRefToFun() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt"); - } - - @Test - @TestMetadata("callableRefToInternalConstValInline.kt") - public void testCallableRefToInternalConstValInline() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt"); - } - - @Test - @TestMetadata("callableRefToPrivateConstVal.kt") - public void testCallableRefToPrivateConstVal() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateConstVal.kt"); - } - - @Test - @TestMetadata("callableReferencesToSameFunctionsFromDifferentPackages.kt") - public void testCallableReferencesToSameFunctionsFromDifferentPackages() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSameFunctionsFromDifferentPackages.kt"); - } - - @Test - @TestMetadata("callableReferencesToSamePropertiesFromDifferentPackages.kt") - public void testCallableReferencesToSamePropertiesFromDifferentPackages() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSamePropertiesFromDifferentPackages.kt"); - } - - @Test - @TestMetadata("calls.kt") - public void testCalls() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/calls.kt"); - } - - @Test - @TestMetadata("internalFunction.kt") - public void testInternalFunction() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt"); - } - - @Test - @TestMetadata("namesInMetadataAreSorted.kt") - public void testNamesInMetadataAreSorted() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/namesInMetadataAreSorted.kt"); - } - - @Test - @TestMetadata("overlappingFuns.kt") - public void testOverlappingFuns() throws Exception { - runTest("compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -28316,19 +20511,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Multiplatform { @Test public void testAllFilesPresentInMultiplatform() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationsViaActualTypeAliasFromBinary.kt") - public void testAnnotationsViaActualTypeAliasFromBinary() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/annotationsViaActualTypeAliasFromBinary.kt"); - } - - @Test - @TestMetadata("expectClassInJvmMultifileFacade.kt") - public void testExpectClassInJvmMultifileFacade() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/expectClassInJvmMultifileFacade.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28337,24 +20520,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/multiplatform/expectProperty.kt"); } - @Test - @TestMetadata("noArgActualConstructor.kt") - public void testNoArgActualConstructor() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt"); - } - @Test @TestMetadata("optionalExpectation.kt") public void testOptionalExpectation() throws Exception { runTest("compiler/testData/codegen/box/multiplatform/optionalExpectation.kt"); } - @Test - @TestMetadata("optionalExpectationJvm.kt") - public void testOptionalExpectationJvm() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/optionalExpectationJvm.kt"); - } - @Test @TestMetadata("starImportOfExpectEnumWithActualTypeAlias.kt") public void testStarImportOfExpectEnumWithActualTypeAlias() throws Exception { @@ -28368,13 +20539,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotations.kt") - public void testAnnotations() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/annotations.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28467,12 +20632,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt"); } - @Test - @TestMetadata("jvmOverloads.kt") - public void testJvmOverloads() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/jvmOverloads.kt"); - } - @Test @TestMetadata("kt23239.kt") public void testKt23239() throws Exception { @@ -28523,25 +20682,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Exhaustiveness { @Test public void testAllFilesPresentInExhaustiveness() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/exhaustiveness"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("commonEnum.kt") - public void testCommonEnum() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/exhaustiveness/commonEnum.kt"); - } - - @Test - @TestMetadata("commonSealedClass.kt") - public void testCommonSealedClass() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/exhaustiveness/commonSealedClass.kt"); - } - - @Test - @TestMetadata("commonSealedInterface.kt") - public void testCommonSealedInterface() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/exhaustiveness/commonSealedInterface.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/exhaustiveness"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -28552,13 +20693,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Hmpp { @Test public void testAllFilesPresentInHmpp() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/hmpp"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/box/multiplatform/hmpp/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/hmpp"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -28569,7 +20704,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultiModule { @Test public void testAllFilesPresentInMultiModule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28605,13 +20740,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt6895.kt") - public void testKt6895() throws Exception { - runTest("compiler/testData/codegen/box/nonLocalReturns/kt6895.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28631,18 +20760,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testReturnInsideTwoLambdas() throws Exception { runTest("compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt"); } - - @Test - @TestMetadata("use.kt") - public void testUse() throws Exception { - runTest("compiler/testData/codegen/box/nonLocalReturns/use.kt"); - } - - @Test - @TestMetadata("useWithException.kt") - public void testUseWithException() throws Exception { - runTest("compiler/testData/codegen/box/nonLocalReturns/useWithException.kt"); - } } @Nested @@ -28652,55 +20769,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NotNullAssertions { @Test public void testAllFilesPresentInNotNullAssertions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callAssertions.kt") - public void testCallAssertions() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/callAssertions.kt"); - } - - @Test - @TestMetadata("definitelyNotNullTypes.kt") - public void testDefinitelyNotNullTypes() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/definitelyNotNullTypes.kt"); - } - - @Test - @TestMetadata("delegation.kt") - public void testDelegation() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/delegation.kt"); - } - - @Test - @TestMetadata("doGenerateParamAssertions.kt") - public void testDoGenerateParamAssertions() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/doGenerateParamAssertions.kt"); - } - - @Test - @TestMetadata("inFunctionWithExpressionBodyWithJavaGeneric.kt") - public void testInFunctionWithExpressionBodyWithJavaGeneric() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/inFunctionWithExpressionBodyWithJavaGeneric.kt"); - } - - @Test - @TestMetadata("messageLength.kt") - public void testMessageLength() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/messageLength.kt"); - } - - @Test - @TestMetadata("noCallAssertions.kt") - public void testNoCallAssertions() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/noCallAssertions.kt"); - } - - @Test - @TestMetadata("rightElvisOperand.kt") - public void testRightElvisOperand() throws Exception { - runTest("compiler/testData/codegen/box/notNullAssertions/rightElvisOperand.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -28711,7 +20780,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NothingValue { @Test public void testAllFilesPresentInNothingValue() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nothingValue"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nothingValue"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28734,19 +20803,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NullCheckOptimization { @Test public void testAllFilesPresentInNullCheckOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nullCheckOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("exclExclThrowsKnpe_1_3.kt") - public void testExclExclThrowsKnpe_1_3() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsKnpe_1_3.kt"); - } - - @Test - @TestMetadata("exclExclThrowsNpe.kt") - public void testExclExclThrowsNpe() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/exclExclThrowsNpe.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nullCheckOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28755,30 +20812,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/nullCheckOptimization/isNullable.kt"); } - @Test - @TestMetadata("javaNullCheckThrowsIse_1_3.kt") - public void testJavaNullCheckThrowsIse_1_3() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/javaNullCheckThrowsIse_1_3.kt"); - } - - @Test - @TestMetadata("javaNullCheckThrowsNpe.kt") - public void testJavaNullCheckThrowsNpe() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/javaNullCheckThrowsNpe.kt"); - } - @Test @TestMetadata("kt22410.kt") public void testKt22410() throws Exception { runTest("compiler/testData/codegen/box/nullCheckOptimization/kt22410.kt"); } - @Test - @TestMetadata("kt49136.kt") - public void testKt49136() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/kt49136.kt"); - } - @Test @TestMetadata("kt49136a.kt") public void testKt49136a() throws Exception { @@ -28791,18 +20830,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/nullCheckOptimization/kt7774.kt"); } - @Test - @TestMetadata("parameterNullCheckThrowsIae_1_3.kt") - public void testParameterNullCheckThrowsIae_1_3() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/parameterNullCheckThrowsIae_1_3.kt"); - } - - @Test - @TestMetadata("parameterNullCheckThrowsNpe.kt") - public void testParameterNullCheckThrowsNpe() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/parameterNullCheckThrowsNpe.kt"); - } - @Test @TestMetadata("primitiveCheckWithSideEffect.kt") public void testPrimitiveCheckWithSideEffect() throws Exception { @@ -28814,12 +20841,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testTrivialInstanceOf() throws Exception { runTest("compiler/testData/codegen/box/nullCheckOptimization/trivialInstanceOf.kt"); } - - @Test - @TestMetadata("varModifiedAfterCheck.kt") - public void testVarModifiedAfterCheck() throws Exception { - runTest("compiler/testData/codegen/box/nullCheckOptimization/varModifiedAfterCheck.kt"); - } } @Nested @@ -28829,7 +20850,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ObjectIntrinsics { @Test public void testAllFilesPresentInObjectIntrinsics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28846,7 +20867,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Objects { @Test public void testAllFilesPresentInObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -28957,12 +20978,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/objects/kt11117.kt"); } - @Test - @TestMetadata("kt1136.kt") - public void testKt1136() throws Exception { - runTest("compiler/testData/codegen/box/objects/kt1136.kt"); - } - @Test @TestMetadata("kt1186.kt") public void testKt1186() throws Exception { @@ -29059,12 +21074,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/objects/kt4086.kt"); } - @Test - @TestMetadata("kt42758.kt") - public void testKt42758() throws Exception { - runTest("compiler/testData/codegen/box/objects/kt42758.kt"); - } - @Test @TestMetadata("kt45170.kt") public void testKt45170() throws Exception { @@ -29077,12 +21086,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/objects/kt535.kt"); } - @Test - @TestMetadata("kt560.kt") - public void testKt560() throws Exception { - runTest("compiler/testData/codegen/box/objects/kt560.kt"); - } - @Test @TestMetadata("kt694.kt") public void testKt694() throws Exception { @@ -29324,7 +21327,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CompanionObjectAccess { @Test public void testAllFilesPresentInCompanionObjectAccess() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29436,7 +21439,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInMultipleCompanionsWithAccessors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29513,7 +21516,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PrimitiveCompanion { @Test public void testAllFilesPresentInPrimitiveCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29568,7 +21571,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class OperatorConventions { @Test public void testAllFilesPresentInOperatorConventions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29722,7 +21725,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CompareTo { @Test public void testAllFilesPresentInCompareTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions/compareTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions/compareTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29800,13 +21803,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Optimizations { @Test public void testAllFilesPresentInOptimizations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("hashCode.kt") - public void testHashCode() throws Exception { - runTest("compiler/testData/codegen/box/optimizations/hashCode.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29814,12 +21811,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testKt20844() throws Exception { runTest("compiler/testData/codegen/box/optimizations/kt20844.kt"); } - - @Test - @TestMetadata("kt46921.kt") - public void testKt46921() throws Exception { - runTest("compiler/testData/codegen/box/optimizations/kt46921.kt"); - } } @Nested @@ -29829,7 +21820,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Package { @Test public void testAllFilesPresentInPackage() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/package"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/package"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29862,12 +21853,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/package/invokespecial.kt"); } - @Test - @TestMetadata("mainInFiles.kt") - public void testMainInFiles() throws Exception { - runTest("compiler/testData/codegen/box/package/mainInFiles.kt"); - } - @Test @TestMetadata("nullablePrimitiveNoFieldInitializer.kt") public void testNullablePrimitiveNoFieldInitializer() throws Exception { @@ -29912,67 +21897,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ParametersMetadata { @Test public void testAllFilesPresentInParametersMetadata() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/parametersMetadata"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultImpls.kt") - public void testDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt"); - } - - @Test - @TestMetadata("delegation.kt") - public void testDelegation() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/delegation.kt"); - } - - @Test - @TestMetadata("enum.kt") - public void testEnum() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/enum.kt"); - } - - @Test - @TestMetadata("extensionFunction.kt") - public void testExtensionFunction() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt"); - } - - @Test - @TestMetadata("function.kt") - public void testFunction() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/function.kt"); - } - - @Test - @TestMetadata("inlineClassMethodParameterModifiers.kt") - public void testInlineClassMethodParameterModifiers() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.kt"); - } - - @Test - @TestMetadata("inlineClassMethodParameterNames.kt") - public void testInlineClassMethodParameterNames() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterNames.kt"); - } - - @Test - @TestMetadata("innerClass.kt") - public void testInnerClass() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/innerClass.kt"); - } - - @Test - @TestMetadata("superParams.kt") - public void testSuperParams() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/superParams.kt"); - } - - @Test - @TestMetadata("suspendFunction.kt") - public void testSuspendFunction() throws Exception { - runTest("compiler/testData/codegen/box/parametersMetadata/suspendFunction.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/parametersMetadata"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -29983,13 +21908,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PlatformTypes { @Test public void testAllFilesPresentInPlatformTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/platformTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("genericUnit.kt") - public void testGenericUnit() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/genericUnit.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/platformTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -29998,60 +21917,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/platformTypes/inferenceFlexibleTToNullable.kt"); } - @Test - @TestMetadata("kt14989.kt") - public void testKt14989() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/kt14989.kt"); - } - - @Test - @TestMetadata("kt47785.kt") - public void testKt47785() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/kt47785.kt"); - } - - @Test - @TestMetadata("kt49209.kt") - public void testKt49209() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/kt49209.kt"); - } - - @Test - @TestMetadata("rawTypeWithNestedClass.kt") - public void testRawTypeWithNestedClass() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/rawTypeWithNestedClass.kt"); - } - - @Test - @TestMetadata("specializedMapFull.kt") - public void testSpecializedMapFull() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/specializedMapFull.kt"); - } - - @Test - @TestMetadata("specializedMapPut.kt") - public void testSpecializedMapPut() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/specializedMapPut.kt"); - } - - @Test - @TestMetadata("stopComputingOnInterdependentTypeParameters.kt") - public void testStopComputingOnInterdependentTypeParameters() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/stopComputingOnInterdependentTypeParameters.kt"); - } - - @Test - @TestMetadata("unsafeNullCheck.kt") - public void testUnsafeNullCheck() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/unsafeNullCheck.kt"); - } - - @Test - @TestMetadata("unsafeNullCheckWithPrimitive.kt") - public void testUnsafeNullCheckWithPrimitive() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/unsafeNullCheckWithPrimitive.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/platformTypes/primitives") @TestDataPath("$PROJECT_ROOT") @@ -30059,7 +21924,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Primitives { @Test public void testAllFilesPresentInPrimitives() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/platformTypes/primitives"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/platformTypes/primitives"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30092,24 +21957,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt"); } - @Test - @TestMetadata("equalsNull.kt") - public void testEqualsNull() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull.kt"); - } - @Test @TestMetadata("hashCode.kt") public void testHashCode() throws Exception { runTest("compiler/testData/codegen/box/platformTypes/primitives/hashCode.kt"); } - @Test - @TestMetadata("identityEquals.kt") - public void testIdentityEquals() throws Exception { - runTest("compiler/testData/codegen/box/platformTypes/primitives/identityEquals.kt"); - } - @Test @TestMetadata("inc.kt") public void testInc() throws Exception { @@ -30197,55 +22050,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PolymorphicSignature { @Test public void testAllFilesPresentInPolymorphicSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/polymorphicSignature"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousSubclass.kt") - public void testAnonymousSubclass() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/anonymousSubclass.kt"); - } - - @Test - @TestMetadata("invoke.kt") - public void testInvoke() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/invoke.kt"); - } - - @Test - @TestMetadata("invokeExact.kt") - public void testInvokeExact() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/invokeExact.kt"); - } - - @Test - @TestMetadata("invokeExactWithInlineClass.kt") - public void testInvokeExactWithInlineClass() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/invokeExactWithInlineClass.kt"); - } - - @Test - @TestMetadata("nullArgument.kt") - public void testNullArgument() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/nullArgument.kt"); - } - - @Test - @TestMetadata("varargOfObjects_after.kt") - public void testVarargOfObjects_after() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_after.kt"); - } - - @Test - @TestMetadata("varargOfObjects_before.kt") - public void testVarargOfObjects_before() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/varargOfObjects_before.kt"); - } - - @Test - @TestMetadata("voidReturnType.kt") - public void testVoidReturnType() throws Exception { - runTest("compiler/testData/codegen/box/polymorphicSignature/voidReturnType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/polymorphicSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -30256,13 +22061,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PrimitiveTypes { @Test public void testAllFilesPresentInPrimitiveTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("comparisonWithNaN.kt") - public void testComparisonWithNaN() throws Exception { - runTest("compiler/testData/codegen/box/primitiveTypes/comparisonWithNaN.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30277,12 +22076,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/primitiveTypes/conversions.kt"); } - @Test - @TestMetadata("crossTypeEquals.kt") - public void testCrossTypeEquals() throws Exception { - runTest("compiler/testData/codegen/box/primitiveTypes/crossTypeEquals.kt"); - } - @Test @TestMetadata("ea35963.kt") public void testEa35963() throws Exception { @@ -30391,12 +22184,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/primitiveTypes/kt242.kt"); } - @Test - @TestMetadata("kt243.kt") - public void testKt243() throws Exception { - runTest("compiler/testData/codegen/box/primitiveTypes/kt243.kt"); - } - @Test @TestMetadata("kt248.kt") public void testKt248() throws Exception { @@ -30487,12 +22274,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/primitiveTypes/kt46864_long.kt"); } - @Test - @TestMetadata("kt48659_identityEqualsWithCastToAny.kt") - public void testKt48659_identityEqualsWithCastToAny() throws Exception { - runTest("compiler/testData/codegen/box/primitiveTypes/kt48659_identityEqualsWithCastToAny.kt"); - } - @Test @TestMetadata("kt518.kt") public void testKt518() throws Exception { @@ -30601,12 +22382,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt"); } - @Test - @TestMetadata("number.kt") - public void testNumber() throws Exception { - runTest("compiler/testData/codegen/box/primitiveTypes/number.kt"); - } - @Test @TestMetadata("numberEqualsHashCodeToString.kt") public void testNumberEqualsHashCodeToString() throws Exception { @@ -30644,7 +22419,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EqualityWithObject { @Test public void testAllFilesPresentInEqualityWithObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30708,7 +22483,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Generated { @Test public void testAllFilesPresentInGenerated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30829,7 +22604,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Private { @Test public void testAllFilesPresentInPrivate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/private"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/private"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30852,7 +22627,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PrivateConstructors { @Test public void testAllFilesPresentInPrivateConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/privateConstructors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/privateConstructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -30897,12 +22672,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/privateConstructors/secondary.kt"); } - @Test - @TestMetadata("synthetic.kt") - public void testSynthetic() throws Exception { - runTest("compiler/testData/codegen/box/privateConstructors/synthetic.kt"); - } - @Test @TestMetadata("withArguments.kt") public void testWithArguments() throws Exception { @@ -30977,7 +22746,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31034,36 +22803,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/classPrivateArtificialFieldInsideNested.kt"); } - @Test - @TestMetadata("collectionSize.kt") - public void testCollectionSize() throws Exception { - runTest("compiler/testData/codegen/box/properties/collectionSize.kt"); - } - - @Test - @TestMetadata("commonPropertiesKJK.kt") - public void testCommonPropertiesKJK() throws Exception { - runTest("compiler/testData/codegen/box/properties/commonPropertiesKJK.kt"); - } - @Test @TestMetadata("companionFieldInsideLambda.kt") public void testCompanionFieldInsideLambda() throws Exception { runTest("compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt"); } - @Test - @TestMetadata("companionObjectAccessor.kt") - public void testCompanionObjectAccessor() throws Exception { - runTest("compiler/testData/codegen/box/properties/companionObjectAccessor.kt"); - } - - @Test - @TestMetadata("companionObjectPropertiesFromJava.kt") - public void testCompanionObjectPropertiesFromJava() throws Exception { - runTest("compiler/testData/codegen/box/properties/companionObjectPropertiesFromJava.kt"); - } - @Test @TestMetadata("companionPrivateField.kt") public void testCompanionPrivateField() throws Exception { @@ -31082,42 +22827,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/complexPropertyInitializer.kt"); } - @Test - @TestMetadata("eagerInitializationGlobal1.kt") - public void testEagerInitializationGlobal1() throws Exception { - runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal1.kt"); - } - - @Test - @TestMetadata("eagerInitializationGlobal2.kt") - public void testEagerInitializationGlobal2() throws Exception { - runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal2.kt"); - } - - @Test - @TestMetadata("eagerInitializationGlobal3.kt") - public void testEagerInitializationGlobal3() throws Exception { - runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal3.kt"); - } - @Test @TestMetadata("field.kt") public void testField() throws Exception { runTest("compiler/testData/codegen/box/properties/field.kt"); } - @Test - @TestMetadata("fieldAccessFromExtensionInTraitImpl.kt") - public void testFieldAccessFromExtensionInTraitImpl() throws Exception { - runTest("compiler/testData/codegen/box/properties/fieldAccessFromExtensionInTraitImpl.kt"); - } - - @Test - @TestMetadata("fieldAccessViaSubclass.kt") - public void testFieldAccessViaSubclass() throws Exception { - runTest("compiler/testData/codegen/box/properties/fieldAccessViaSubclass.kt"); - } - @Test @TestMetadata("fieldInClass.kt") public void testFieldInClass() throws Exception { @@ -31172,24 +22887,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/initOrderMultiModule.kt"); } - @Test - @TestMetadata("javaGenericSynthProperty.kt") - public void testJavaGenericSynthProperty() throws Exception { - runTest("compiler/testData/codegen/box/properties/javaGenericSynthProperty.kt"); - } - - @Test - @TestMetadata("javaPropertyBoxedGetter.kt") - public void testJavaPropertyBoxedGetter() throws Exception { - runTest("compiler/testData/codegen/box/properties/javaPropertyBoxedGetter.kt"); - } - - @Test - @TestMetadata("javaPropertyBoxedSetter.kt") - public void testJavaPropertyBoxedSetter() throws Exception { - runTest("compiler/testData/codegen/box/properties/javaPropertyBoxedSetter.kt"); - } - @Test @TestMetadata("kt10715.kt") public void testKt10715() throws Exception { @@ -31226,12 +22923,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/kt1170.kt"); } - @Test - @TestMetadata("kt12200.kt") - public void testKt12200() throws Exception { - runTest("compiler/testData/codegen/box/properties/kt12200.kt"); - } - @Test @TestMetadata("kt1398.kt") public void testKt1398() throws Exception { @@ -31244,12 +22935,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/kt1417.kt"); } - @Test - @TestMetadata("kt1482_2279.kt") - public void testKt1482_2279() throws Exception { - runTest("compiler/testData/codegen/box/properties/kt1482_2279.kt"); - } - @Test @TestMetadata("kt1714.kt") public void testKt1714() throws Exception { @@ -31424,18 +23109,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/lazyInitializationSplitPerModule.kt"); } - @Test - @TestMetadata("lazyInitializationThroughTopFun.kt") - public void testLazyInitializationThroughTopFun() throws Exception { - runTest("compiler/testData/codegen/box/properties/lazyInitializationThroughTopFun.kt"); - } - - @Test - @TestMetadata("noInitializationLazilyOnNonPropertiesCall.kt") - public void testNoInitializationLazilyOnNonPropertiesCall() throws Exception { - runTest("compiler/testData/codegen/box/properties/noInitializationLazilyOnNonPropertiesCall.kt"); - } - @Test @TestMetadata("primitiveOverrideDefaultAccessor.kt") public void testPrimitiveOverrideDefaultAccessor() throws Exception { @@ -31466,42 +23139,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt"); } - @Test - @TestMetadata("protectedJavaFieldInInline.kt") - public void testProtectedJavaFieldInInline() throws Exception { - runTest("compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt"); - } - - @Test - @TestMetadata("protectedJavaProperty.kt") - public void testProtectedJavaProperty() throws Exception { - runTest("compiler/testData/codegen/box/properties/protectedJavaProperty.kt"); - } - - @Test - @TestMetadata("protectedJavaPropertyInCompanion.kt") - public void testProtectedJavaPropertyInCompanion() throws Exception { - runTest("compiler/testData/codegen/box/properties/protectedJavaPropertyInCompanion.kt"); - } - - @Test - @TestMetadata("referenceToJavaFieldViaBridge.kt") - public void testReferenceToJavaFieldViaBridge() throws Exception { - runTest("compiler/testData/codegen/box/properties/referenceToJavaFieldViaBridge.kt"); - } - @Test @TestMetadata("sideEffectInTopLevelInitializerMultiModule.kt") public void testSideEffectInTopLevelInitializerMultiModule() throws Exception { runTest("compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt"); } - @Test - @TestMetadata("substituteJavaSuperField.kt") - public void testSubstituteJavaSuperField() throws Exception { - runTest("compiler/testData/codegen/box/properties/substituteJavaSuperField.kt"); - } - @Test @TestMetadata("twoAnnotatedExtensionPropertiesWithoutBackingFields.kt") public void testTwoAnnotatedExtensionPropertiesWithoutBackingFields() throws Exception { @@ -31527,7 +23170,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Const { @Test public void testAllFilesPresentInConst() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31536,47 +23179,11 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt"); } - @Test - @TestMetadata("constFlags.kt") - public void testConstFlags() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/constFlags.kt"); - } - - @Test - @TestMetadata("constInObjectWithInit.kt") - public void testConstInObjectWithInit() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/constInObjectWithInit.kt"); - } - @Test @TestMetadata("constPropertyAccessor.kt") public void testConstPropertyAccessor() throws Exception { runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt"); } - - @Test - @TestMetadata("constValInAnnotationDefault.kt") - public void testConstValInAnnotationDefault() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/constValInAnnotationDefault.kt"); - } - - @Test - @TestMetadata("fpNonConstValProperlyInitialized.kt") - public void testFpNonConstValProperlyInitialized() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt"); - } - - @Test - @TestMetadata("interfaceCompanion.kt") - public void testInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/interfaceCompanion.kt"); - } - - @Test - @TestMetadata("nonConstValsAreProperlyInitialized.kt") - public void testNonConstValsAreProperlyInitialized() throws Exception { - runTest("compiler/testData/codegen/box/properties/const/nonConstValsAreProperlyInitialized.kt"); - } } @Nested @@ -31604,7 +23211,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31625,12 +23232,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/kt30548.kt"); } - @Test - @TestMetadata("kt46267.kt") - public void testKt46267() throws Exception { - runTest("compiler/testData/codegen/box/properties/lateinit/kt46267.kt"); - } - @Test @TestMetadata("localClass.kt") public void testLocalClass() throws Exception { @@ -31685,12 +23286,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); } - @Test - @TestMetadata("visibility.kt") - public void testVisibility() throws Exception { - runTest("compiler/testData/codegen/box/properties/lateinit/visibility.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize") @TestDataPath("$PROJECT_ROOT") @@ -31698,7 +23293,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class IsInitializedAndDeinitialize { @Test public void testAllFilesPresentInIsInitializedAndDeinitialize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31725,12 +23320,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/isInitializedMultiFile.kt"); } - @Test - @TestMetadata("jvmStatic.kt") - public void testJvmStatic() throws Exception { - runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/jvmStatic.kt"); - } - @Test @TestMetadata("nonInlineLambda.kt") public void testNonInlineLambda() throws Exception { @@ -31749,12 +23338,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/sideEffects.kt"); } - @Test - @TestMetadata("simpleIsInitialized.kt") - public void testSimpleIsInitialized() throws Exception { - runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/simpleIsInitialized.kt"); - } - @Test @TestMetadata("topLevelProperty.kt") public void testTopLevelProperty() throws Exception { @@ -31769,7 +23352,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/local"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/local"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31834,7 +23417,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInTopLevel() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/topLevel"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/topLevel"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31865,13 +23448,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class PublishedApi { @Test public void testAllFilesPresentInPublishedApi() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("noMangling.kt") - public void testNoMangling() throws Exception { - runTest("compiler/testData/codegen/box/publishedApi/noMangling.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31894,7 +23471,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Ranges { @Test public void testAllFilesPresentInRanges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -31987,12 +23564,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt"); } - @Test - @TestMetadata("forInStringWithCustomIterator.kt") - public void testForInStringWithCustomIterator() throws Exception { - runTest("compiler/testData/codegen/box/ranges/forInStringWithCustomIterator.kt"); - } - @Test @TestMetadata("forIntRange.kt") public void testForIntRange() throws Exception { @@ -32054,7 +23625,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Contains { @Test public void testAllFilesPresentInContains() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32297,12 +23868,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/ranges/contains/intInShortRangeWithPossibleOverflow.kt"); } - @Test - @TestMetadata("jvmStaticContainsInObject.kt") - public void testJvmStaticContainsInObject() throws Exception { - runTest("compiler/testData/codegen/box/ranges/contains/jvmStaticContainsInObject.kt"); - } - @Test @TestMetadata("kt20106.kt") public void testKt20106() throws Exception { @@ -32370,7 +23935,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Generated { @Test public void testAllFilesPresentInGenerated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains/generated"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains/generated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32466,7 +24031,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EvaluationOrder { @Test public void testAllFilesPresentInEvaluationOrder() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32530,7 +24095,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Stepped { @Test public void testAllFilesPresentInStepped() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -32540,7 +24105,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInDownTo { @Test public void testAllFilesPresentInForInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32599,7 +24164,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInRangeLiteral { @Test public void testAllFilesPresentInForInRangeLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32658,7 +24223,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInUntil { @Test public void testAllFilesPresentInForInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32719,7 +24284,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Expression { @Test public void testAllFilesPresentInExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32910,7 +24475,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInDownTo { @Test public void testAllFilesPresentInForInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -32954,12 +24519,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testForNullableIntInDownTo() throws Exception { runTest("compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt"); } - - @Test - @TestMetadata("kt49411.kt") - public void testKt49411() throws Exception { - runTest("compiler/testData/codegen/box/ranges/forInDownTo/kt49411.kt"); - } } @Nested @@ -32969,7 +24528,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInIndices { @Test public void testAllFilesPresentInForInIndices() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInIndices"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInIndices"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33124,7 +24683,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInProgressionWithIndex { @Test public void testAllFilesPresentInForInProgressionWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInProgressionWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInProgressionWithIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33225,7 +24784,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInReversed { @Test public void testAllFilesPresentInForInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInReversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInReversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33344,7 +24903,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForInUntil { @Test public void testAllFilesPresentInForInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInUntil"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33445,7 +25004,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ForWithPossibleOverflow { @Test public void testAllFilesPresentInForWithPossibleOverflow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forWithPossibleOverflow"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forWithPossibleOverflow"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33534,121 +25093,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JavaInterop { @Test public void testAllFilesPresentInJavaInterop() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaArrayOfInheritedNotNull.kt") - public void testJavaArrayOfInheritedNotNull() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfInheritedNotNull.kt"); - } - - @Test - @TestMetadata("javaArrayOfInheritedNotNullFailFast.kt") - public void testJavaArrayOfInheritedNotNullFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfInheritedNotNullFailFast.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullable.kt") - public void testJavaArrayOfMaybeNullable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullable.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullableWithNotNullLoopVariable.kt") - public void testJavaArrayOfMaybeNullableWithNotNullLoopVariable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullableWithNotNullLoopVariable.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullableWithNotNullLoopVariableFailFast.kt") - public void testJavaArrayOfMaybeNullableWithNotNullLoopVariableFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaArrayOfMaybeNullableWithNotNullLoopVariableFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNotNull.kt") - public void testJavaCollectionOfExplicitNotNull() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNull.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNotNullFailFast.kt") - public void testJavaCollectionOfExplicitNotNullFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNullFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNullable.kt") - public void testJavaCollectionOfExplicitNullable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNullable.kt"); - } - - @Test - @TestMetadata("javaCollectionOfInheritedNotNull.kt") - public void testJavaCollectionOfInheritedNotNull() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfInheritedNotNull.kt"); - } - - @Test - @TestMetadata("javaCollectionOfInheritedNotNullFailFast.kt") - public void testJavaCollectionOfInheritedNotNullFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfInheritedNotNullFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullable.kt") - public void testJavaCollectionOfMaybeNullable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullable.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullableWithNotNullLoopVariable.kt") - public void testJavaCollectionOfMaybeNullableWithNotNullLoopVariable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullableWithNotNullLoopVariable.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullableWithNotNullLoopVariableFailFast.kt") - public void testJavaCollectionOfMaybeNullableWithNotNullLoopVariableFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfMaybeNullableWithNotNullLoopVariableFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfNotNullFromStdlib.kt") - public void testJavaCollectionOfNotNullFromStdlib() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfNotNullFromStdlib.kt"); - } - - @Test - @TestMetadata("javaCollectionOfNotNullFromStdlibToTypedArray.kt") - public void testJavaCollectionOfNotNullFromStdlibToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfNotNullFromStdlibToTypedArray.kt"); - } - - @Test - @TestMetadata("javaCollectionOfNotNullToTypedArray.kt") - public void testJavaCollectionOfNotNullToTypedArray() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfNotNullToTypedArray.kt"); - } - - @Test - @TestMetadata("javaCollectionOfNotNullToTypedArrayFailFast.kt") - public void testJavaCollectionOfNotNullToTypedArrayFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfNotNullToTypedArrayFailFast.kt"); - } - - @Test - @TestMetadata("javaIteratorOfNotNull.kt") - public void testJavaIteratorOfNotNull() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaIteratorOfNotNull.kt"); - } - - @Test - @TestMetadata("javaIteratorOfNotNullFailFast.kt") - public void testJavaIteratorOfNotNullFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/javaIteratorOfNotNullFailFast.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -33658,85 +25103,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class WithIndex { @Test public void testAllFilesPresentInWithIndex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop/withIndex"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaArrayOfInheritedNotNullWithIndex.kt") - public void testJavaArrayOfInheritedNotNullWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfInheritedNotNullWithIndex.kt"); - } - - @Test - @TestMetadata("javaArrayOfInheritedNotNullWithIndexFailFast.kt") - public void testJavaArrayOfInheritedNotNullWithIndexFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfInheritedNotNullWithIndexFailFast.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullableWithIndex.kt") - public void testJavaArrayOfMaybeNullableWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndex.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariable.kt") - public void testJavaArrayOfMaybeNullableWithIndexWithNotNullLoopVariable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariable.kt"); - } - - @Test - @TestMetadata("javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt") - public void testJavaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaArrayOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNotNullWithIndex.kt") - public void testJavaCollectionOfExplicitNotNullWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfExplicitNotNullWithIndex.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNotNullWithIndexFailFast.kt") - public void testJavaCollectionOfExplicitNotNullWithIndexFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfExplicitNotNullWithIndexFailFast.kt"); - } - - @Test - @TestMetadata("javaCollectionOfExplicitNullableWithIndex.kt") - public void testJavaCollectionOfExplicitNullableWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfExplicitNullableWithIndex.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullableWithIndex.kt") - public void testJavaCollectionOfMaybeNullableWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndex.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariable.kt") - public void testJavaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariable() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariable.kt"); - } - - @Test - @TestMetadata("javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt") - public void testJavaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaCollectionOfMaybeNullableWithIndexWithNotNullLoopVariableFailFast.kt"); - } - - @Test - @TestMetadata("javaIteratorOfNotNullWithIndex.kt") - public void testJavaIteratorOfNotNullWithIndex() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaIteratorOfNotNullWithIndex.kt"); - } - - @Test - @TestMetadata("javaIteratorOfNotNullWithIndexFailFast.kt") - public void testJavaIteratorOfNotNullWithIndexFailFast() throws Exception { - runTest("compiler/testData/codegen/box/ranges/javaInterop/withIndex/javaIteratorOfNotNullWithIndexFailFast.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop/withIndex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -33748,7 +25115,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Literal { @Test public void testAllFilesPresentInLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33939,7 +25306,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NullableLoopParameter { @Test public void testAllFilesPresentInNullableLoopParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -33968,7 +25335,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Stepped { @Test public void testAllFilesPresentInStepped() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -33978,7 +25345,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Expression { @Test public void testAllFilesPresentInExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -33988,7 +25355,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DownTo { @Test public void testAllFilesPresentInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34094,7 +25461,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34153,7 +25520,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34201,7 +25568,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RangeTo { @Test public void testAllFilesPresentInRangeTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34307,7 +25674,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34366,7 +25733,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34414,7 +25781,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34526,7 +25893,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34585,7 +25952,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34634,7 +26001,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Literal { @Test public void testAllFilesPresentInLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -34644,7 +26011,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DownTo { @Test public void testAllFilesPresentInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34750,7 +26117,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34809,7 +26176,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34857,7 +26224,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RangeTo { @Test public void testAllFilesPresentInRangeTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -34963,7 +26330,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35022,7 +26389,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35070,7 +26437,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35182,7 +26549,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35241,7 +26608,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35290,7 +26657,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Unsigned { @Test public void testAllFilesPresentInUnsigned() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -35300,7 +26667,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Expression { @Test public void testAllFilesPresentInExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -35310,7 +26677,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DownTo { @Test public void testAllFilesPresentInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35416,7 +26783,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35475,7 +26842,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35523,7 +26890,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RangeTo { @Test public void testAllFilesPresentInRangeTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35629,7 +26996,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35688,7 +27055,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35736,7 +27103,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35848,7 +27215,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35907,7 +27274,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -35956,7 +27323,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Literal { @Test public void testAllFilesPresentInLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -35966,7 +27333,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DownTo { @Test public void testAllFilesPresentInDownTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36072,7 +27439,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36131,7 +27498,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36179,7 +27546,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RangeTo { @Test public void testAllFilesPresentInRangeTo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36285,7 +27652,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36344,7 +27711,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36392,7 +27759,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36504,7 +27871,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NestedStep { @Test public void testAllFilesPresentInNestedStep() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36563,7 +27930,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reversed { @Test public void testAllFilesPresentInReversed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36614,7 +27981,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Unsigned { @Test public void testAllFilesPresentInUnsigned() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36654,7 +28021,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Expression { @Test public void testAllFilesPresentInExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/expression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/expression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -36845,7 +28212,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Literal { @Test public void testAllFilesPresentInLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/literal"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/literal"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37036,7 +28403,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NullableLoopParameter { @Test public void testAllFilesPresentInNullableLoopParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37067,19 +28434,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class RecursiveRawTypes { @Test public void testAllFilesPresentInRecursiveRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/recursiveRawTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt16528.kt") - public void testKt16528() throws Exception { - runTest("compiler/testData/codegen/box/recursiveRawTypes/kt16528.kt"); - } - - @Test - @TestMetadata("kt16639.kt") - public void testKt16639() throws Exception { - runTest("compiler/testData/codegen/box/recursiveRawTypes/kt16639.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/recursiveRawTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -37090,7 +28445,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reflection { @Test public void testAllFilesPresentInReflection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -37100,7 +28455,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37109,42 +28464,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt"); } - @Test - @TestMetadata("annotationsOnJavaMembers.kt") - public void testAnnotationsOnJavaMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/annotationsOnJavaMembers.kt"); - } - - @Test - @TestMetadata("classLiteralWithVoidDefault.kt") - public void testClassLiteralWithVoidDefault() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/classLiteralWithVoidDefault.kt"); - } - @Test @TestMetadata("findAnnotation.kt") public void testFindAnnotation() throws Exception { runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt"); } - @Test - @TestMetadata("genericExtensionProperty.kt") - public void testGenericExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/genericExtensionProperty.kt"); - } - - @Test - @TestMetadata("hasAnnotation.kt") - public void testHasAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/hasAnnotation.kt"); - } - - @Test - @TestMetadata("localClassLiteral.kt") - public void testLocalClassLiteral() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/localClassLiteral.kt"); - } - @Test @TestMetadata("localClassParameterAnnotation.kt") public void testLocalClassParameterAnnotation() throws Exception { @@ -37175,12 +28500,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt"); } - @Test - @TestMetadata("retentions.kt") - public void testRetentions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/retentions.kt"); - } - @Test @TestMetadata("setparam.kt") public void testSetparam() throws Exception { @@ -37193,12 +28512,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt"); } - @Test - @TestMetadata("simpleConstructorAnnotation.kt") - public void testSimpleConstructorAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/simpleConstructorAnnotation.kt"); - } - @Test @TestMetadata("simpleFunAnnotation.kt") public void testSimpleFunAnnotation() throws Exception { @@ -37224,31 +28537,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class OnTypes { @Test public void testAllFilesPresentInOnTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/onTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("arrayKClass.kt") - public void testArrayKClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt"); - } - - @Test - @TestMetadata("classLiteralWithExpectedType.kt") - public void testClassLiteralWithExpectedType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt"); - } - - @Test - @TestMetadata("differentArgumentTypes.kt") - public void testDifferentArgumentTypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/differentArgumentTypes.kt"); - } - - @Test - @TestMetadata("differentPositions.kt") - public void testDifferentPositions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/differentPositions.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/onTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -37259,37 +28548,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaAnnotation.kt") - public void testJavaAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/repeatable/javaAnnotation.kt"); - } - - @Test - @TestMetadata("jvmRepeatableKotlinAnnotation.kt") - public void testJvmRepeatableKotlinAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/repeatable/jvmRepeatableKotlinAnnotation.kt"); - } - - @Test - @TestMetadata("kotlinAnnotation.kt") - public void testKotlinAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/repeatable/kotlinAnnotation.kt"); - } - - @Test - @TestMetadata("kt49335.kt") - public void testKt49335() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/repeatable/kt49335.kt"); - } - - @Test - @TestMetadata("nonRepeatedAnnotationWithItsContainer.kt") - public void testNonRepeatedAnnotationWithItsContainer() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -37301,13 +28560,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Builtins { @Test public void testAllFilesPresentInBuiltins() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("collections.kt") - public void testCollections() throws Exception { - runTest("compiler/testData/codegen/box/reflection/builtins/collections.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37330,7 +28583,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Call { @Test public void testAllFilesPresentInCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37339,48 +28592,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt"); } - @Test - @TestMetadata("callInstanceJavaMethod.kt") - public void testCallInstanceJavaMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/callInstanceJavaMethod.kt"); - } - - @Test - @TestMetadata("callPrivateJavaMethod.kt") - public void testCallPrivateJavaMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/callPrivateJavaMethod.kt"); - } - - @Test - @TestMetadata("callStaticJavaMethod.kt") - public void testCallStaticJavaMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/callStaticJavaMethod.kt"); - } - - @Test - @TestMetadata("cannotCallEnumConstructor.kt") - public void testCannotCallEnumConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/cannotCallEnumConstructor.kt"); - } - - @Test - @TestMetadata("disallowNullValueForNotNullField.kt") - public void testDisallowNullValueForNotNullField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt"); - } - @Test @TestMetadata("equalsHashCodeToString.kt") public void testEqualsHashCodeToString() throws Exception { runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt"); } - @Test - @TestMetadata("exceptionHappened.kt") - public void testExceptionHappened() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/exceptionHappened.kt"); - } - @Test @TestMetadata("fakeOverride.kt") public void testFakeOverride() throws Exception { @@ -37393,30 +28610,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt"); } - @Test - @TestMetadata("incorrectNumberOfArguments.kt") - public void testIncorrectNumberOfArguments() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt"); - } - @Test @TestMetadata("innerClassConstructor.kt") public void testInnerClassConstructor() throws Exception { runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt"); } - @Test - @TestMetadata("jvmStatic.kt") - public void testJvmStatic() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/jvmStatic.kt"); - } - - @Test - @TestMetadata("jvmStaticInObjectIncorrectReceiver.kt") - public void testJvmStaticInObjectIncorrectReceiver() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/jvmStaticInObjectIncorrectReceiver.kt"); - } - @Test @TestMetadata("localClassMember.kt") public void testLocalClassMember() throws Exception { @@ -37429,12 +28628,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt"); } - @Test - @TestMetadata("privateProperty.kt") - public void testPrivateProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/privateProperty.kt"); - } - @Test @TestMetadata("propertyAccessors.kt") public void testPropertyAccessors() throws Exception { @@ -37447,18 +28640,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt"); } - @Test - @TestMetadata("protectedMembers.kt") - public void testProtectedMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/protectedMembers.kt"); - } - - @Test - @TestMetadata("returnUnit.kt") - public void testReturnUnit() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/returnUnit.kt"); - } - @Test @TestMetadata("simpleConstructor.kt") public void testSimpleConstructor() throws Exception { @@ -37484,7 +28665,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37511,36 +28692,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt"); } - @Test - @TestMetadata("javaInstanceField.kt") - public void testJavaInstanceField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/bound/javaInstanceField.kt"); - } - - @Test - @TestMetadata("javaInstanceMethod.kt") - public void testJavaInstanceMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/bound/javaInstanceMethod.kt"); - } - - @Test - @TestMetadata("jvmStaticCompanionObjectPropertyAccessors.kt") - public void testJvmStaticCompanionObjectPropertyAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/bound/jvmStaticCompanionObjectPropertyAccessors.kt"); - } - - @Test - @TestMetadata("jvmStaticObjectFunction.kt") - public void testJvmStaticObjectFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectFunction.kt"); - } - - @Test - @TestMetadata("jvmStaticObjectPropertyAccessors.kt") - public void testJvmStaticObjectPropertyAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectPropertyAccessors.kt"); - } - @Test @TestMetadata("memberFunction.kt") public void testMemberFunction() throws Exception { @@ -37573,7 +28724,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37582,12 +28733,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt"); } - @Test - @TestMetadata("fieldAccessors.kt") - public void testFieldAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/fieldAccessors.kt"); - } - @Test @TestMetadata("functionsWithInlineClassParameters.kt") public void testFunctionsWithInlineClassParameters() throws Exception { @@ -37606,18 +28751,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt"); } - @Test - @TestMetadata("jvmStaticFieldInObject.kt") - public void testJvmStaticFieldInObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/jvmStaticFieldInObject.kt"); - } - - @Test - @TestMetadata("jvmStaticFunction.kt") - public void testJvmStaticFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/jvmStaticFunction.kt"); - } - @Test @TestMetadata("nonOverridingFunOfInlineClass.kt") public void testNonOverridingFunOfInlineClass() throws Exception { @@ -37653,12 +28786,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testProperties() throws Exception { runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt"); } - - @Test - @TestMetadata("suspendFunction.kt") - public void testSuspendFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/suspendFunction.kt"); - } } } @@ -37669,7 +28796,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallBy { @Test public void testAllFilesPresentInCallBy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37684,12 +28811,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt"); } - @Test - @TestMetadata("boundJvmStaticInObject.kt") - public void testBoundJvmStaticInObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/callBy/boundJvmStaticInObject.kt"); - } - @Test @TestMetadata("companionObject.kt") public void testCompanionObject() throws Exception { @@ -37744,18 +28865,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt"); } - @Test - @TestMetadata("jvmStaticInCompanionObject.kt") - public void testJvmStaticInCompanionObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/callBy/jvmStaticInCompanionObject.kt"); - } - - @Test - @TestMetadata("jvmStaticInObject.kt") - public void testJvmStaticInObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/callBy/jvmStaticInObject.kt"); - } - @Test @TestMetadata("manyArgumentsNoneDefaultConstructor.kt") public void testManyArgumentsNoneDefaultConstructor() throws Exception { @@ -37804,12 +28913,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt"); } - @Test - @TestMetadata("privateMemberFunction.kt") - public void testPrivateMemberFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt"); - } - @Test @TestMetadata("simpleConstructor.kt") public void testSimpleConstructor() throws Exception { @@ -37836,7 +28939,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ClassLiterals { @Test public void testAllFilesPresentInClassLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37845,54 +28948,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt"); } - @Test - @TestMetadata("arrays.kt") - public void testArrays() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/arrays.kt"); - } - - @Test - @TestMetadata("bareArray.kt") - public void testBareArray() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/bareArray.kt"); - } - - @Test - @TestMetadata("builtinClassLiterals.kt") - public void testBuiltinClassLiterals() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt"); - } - - @Test - @TestMetadata("genericArrays.kt") - public void testGenericArrays() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/genericArrays.kt"); - } - @Test @TestMetadata("genericClass.kt") public void testGenericClass() throws Exception { runTest("compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt"); } - @Test - @TestMetadata("javaClassLiteral.kt") - public void testJavaClassLiteral() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/javaClassLiteral.kt"); - } - @Test @TestMetadata("lambdaClass.kt") public void testLambdaClass() throws Exception { runTest("compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt"); } - @Test - @TestMetadata("reifiedTypeClassLiteral.kt") - public void testReifiedTypeClassLiteral() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classLiterals/reifiedTypeClassLiteral.kt"); - } - @Test @TestMetadata("simpleClassLiteral.kt") public void testSimpleClassLiteral() throws Exception { @@ -37907,13 +28974,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Classes { @Test public void testAllFilesPresentInClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("classSimpleName.kt") - public void testClassSimpleName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/classSimpleName.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -37928,84 +28989,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt"); } - @Test - @TestMetadata("declaredMembers.kt") - public void testDeclaredMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/declaredMembers.kt"); - } - - @Test - @TestMetadata("javaVoid.kt") - public void testJavaVoid() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/javaVoid.kt"); - } - - @Test - @TestMetadata("jvmName.kt") - public void testJvmName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/jvmName.kt"); - } - - @Test - @TestMetadata("jvmNameOfStandardClasses.kt") - public void testJvmNameOfStandardClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/jvmNameOfStandardClasses.kt"); - } - @Test @TestMetadata("localClassSimpleName.kt") public void testLocalClassSimpleName() throws Exception { runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt"); } - @Test - @TestMetadata("nestedClasses.kt") - public void testNestedClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/nestedClasses.kt"); - } - - @Test - @TestMetadata("nestedClassesInScript.kt") - public void testNestedClassesInScript() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/nestedClassesInScript.kt"); - } - - @Test - @TestMetadata("nestedClassesJava.kt") - public void testNestedClassesJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/nestedClassesJava.kt"); - } - @Test @TestMetadata("objectInstance.kt") public void testObjectInstance() throws Exception { runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt"); } - @Test - @TestMetadata("primitiveKClassEquality.kt") - public void testPrimitiveKClassEquality() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/primitiveKClassEquality.kt"); - } - - @Test - @TestMetadata("qualifiedName.kt") - public void testQualifiedName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/qualifiedName.kt"); - } - - @Test - @TestMetadata("qualifiedNameOfStandardClasses.kt") - public void testQualifiedNameOfStandardClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/qualifiedNameOfStandardClasses.kt"); - } - - @Test - @TestMetadata("sealedSubclasses.kt") - public void testSealedSubclasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/classes/sealedSubclasses.kt"); - } - @Test @TestMetadata("starProjectedType.kt") public void testStarProjectedType() throws Exception { @@ -38020,7 +29015,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Constructors { @Test public void testAllFilesPresentInConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -38052,12 +29047,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testPrimaryConstructor() throws Exception { runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt"); } - - @Test - @TestMetadata("simpleGetConstructors.kt") - public void testSimpleGetConstructors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/constructors/simpleGetConstructors.kt"); - } } @Nested @@ -38067,7 +29056,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CreateAnnotation { @Test public void testAllFilesPresentInCreateAnnotation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -38082,42 +29071,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt"); } - @Test - @TestMetadata("callByJava.kt") - public void testCallByJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt"); - } - - @Test - @TestMetadata("callByKotlin.kt") - public void testCallByKotlin() throws Exception { - runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByKotlin.kt"); - } - @Test @TestMetadata("callByWithEmptyVarArg.kt") public void testCallByWithEmptyVarArg() throws Exception { runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt"); } - @Test - @TestMetadata("callJava.kt") - public void testCallJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt"); - } - - @Test - @TestMetadata("callKotlin.kt") - public void testCallKotlin() throws Exception { - runTest("compiler/testData/codegen/box/reflection/createAnnotation/callKotlin.kt"); - } - - @Test - @TestMetadata("createJdkAnnotationInstance.kt") - public void testCreateJdkAnnotationInstance() throws Exception { - runTest("compiler/testData/codegen/box/reflection/createAnnotation/createJdkAnnotationInstance.kt"); - } - @Test @TestMetadata("enumKClassAnnotation.kt") public void testEnumKClassAnnotation() throws Exception { @@ -38156,163 +29115,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Enclosing { @Test public void testAllFilesPresentInEnclosing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousObjectInInlinedLambda.kt") - public void testAnonymousObjectInInlinedLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt"); - } - - @Test - @TestMetadata("classInLambda.kt") - public void testClassInLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt"); - } - - @Test - @TestMetadata("functionExpressionInProperty.kt") - public void testFunctionExpressionInProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt"); - } - - @Test - @TestMetadata("kt11969.kt") - public void testKt11969() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/kt11969.kt"); - } - - @Test - @TestMetadata("kt45907.kt") - public void testKt45907() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/kt45907.kt"); - } - - @Test - @TestMetadata("kt6368.kt") - public void testKt6368() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/kt6368.kt"); - } - - @Test - @TestMetadata("kt6691_lambdaInSamConstructor.kt") - public void testKt6691_lambdaInSamConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt"); - } - - @Test - @TestMetadata("lambdaInClassObject.kt") - public void testLambdaInClassObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt"); - } - - @Test - @TestMetadata("lambdaInConstructor.kt") - public void testLambdaInConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt"); - } - - @Test - @TestMetadata("lambdaInFunction.kt") - public void testLambdaInFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt"); - } - - @Test - @TestMetadata("lambdaInLambda.kt") - public void testLambdaInLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt"); - } - - @Test - @TestMetadata("lambdaInLocalClassConstructor.kt") - public void testLambdaInLocalClassConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt"); - } - - @Test - @TestMetadata("lambdaInLocalClassSuperCall.kt") - public void testLambdaInLocalClassSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt"); - } - - @Test - @TestMetadata("lambdaInLocalFunction.kt") - public void testLambdaInLocalFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt"); - } - - @Test - @TestMetadata("lambdaInMemberFunction.kt") - public void testLambdaInMemberFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt"); - } - - @Test - @TestMetadata("lambdaInMemberFunctionInLocalClass.kt") - public void testLambdaInMemberFunctionInLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt"); - } - - @Test - @TestMetadata("lambdaInMemberFunctionInNestedClass.kt") - public void testLambdaInMemberFunctionInNestedClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt"); - } - - @Test - @TestMetadata("lambdaInObjectDeclaration.kt") - public void testLambdaInObjectDeclaration() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt"); - } - - @Test - @TestMetadata("lambdaInObjectExpression.kt") - public void testLambdaInObjectExpression() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt"); - } - - @Test - @TestMetadata("lambdaInObjectLiteralSuperCall.kt") - public void testLambdaInObjectLiteralSuperCall() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt"); - } - - @Test - @TestMetadata("lambdaInPackage.kt") - public void testLambdaInPackage() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt"); - } - - @Test - @TestMetadata("lambdaInPropertyDelegate.kt") - public void testLambdaInPropertyDelegate() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyDelegate.kt"); - } - - @Test - @TestMetadata("lambdaInPropertyGetter.kt") - public void testLambdaInPropertyGetter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt"); - } - - @Test - @TestMetadata("lambdaInPropertySetter.kt") - public void testLambdaInPropertySetter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt"); - } - - @Test - @TestMetadata("localClassInTopLevelFunction.kt") - public void testLocalClassInTopLevelFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt"); - } - - @Test - @TestMetadata("objectInLambda.kt") - public void testObjectInLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38323,13 +29126,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Functions { @Test public void testAllFilesPresentInFunctions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("declaredVsInheritedFunctions.kt") - public void testDeclaredVsInheritedFunctions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/declaredVsInheritedFunctions.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -38338,60 +29135,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt"); } - @Test - @TestMetadata("functionFromStdlib.kt") - public void testFunctionFromStdlib() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/functionFromStdlib.kt"); - } - - @Test - @TestMetadata("functionReferenceErasedToKFunction.kt") - public void testFunctionReferenceErasedToKFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt"); - } - @Test @TestMetadata("genericOverriddenFunction.kt") public void testGenericOverriddenFunction() throws Exception { runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt"); } - @Test - @TestMetadata("instanceOfFunction.kt") - public void testInstanceOfFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/instanceOfFunction.kt"); - } - - @Test - @TestMetadata("isAccessibleOnAllMembers.kt") - public void testIsAccessibleOnAllMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/isAccessibleOnAllMembers.kt"); - } - - @Test - @TestMetadata("javaClassGetFunctions.kt") - public void testJavaClassGetFunctions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt"); - } - - @Test - @TestMetadata("javaMethodsSmokeTest.kt") - public void testJavaMethodsSmokeTest() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/javaMethodsSmokeTest.kt"); - } - - @Test - @TestMetadata("platformName.kt") - public void testPlatformName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/platformName.kt"); - } - - @Test - @TestMetadata("privateMemberFunction.kt") - public void testPrivateMemberFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt"); - } - @Test @TestMetadata("simpleGetFunctions.kt") public void testSimpleGetFunctions() throws Exception { @@ -38412,109 +29161,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class GenericSignature { @Test public void testAllFilesPresentInGenericSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("covariantOverride.kt") - public void testCovariantOverride() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/covariantOverride.kt"); - } - - @Test - @TestMetadata("defaultImplsGenericSignature.kt") - public void testDefaultImplsGenericSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/defaultImplsGenericSignature.kt"); - } - - @Test - @TestMetadata("delegatedMembers.kt") - public void testDelegatedMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt"); - } - - @Test - @TestMetadata("functionLiteralGenericSignature.kt") - public void testFunctionLiteralGenericSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt"); - } - - @Test - @TestMetadata("genericBackingFieldSignature.kt") - public void testGenericBackingFieldSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/genericBackingFieldSignature.kt"); - } - - @Test - @TestMetadata("genericMethodSignature.kt") - public void testGenericMethodSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/genericMethodSignature.kt"); - } - - @Test - @TestMetadata("kt11121.kt") - public void testKt11121() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/kt11121.kt"); - } - - @Test - @TestMetadata("kt5112.kt") - public void testKt5112() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/kt5112.kt"); - } - - @Test - @TestMetadata("kt6106.kt") - public void testKt6106() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt"); - } - - @Test - @TestMetadata("samWrappedLambdaVsReference.kt") - public void testSamWrappedLambdaVsReference() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt"); - } - - @Test - @TestMetadata("signatureOfDeepGenericInner.kt") - public void testSignatureOfDeepGenericInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt"); - } - - @Test - @TestMetadata("signatureOfDeepInner.kt") - public void testSignatureOfDeepInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt"); - } - - @Test - @TestMetadata("signatureOfDeepInnerLastGeneric.kt") - public void testSignatureOfDeepInnerLastGeneric() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt"); - } - - @Test - @TestMetadata("signatureOfGenericInnerGenericOuter.kt") - public void testSignatureOfGenericInnerGenericOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt"); - } - - @Test - @TestMetadata("signatureOfGenericInnerSimpleOuter.kt") - public void testSignatureOfGenericInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt"); - } - - @Test - @TestMetadata("signatureOfSimpleInnerSimpleOuter.kt") - public void testSignatureOfSimpleInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt"); - } - - @Test - @TestMetadata("suspendFunctionLiteralGenericSignature.kt") - public void testSuspendFunctionLiteralGenericSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/suspendFunctionLiteralGenericSignature.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38525,13 +29172,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class IsInstance { @Test public void testAllFilesPresentInIsInstance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/isInstance"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("isInstanceCastAndSafeCast.kt") - public void testIsInstanceCastAndSafeCast() throws Exception { - runTest("compiler/testData/codegen/box/reflection/isInstance/isInstanceCastAndSafeCast.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/isInstance"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38542,37 +29183,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class KClassInAnnotation { @Test public void testAllFilesPresentInKClassInAnnotation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("array.kt") - public void testArray() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/array.kt"); - } - - @Test - @TestMetadata("arrayInJava.kt") - public void testArrayInJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/arrayInJava.kt"); - } - - @Test - @TestMetadata("basic.kt") - public void testBasic() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/basic.kt"); - } - - @Test - @TestMetadata("basicInJava.kt") - public void testBasicInJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/basicInJava.kt"); - } - - @Test - @TestMetadata("checkcast.kt") - public void testCheckcast() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/checkcast.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -38581,18 +29192,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt"); } - @Test - @TestMetadata("vararg.kt") - public void testVararg() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/vararg.kt"); - } - - @Test - @TestMetadata("varargInJava.kt") - public void testVarargInJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/varargInJava.kt"); - } - @Test @TestMetadata("wrappingForCallableReferences.kt") public void testWrappingForCallableReferences() throws Exception { @@ -38607,61 +29206,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LambdaClasses { @Test public void testAllFilesPresentInLambdaClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("parameterNamesAndNullability.kt") - public void testParameterNamesAndNullability() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/parameterNamesAndNullability.kt"); - } - - @Test - @TestMetadata("reflectOnDefaultWithInlineClassArgument.kt") - public void testReflectOnDefaultWithInlineClassArgument() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnDefaultWithInlineClassArgument.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInArrayConstructor.kt") - public void testReflectOnLambdaInArrayConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInArrayConstructor.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInConstructor.kt") - public void testReflectOnLambdaInConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInConstructor.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInField.kt") - public void testReflectOnLambdaInField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInField.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInStaticField.kt") - public void testReflectOnLambdaInStaticField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInStaticField.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInSuspend.kt") - public void testReflectOnLambdaInSuspend() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInSuspend.kt"); - } - - @Test - @TestMetadata("reflectOnLambdaInSuspendLambda.kt") - public void testReflectOnLambdaInSuspendLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnLambdaInSuspendLambda.kt"); - } - - @Test - @TestMetadata("reflectOnSuspendLambdaInField.kt") - public void testReflectOnSuspendLambdaInField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/lambdaClasses/reflectOnSuspendLambdaInField.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38672,133 +29217,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Mapping { @Test public void testAllFilesPresentInMapping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/constructor.kt"); - } - - @Test - @TestMetadata("constructorWithInlineClassParameters.kt") - public void testConstructorWithInlineClassParameters() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/constructorWithInlineClassParameters.kt"); - } - - @Test - @TestMetadata("extensionProperty.kt") - public void testExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/extensionProperty.kt"); - } - - @Test - @TestMetadata("functions.kt") - public void testFunctions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/functions.kt"); - } - - @Test - @TestMetadata("inlineReifiedFun.kt") - public void testInlineReifiedFun() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/inlineReifiedFun.kt"); - } - - @Test - @TestMetadata("interfaceCompanionPropertyWithJvmField.kt") - public void testInterfaceCompanionPropertyWithJvmField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/interfaceCompanionPropertyWithJvmField.kt"); - } - - @Test - @TestMetadata("jClass2kClass.kt") - public void testJClass2kClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/jClass2kClass.kt"); - } - - @Test - @TestMetadata("javaConstructor.kt") - public void testJavaConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/javaConstructor.kt"); - } - - @Test - @TestMetadata("javaFields.kt") - public void testJavaFields() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/javaFields.kt"); - } - - @Test - @TestMetadata("javaMethods.kt") - public void testJavaMethods() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/javaMethods.kt"); - } - - @Test - @TestMetadata("lateinitProperty.kt") - public void testLateinitProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/lateinitProperty.kt"); - } - - @Test - @TestMetadata("mappedClassIsEqualToClassLiteral.kt") - public void testMappedClassIsEqualToClassLiteral() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/mappedClassIsEqualToClassLiteral.kt"); - } - - @Test - @TestMetadata("memberProperty.kt") - public void testMemberProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/memberProperty.kt"); - } - - @Test - @TestMetadata("methodsFromObject.kt") - public void testMethodsFromObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/methodsFromObject.kt"); - } - - @Test - @TestMetadata("methodsFromSuperInterface.kt") - public void testMethodsFromSuperInterface() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/methodsFromSuperInterface.kt"); - } - - @Test - @TestMetadata("openSuspendFun.kt") - public void testOpenSuspendFun() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/openSuspendFun.kt"); - } - - @Test - @TestMetadata("privateProperty.kt") - public void testPrivateProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/privateProperty.kt"); - } - - @Test - @TestMetadata("propertyAccessorsWithJvmName.kt") - public void testPropertyAccessorsWithJvmName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/propertyAccessorsWithJvmName.kt"); - } - - @Test - @TestMetadata("syntheticFields.kt") - public void testSyntheticFields() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/syntheticFields.kt"); - } - - @Test - @TestMetadata("topLevelFunctionOtherFile.kt") - public void testTopLevelFunctionOtherFile() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/topLevelFunctionOtherFile.kt"); - } - - @Test - @TestMetadata("topLevelProperty.kt") - public void testTopLevelProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/topLevelProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -38808,19 +29227,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FakeOverrides { @Test public void testAllFilesPresentInFakeOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaFieldGetterSetter.kt") - public void testJavaFieldGetterSetter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt"); - } - - @Test - @TestMetadata("javaMethod.kt") - public void testJavaMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38831,19 +29238,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("inlineClassPrimaryVal.kt") - public void testInlineClassPrimaryVal() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/inlineClasses/inlineClassPrimaryVal.kt"); - } - - @Test - @TestMetadata("suspendFunctionWithInlineClassInSignature.kt") - public void testSuspendFunctionWithInlineClassInSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/inlineClasses/suspendFunctionWithInlineClassInSignature.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38854,19 +29249,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmStatic { @Test public void testAllFilesPresentInJvmStatic() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("companionObjectFunction.kt") - public void testCompanionObjectFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/jvmStatic/companionObjectFunction.kt"); - } - - @Test - @TestMetadata("objectFunction.kt") - public void testObjectFunction() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/jvmStatic/objectFunction.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -38877,133 +29260,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Types { @Test public void testAllFilesPresentInTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("allSupertypes.kt") - public void testAllSupertypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/allSupertypes.kt"); - } - - @Test - @TestMetadata("annotationConstructorParameters.kt") - public void testAnnotationConstructorParameters() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/annotationConstructorParameters.kt"); - } - - @Test - @TestMetadata("array.kt") - public void testArray() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/array.kt"); - } - - @Test - @TestMetadata("constructors.kt") - public void testConstructors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/constructors.kt"); - } - - @Test - @TestMetadata("createType.kt") - public void testCreateType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/createType.kt"); - } - - @Test - @TestMetadata("genericArrayElementType.kt") - public void testGenericArrayElementType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/genericArrayElementType.kt"); - } - - @Test - @TestMetadata("inlineClassInSignature.kt") - public void testInlineClassInSignature() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/inlineClassInSignature.kt"); - } - - @Test - @TestMetadata("inlineClassPrimaryVal.kt") - public void testInlineClassPrimaryVal() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/inlineClassPrimaryVal.kt"); - } - - @Test - @TestMetadata("innerGenericTypeArgument.kt") - public void testInnerGenericTypeArgument() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/innerGenericTypeArgument.kt"); - } - - @Test - @TestMetadata("memberFunctions.kt") - public void testMemberFunctions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/memberFunctions.kt"); - } - - @Test - @TestMetadata("overrideAnyWithPrimitive.kt") - public void testOverrideAnyWithPrimitive() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt"); - } - - @Test - @TestMetadata("parameterizedTypeArgument.kt") - public void testParameterizedTypeArgument() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypeArgument.kt"); - } - - @Test - @TestMetadata("parameterizedTypes.kt") - public void testParameterizedTypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt"); - } - - @Test - @TestMetadata("propertyAccessors.kt") - public void testPropertyAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/propertyAccessors.kt"); - } - - @Test - @TestMetadata("rawTypeArgument.kt") - public void testRawTypeArgument() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/rawTypeArgument.kt"); - } - - @Test - @TestMetadata("supertypes.kt") - public void testSupertypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/supertypes.kt"); - } - - @Test - @TestMetadata("suspendFun.kt") - public void testSuspendFun() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/suspendFun.kt"); - } - - @Test - @TestMetadata("topLevelFunctions.kt") - public void testTopLevelFunctions() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/topLevelFunctions.kt"); - } - - @Test - @TestMetadata("typeParameters.kt") - public void testTypeParameters() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt"); - } - - @Test - @TestMetadata("unit.kt") - public void testUnit() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/unit.kt"); - } - - @Test - @TestMetadata("withNullability.kt") - public void testWithNullability() throws Exception { - runTest("compiler/testData/codegen/box/reflection/mapping/types/withNullability.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -39013,21 +29270,9 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class MethodsFromAny { - @Test - @TestMetadata("adaptedCallableReferencesNotEqualToCallablesFromAPI.kt") - public void testAdaptedCallableReferencesNotEqualToCallablesFromAPI() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/adaptedCallableReferencesNotEqualToCallablesFromAPI.kt"); - } - @Test public void testAllFilesPresentInMethodsFromAny() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("builtinFunctionsToString.kt") - public void testBuiltinFunctionsToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39036,12 +29281,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt"); } - @Test - @TestMetadata("classToString.kt") - public void testClassToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/classToString.kt"); - } - @Test @TestMetadata("extensionPropertyReceiverToString.kt") public void testExtensionPropertyReceiverToString() throws Exception { @@ -39102,24 +29341,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt"); } - @Test - @TestMetadata("parametersEqualsWithClearCaches.kt") - public void testParametersEqualsWithClearCaches() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsWithClearCaches.kt"); - } - @Test @TestMetadata("parametersToString.kt") public void testParametersToString() throws Exception { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt"); } - @Test - @TestMetadata("propertyAccessorEqualsHashCode.kt") - public void testPropertyAccessorEqualsHashCode() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/propertyAccessorEqualsHashCode.kt"); - } - @Test @TestMetadata("propertyEqualsHashCode.kt") public void testPropertyEqualsHashCode() throws Exception { @@ -39144,12 +29371,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt"); } - @Test - @TestMetadata("typeParametersEqualsWithClearCaches.kt") - public void testTypeParametersEqualsWithClearCaches() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsWithClearCaches.kt"); - } - @Test @TestMetadata("typeParametersToString.kt") public void testTypeParametersToString() throws Exception { @@ -39176,7 +29397,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Modifiers { @Test public void testAllFilesPresentInModifiers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/modifiers"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/modifiers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39203,24 +29424,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt"); } - @Test - @TestMetadata("classes.kt") - public void testClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/modifiers/classes.kt"); - } - @Test @TestMetadata("functions.kt") public void testFunctions() throws Exception { runTest("compiler/testData/codegen/box/reflection/modifiers/functions.kt"); } - @Test - @TestMetadata("javaVisibility.kt") - public void testJavaVisibility() throws Exception { - runTest("compiler/testData/codegen/box/reflection/modifiers/javaVisibility.kt"); - } - @Test @TestMetadata("properties.kt") public void testProperties() throws Exception { @@ -39241,25 +29450,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultifileClasses { @Test public void testAllFilesPresentInMultifileClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("callFunctionsInMultifileClass.kt") - public void testCallFunctionsInMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/multifileClasses/callFunctionsInMultifileClass.kt"); - } - - @Test - @TestMetadata("callPropertiesInMultifileClass.kt") - public void testCallPropertiesInMultifileClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/multifileClasses/callPropertiesInMultifileClass.kt"); - } - - @Test - @TestMetadata("javaFieldForVarAndConstVal.kt") - public void testJavaFieldForVarAndConstVal() throws Exception { - runTest("compiler/testData/codegen/box/reflection/multifileClasses/javaFieldForVarAndConstVal.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -39270,25 +29461,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NoReflectAtRuntime { @Test public void testAllFilesPresentInNoReflectAtRuntime() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("javaClass.kt") - public void testJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/javaClass.kt"); - } - - @Test - @TestMetadata("javaVoid.kt") - public void testJavaVoid() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/javaVoid.kt"); - } - - @Test - @TestMetadata("primitiveJavaClass.kt") - public void testPrimitiveJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/primitiveJavaClass.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39303,12 +29476,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyInstanceof.kt"); } - @Test - @TestMetadata("reifiedTypeJavaClass.kt") - public void testReifiedTypeJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/reifiedTypeJavaClass.kt"); - } - @Test @TestMetadata("simpleClassLiterals.kt") public void testSimpleClassLiterals() throws Exception { @@ -39322,7 +29489,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MethodsFromAny { @Test public void testAllFilesPresentInMethodsFromAny() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39331,12 +29498,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); } - @Test - @TestMetadata("classReference.kt") - public void testClassReference() throws Exception { - runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/classReference.kt"); - } - @Test @TestMetadata("delegatedProperty.kt") public void testDelegatedProperty() throws Exception { @@ -39352,7 +29513,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Parameters { @Test public void testAllFilesPresentInParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39367,24 +29528,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt"); } - @Test - @TestMetadata("boundObjectMemberReferences.kt") - public void testBoundObjectMemberReferences() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/boundObjectMemberReferences.kt"); - } - @Test @TestMetadata("boundReferences.kt") public void testBoundReferences() throws Exception { runTest("compiler/testData/codegen/box/reflection/parameters/boundReferences.kt"); } - @Test - @TestMetadata("findParameterByName.kt") - public void testFindParameterByName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/findParameterByName.kt"); - } - @Test @TestMetadata("functionParameterNameAndIndex.kt") public void testFunctionParameterNameAndIndex() throws Exception { @@ -39397,12 +29546,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt"); } - @Test - @TestMetadata("instanceParameterOfFakeOverride.kt") - public void testInstanceParameterOfFakeOverride() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/instanceParameterOfFakeOverride.kt"); - } - @Test @TestMetadata("isMarkedNullable.kt") public void testIsMarkedNullable() throws Exception { @@ -39415,12 +29558,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/parameters/isOptional.kt"); } - @Test - @TestMetadata("javaAnnotationConstructor.kt") - public void testJavaAnnotationConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/javaAnnotationConstructor.kt"); - } - @Test @TestMetadata("kinds.kt") public void testKinds() throws Exception { @@ -39432,18 +29569,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testPropertySetter() throws Exception { runTest("compiler/testData/codegen/box/reflection/parameters/propertySetter.kt"); } - - @Test - @TestMetadata("realParameterNames.kt") - public void testRealParameterNames() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/realParameterNames.kt"); - } - - @Test - @TestMetadata("synthesizedParameterNames.kt") - public void testSynthesizedParameterNames() throws Exception { - runTest("compiler/testData/codegen/box/reflection/parameters/synthesizedParameterNames.kt"); - } } @Nested @@ -39453,7 +29578,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Properties { @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39462,24 +29587,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt"); } - @Test - @TestMetadata("callPrivatePropertyFromGetProperties.kt") - public void testCallPrivatePropertyFromGetProperties() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt"); - } - - @Test - @TestMetadata("declaredVsInheritedProperties.kt") - public void testDeclaredVsInheritedProperties() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/declaredVsInheritedProperties.kt"); - } - - @Test - @TestMetadata("equalsHashCodeToString.kt") - public void testEqualsHashCodeToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/equalsHashCodeToString.kt"); - } - @Test @TestMetadata("fakeOverridesInSubclass.kt") public void testFakeOverridesInSubclass() throws Exception { @@ -39522,126 +29629,30 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt"); } - @Test - @TestMetadata("javaPropertyInheritedInKotlin.kt") - public void testJavaPropertyInheritedInKotlin() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/javaPropertyInheritedInKotlin.kt"); - } - - @Test - @TestMetadata("javaStaticField.kt") - public void testJavaStaticField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/javaStaticField.kt"); - } - - @Test - @TestMetadata("kotlinPropertyInheritedInJava.kt") - public void testKotlinPropertyInheritedInJava() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt"); - } - @Test @TestMetadata("memberAndMemberExtensionWithSameName.kt") public void testMemberAndMemberExtensionWithSameName() throws Exception { runTest("compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt"); } - @Test - @TestMetadata("mutatePrivateJavaInstanceField.kt") - public void testMutatePrivateJavaInstanceField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaInstanceField.kt"); - } - - @Test - @TestMetadata("mutatePrivateJavaStaticField.kt") - public void testMutatePrivateJavaStaticField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/mutatePrivateJavaStaticField.kt"); - } - - @Test - @TestMetadata("noConflictOnKotlinGetterAndJavaField.kt") - public void testNoConflictOnKotlinGetterAndJavaField() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/noConflictOnKotlinGetterAndJavaField.kt"); - } - - @Test - @TestMetadata("overrideKotlinPropertyByJavaMethod.kt") - public void testOverrideKotlinPropertyByJavaMethod() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/overrideKotlinPropertyByJavaMethod.kt"); - } - - @Test - @TestMetadata("privateClassVal.kt") - public void testPrivateClassVal() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/privateClassVal.kt"); - } - - @Test - @TestMetadata("privateClassVar.kt") - public void testPrivateClassVar() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/privateClassVar.kt"); - } - @Test @TestMetadata("privateFakeOverrideFromSuperclass.kt") public void testPrivateFakeOverrideFromSuperclass() throws Exception { runTest("compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt"); } - @Test - @TestMetadata("privateJvmStaticVarInObject.kt") - public void testPrivateJvmStaticVarInObject() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/privateJvmStaticVarInObject.kt"); - } - - @Test - @TestMetadata("privatePropertyCallIsAccessibleOnAccessors.kt") - public void testPrivatePropertyCallIsAccessibleOnAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt"); - } - - @Test - @TestMetadata("privateToThisAccessors.kt") - public void testPrivateToThisAccessors() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt"); - } - @Test @TestMetadata("propertyOfNestedClassAndArrayType.kt") public void testPropertyOfNestedClassAndArrayType() throws Exception { runTest("compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt"); } - @Test - @TestMetadata("protectedClassVar.kt") - public void testProtectedClassVar() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt"); - } - - @Test - @TestMetadata("publicClassValAccessible.kt") - public void testPublicClassValAccessible() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/publicClassValAccessible.kt"); - } - - @Test - @TestMetadata("referenceToJavaFieldOfKotlinSubclass.kt") - public void testReferenceToJavaFieldOfKotlinSubclass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/referenceToJavaFieldOfKotlinSubclass.kt"); - } - @Test @TestMetadata("simpleGetProperties.kt") public void testSimpleGetProperties() throws Exception { runTest("compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt"); } - @Test - @TestMetadata("withLocalType.kt") - public void testWithLocalType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/withLocalType.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/reflection/properties/accessors") @TestDataPath("$PROJECT_ROOT") @@ -39655,7 +29666,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInAccessors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39690,97 +29701,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class GetDelegate { @Test public void testAllFilesPresentInGetDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("booleanPropertyNameStartsWithIs.kt") - public void testBooleanPropertyNameStartsWithIs() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/booleanPropertyNameStartsWithIs.kt"); - } - - @Test - @TestMetadata("boundExtensionProperty.kt") - public void testBoundExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/boundExtensionProperty.kt"); - } - - @Test - @TestMetadata("boundMemberProperty.kt") - public void testBoundMemberProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/boundMemberProperty.kt"); - } - - @Test - @TestMetadata("extensionProperty.kt") - public void testExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/extensionProperty.kt"); - } - - @Test - @TestMetadata("fakeOverride.kt") - public void testFakeOverride() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/fakeOverride.kt"); - } - - @Test - @TestMetadata("getExtensionDelegate.kt") - public void testGetExtensionDelegate() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/getExtensionDelegate.kt"); - } - - @Test - @TestMetadata("kPropertyForDelegatedProperty.kt") - public void testKPropertyForDelegatedProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/kPropertyForDelegatedProperty.kt"); - } - - @Test - @TestMetadata("memberExtensionProperty.kt") - public void testMemberExtensionProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/memberExtensionProperty.kt"); - } - - @Test - @TestMetadata("memberProperty.kt") - public void testMemberProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/memberProperty.kt"); - } - - @Test - @TestMetadata("nameClashClassAndCompanion.kt") - public void testNameClashClassAndCompanion() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/nameClashClassAndCompanion.kt"); - } - - @Test - @TestMetadata("nameClashExtensionProperties.kt") - public void testNameClashExtensionProperties() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/nameClashExtensionProperties.kt"); - } - - @Test - @TestMetadata("noSetAccessibleTrue.kt") - public void testNoSetAccessibleTrue() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/noSetAccessibleTrue.kt"); - } - - @Test - @TestMetadata("notDelegatedProperty.kt") - public void testNotDelegatedProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/notDelegatedProperty.kt"); - } - - @Test - @TestMetadata("overrideDelegatedByDelegated.kt") - public void testOverrideDelegatedByDelegated() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/overrideDelegatedByDelegated.kt"); - } - - @Test - @TestMetadata("topLevelProperty.kt") - public void testTopLevelProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/topLevelProperty.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -39790,19 +29711,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Method { @Test public void testAllFilesPresentInMethod() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate/method"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("delegateMethodIsNonOverridable.kt") - public void testDelegateMethodIsNonOverridable() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/method/delegateMethodIsNonOverridable.kt"); - } - - @Test - @TestMetadata("delegateToAnother.kt") - public void testDelegateToAnother() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/getDelegate/method/delegateToAnother.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate/method"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -39814,25 +29723,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmField { @Test public void testAllFilesPresentInJvmField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/jvmField"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotationCompanionWithAnnotation.kt") - public void testAnnotationCompanionWithAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/jvmField/annotationCompanionWithAnnotation.kt"); - } - - @Test - @TestMetadata("interfaceCompanion.kt") - public void testInterfaceCompanion() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/jvmField/interfaceCompanion.kt"); - } - - @Test - @TestMetadata("interfaceCompanionWithAnnotation.kt") - public void testInterfaceCompanionWithAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/jvmField/interfaceCompanionWithAnnotation.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/jvmField"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -39843,55 +29734,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LocalDelegated { @Test public void testAllFilesPresentInLocalDelegated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/localDelegated"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultImpls.kt") - public void testDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/defaultImpls.kt"); - } - - @Test - @TestMetadata("inLambda.kt") - public void testInLambda() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inLambda.kt"); - } - - @Test - @TestMetadata("inLambdaInInline.kt") - public void testInLambdaInInline() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inLambdaInInline.kt"); - } - - @Test - @TestMetadata("inlineFun.kt") - public void testInlineFun() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inlineFun.kt"); - } - - @Test - @TestMetadata("localAndNonLocal.kt") - public void testLocalAndNonLocal() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/localAndNonLocal.kt"); - } - - @Test - @TestMetadata("localDelegatedProperty.kt") - public void testLocalDelegatedProperty() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/localDelegatedProperty.kt"); - } - - @Test - @TestMetadata("multiFileClass.kt") - public void testMultiFileClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/multiFileClass.kt"); - } - - @Test - @TestMetadata("variableOfGenericType.kt") - public void testVariableOfGenericType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/variableOfGenericType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/localDelegated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -39903,13 +29746,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Supertypes { @Test public void testAllFilesPresentInSupertypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("builtInClassSupertypes.kt") - public void testBuiltInClassSupertypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/supertypes/builtInClassSupertypes.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39924,12 +29761,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt"); } - @Test - @TestMetadata("primitives.kt") - public void testPrimitives() throws Exception { - runTest("compiler/testData/codegen/box/reflection/supertypes/primitives.kt"); - } - @Test @TestMetadata("simpleSupertypes.kt") public void testSimpleSupertypes() throws Exception { @@ -39944,13 +29775,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeOf { @Test public void testAllFilesPresentInTypeOf() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotatedType.kt") - public void testAnnotatedType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/annotatedType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -39959,18 +29784,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/typeOf/classes.kt"); } - @Test - @TestMetadata("flexibleTypes_after.kt") - public void testFlexibleTypes_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt"); - } - - @Test - @TestMetadata("flexibleTypes_before.kt") - public void testFlexibleTypes_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_before.kt"); - } - @Test @TestMetadata("inlineClasses.kt") public void testInlineClasses() throws Exception { @@ -39995,48 +29808,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt"); } - @Test - @TestMetadata("mutableCollections_after.kt") - public void testMutableCollections_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/mutableCollections_after.kt"); - } - - @Test - @TestMetadata("mutableCollections_before.kt") - public void testMutableCollections_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/mutableCollections_before.kt"); - } - - @Test - @TestMetadata("nothing_after.kt") - public void testNothing_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/nothing_after.kt"); - } - - @Test - @TestMetadata("nothing_before.kt") - public void testNothing_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/nothing_before.kt"); - } - - @Test - @TestMetadata("primitiveJavaTypes.kt") - public void testPrimitiveJavaTypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/primitiveJavaTypes.kt"); - } - - @Test - @TestMetadata("rawTypes_after.kt") - public void testRawTypes_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/rawTypes_after.kt"); - } - - @Test - @TestMetadata("rawTypes_before.kt") - public void testRawTypes_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/rawTypes_before.kt"); - } - @Test @TestMetadata("typeOfCapturedStar.kt") public void testTypeOfCapturedStar() throws Exception { @@ -40050,55 +29821,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Js { @Test public void testAllFilesPresentInJs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/js"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("classes.kt") - public void testClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/classes.kt"); - } - - @Test - @TestMetadata("inlineClasses.kt") - public void testInlineClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/inlineClasses.kt"); - } - - @Test - @TestMetadata("kType.kt") - public void testKType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/kType.kt"); - } - - @Test - @TestMetadata("manyTypeArguments.kt") - public void testManyTypeArguments() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/manyTypeArguments.kt"); - } - - @Test - @TestMetadata("multipleLayers.kt") - public void testMultipleLayers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/multipleLayers.kt"); - } - - @Test - @TestMetadata("multipleModules.kt") - public void testMultipleModules() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/multipleModules.kt"); - } - - @Test - @TestMetadata("typeOfCapturedStar.kt") - public void testTypeOfCapturedStar() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/typeOfCapturedStar.kt"); - } - - @Test - @TestMetadata("typeOfReifiedUnit.kt") - public void testTypeOfReifiedUnit() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/js/typeOfReifiedUnit.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/js"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -40109,79 +29832,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NoReflect { @Test public void testAllFilesPresentInNoReflect() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("annotatedType.kt") - public void testAnnotatedType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/annotatedType.kt"); - } - - @Test - @TestMetadata("classes.kt") - public void testClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt"); - } - - @Test - @TestMetadata("flexibleTypes_after.kt") - public void testFlexibleTypes_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_after.kt"); - } - - @Test - @TestMetadata("flexibleTypes_before.kt") - public void testFlexibleTypes_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_before.kt"); - } - - @Test - @TestMetadata("inlineClasses.kt") - public void testInlineClasses() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/inlineClasses.kt"); - } - - @Test - @TestMetadata("mutableCollections_after.kt") - public void testMutableCollections_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/mutableCollections_after.kt"); - } - - @Test - @TestMetadata("mutableCollections_before.kt") - public void testMutableCollections_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/mutableCollections_before.kt"); - } - - @Test - @TestMetadata("nothing_after.kt") - public void testNothing_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nothing_after.kt"); - } - - @Test - @TestMetadata("nothing_before.kt") - public void testNothing_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nothing_before.kt"); - } - - @Test - @TestMetadata("primitiveJavaTypes.kt") - public void testPrimitiveJavaTypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/primitiveJavaTypes.kt"); - } - - @Test - @TestMetadata("rawTypes_after.kt") - public void testRawTypes_after() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_after.kt"); - } - - @Test - @TestMetadata("rawTypes_before.kt") - public void testRawTypes_before() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/rawTypes_before.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40197,67 +29848,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NonReifiedTypeParameters { @Test public void testAllFilesPresentInNonReifiedTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultUpperBound.kt") - public void testDefaultUpperBound() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/defaultUpperBound.kt"); - } - - @Test - @TestMetadata("equalsOnClassParameters.kt") - public void testEqualsOnClassParameters() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/equalsOnClassParameters.kt"); - } - - @Test - @TestMetadata("equalsOnFunctionParameters.kt") - public void testEqualsOnFunctionParameters() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/equalsOnFunctionParameters.kt"); - } - - @Test - @TestMetadata("innerGeneric.kt") - public void testInnerGeneric() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/innerGeneric.kt"); - } - - @Test - @TestMetadata("simpleClassParameter.kt") - public void testSimpleClassParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/simpleClassParameter.kt"); - } - - @Test - @TestMetadata("simpleFunctionParameter.kt") - public void testSimpleFunctionParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/simpleFunctionParameter.kt"); - } - - @Test - @TestMetadata("simplePropertyParameter.kt") - public void testSimplePropertyParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/simplePropertyParameter.kt"); - } - - @Test - @TestMetadata("typeParameterFlags.kt") - public void testTypeParameterFlags() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/typeParameterFlags.kt"); - } - - @Test - @TestMetadata("upperBoundUsesOuterClassParameter.kt") - public void testUpperBoundUsesOuterClassParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/upperBoundUsesOuterClassParameter.kt"); - } - - @Test - @TestMetadata("upperBounds.kt") - public void testUpperBounds() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters/upperBounds.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -40269,7 +29860,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NonReifiedTypeParameters { @Test public void testAllFilesPresentInNonReifiedTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40284,12 +29875,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt"); } - @Test - @TestMetadata("equalsOnClassParametersWithReflectAPI.kt") - public void testEqualsOnClassParametersWithReflectAPI() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParametersWithReflectAPI.kt"); - } - @Test @TestMetadata("equalsOnFunctionParameters.kt") public void testEqualsOnFunctionParameters() throws Exception { @@ -40302,18 +29887,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/innerGeneric.kt"); } - @Test - @TestMetadata("recursiveBoundWithInline.kt") - public void testRecursiveBoundWithInline() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithInline.kt"); - } - - @Test - @TestMetadata("recursiveBoundWithoutInline.kt") - public void testRecursiveBoundWithoutInline() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithoutInline.kt"); - } - @Test @TestMetadata("simpleClassParameter.kt") public void testSimpleClassParameter() throws Exception { @@ -40365,7 +29938,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeParameters"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeParameters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40374,18 +29947,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt"); } - @Test - @TestMetadata("innerGenericParameter.kt") - public void testInnerGenericParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeParameters/innerGenericParameter.kt"); - } - - @Test - @TestMetadata("javaGenericTypeConstructor.kt") - public void testJavaGenericTypeConstructor() throws Exception { - runTest("compiler/testData/codegen/box/reflection/typeParameters/javaGenericTypeConstructor.kt"); - } - @Test @TestMetadata("typeParametersAndNames.kt") public void testTypeParametersAndNames() throws Exception { @@ -40406,7 +29967,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Types { @Test public void testAllFilesPresentInTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40421,54 +29982,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt"); } - @Test - @TestMetadata("classifiersOfBuiltInTypes.kt") - public void testClassifiersOfBuiltInTypes() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/classifiersOfBuiltInTypes.kt"); - } - - @Test - @TestMetadata("equalsForClassAndTypeParameterWithSameFqName.kt") - public void testEqualsForClassAndTypeParameterWithSameFqName() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/equalsForClassAndTypeParameterWithSameFqName.kt"); - } - @Test @TestMetadata("innerGenericArguments.kt") public void testInnerGenericArguments() throws Exception { runTest("compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt"); } - @Test - @TestMetadata("jvmErasureOfClass.kt") - public void testJvmErasureOfClass() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/jvmErasureOfClass.kt"); - } - - @Test - @TestMetadata("jvmErasureOfTypeParameter.kt") - public void testJvmErasureOfTypeParameter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/jvmErasureOfTypeParameter.kt"); - } - - @Test - @TestMetadata("platformTypeClassifier.kt") - public void testPlatformTypeClassifier() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/platformTypeClassifier.kt"); - } - - @Test - @TestMetadata("platformTypeNotEqualToKotlinType.kt") - public void testPlatformTypeNotEqualToKotlinType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/platformTypeNotEqualToKotlinType.kt"); - } - - @Test - @TestMetadata("platformTypeToString.kt") - public void testPlatformTypeToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/platformTypeToString.kt"); - } - @Test @TestMetadata("typeArguments.kt") public void testTypeArguments() throws Exception { @@ -40481,12 +30000,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reflection/types/useSiteVariance.kt"); } - @Test - @TestMetadata("withNullability.kt") - public void testWithNullability() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/withNullability.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/reflection/types/createType") @TestDataPath("$PROJECT_ROOT") @@ -40494,7 +30007,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CreateType { @Test public void testAllFilesPresentInCreateType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/createType"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/createType"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40535,13 +30048,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Subtyping { @Test public void testAllFilesPresentInSubtyping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/subtyping"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("platformType.kt") - public void testPlatformType() throws Exception { - runTest("compiler/testData/codegen/box/reflection/types/subtyping/platformType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/subtyping"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40572,19 +30079,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("approximateIntersectionType.kt") - public void testApproximateIntersectionType() throws Exception { - runTest("compiler/testData/codegen/box/regressions/approximateIntersectionType.kt"); - } - - @Test - @TestMetadata("approximationForDefinitelyNotNull.kt") - public void testApproximationForDefinitelyNotNull() throws Exception { - runTest("compiler/testData/codegen/box/regressions/approximationForDefinitelyNotNull.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -40593,12 +30088,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/arrayLengthNPE.kt"); } - @Test - @TestMetadata("collections.kt") - public void testCollections() throws Exception { - runTest("compiler/testData/codegen/box/regressions/collections.kt"); - } - @Test @TestMetadata("commonSupertypeContravariant.kt") public void testCommonSupertypeContravariant() throws Exception { @@ -40641,12 +30130,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/generic.kt"); } - @Test - @TestMetadata("getGenericInterfaces.kt") - public void testGetGenericInterfaces() throws Exception { - runTest("compiler/testData/codegen/box/regressions/getGenericInterfaces.kt"); - } - @Test @TestMetadata("hashCodeNPE.kt") public void testHashCodeNPE() throws Exception { @@ -40659,12 +30142,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/internalTopLevelOtherPackage.kt"); } - @Test - @TestMetadata("intersectionAsLastLambda.kt") - public void testIntersectionAsLastLambda() throws Exception { - runTest("compiler/testData/codegen/box/regressions/intersectionAsLastLambda.kt"); - } - @Test @TestMetadata("intersectionOfEqualTypes.kt") public void testIntersectionOfEqualTypes() throws Exception { @@ -40695,36 +30172,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt1172.kt"); } - @Test - @TestMetadata("kt1202.kt") - public void testKt1202() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt1202.kt"); - } - @Test @TestMetadata("kt13381.kt") public void testKt13381() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt13381.kt"); } - @Test - @TestMetadata("kt1406.kt") - public void testKt1406() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt1406.kt"); - } - @Test @TestMetadata("kt14447.kt") public void testKt14447() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt14447.kt"); } - @Test - @TestMetadata("kt1515.kt") - public void testKt1515() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt1515.kt"); - } - @Test @TestMetadata("kt15196.kt") public void testKt15196() throws Exception { @@ -40737,12 +30196,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt1528.kt"); } - @Test - @TestMetadata("kt1568.kt") - public void testKt1568() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt1568.kt"); - } - @Test @TestMetadata("Kt1619Test.kt") public void testKt1619Test() throws Exception { @@ -40773,12 +30226,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt18779.kt"); } - @Test - @TestMetadata("kt1932.kt") - public void testKt1932() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt1932.kt"); - } - @Test @TestMetadata("kt2017.kt") public void testKt2017() throws Exception { @@ -40803,12 +30250,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt2246.kt"); } - @Test - @TestMetadata("kt2318.kt") - public void testKt2318() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt2318.kt"); - } - @Test @TestMetadata("kt24913.kt") public void testKt24913() throws Exception { @@ -40827,24 +30268,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt2509.kt"); } - @Test - @TestMetadata("kt2593.kt") - public void testKt2593() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt2593.kt"); - } - - @Test - @TestMetadata("kt274.kt") - public void testKt274() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt274.kt"); - } - - @Test - @TestMetadata("kt3046.kt") - public void testKt3046() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt3046.kt"); - } - @Test @TestMetadata("kt3107.kt") public void testKt3107() throws Exception { @@ -40911,90 +30334,30 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt39088.kt"); } - @Test - @TestMetadata("kt41357.kt") - public void testKt41357() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt41357.kt"); - } - @Test @TestMetadata("kt4142.kt") public void testKt4142() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt4142.kt"); } - @Test - @TestMetadata("kt41806.kt") - public void testKt41806() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt41806.kt"); - } - - @Test - @TestMetadata("kt4259.kt") - public void testKt4259() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt4259.kt"); - } - - @Test - @TestMetadata("kt4262.kt") - public void testKt4262() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt4262.kt"); - } - @Test @TestMetadata("kt4281.kt") public void testKt4281() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt4281.kt"); } - @Test - @TestMetadata("kt44993.kt") - public void testKt44993() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt44993.kt"); - } - @Test @TestMetadata("kt5056.kt") public void testKt5056() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt5056.kt"); } - @Test - @TestMetadata("kt528.kt") - public void testKt528() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt528.kt"); - } - - @Test - @TestMetadata("kt529.kt") - public void testKt529() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt529.kt"); - } - - @Test - @TestMetadata("kt533.kt") - public void testKt533() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt533.kt"); - } - @Test @TestMetadata("kt5395.kt") public void testKt5395() throws Exception { runTest("compiler/testData/codegen/box/regressions/kt5395.kt"); } - @Test - @TestMetadata("kt5445.kt") - public void testKt5445() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt5445.kt"); - } - - @Test - @TestMetadata("kt5445_2.kt") - public void testKt5445_2() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt5445_2.kt"); - } - @Test @TestMetadata("kt5786_privateWithDefault.kt") public void testKt5786_privateWithDefault() throws Exception { @@ -41025,18 +30388,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt6434_2.kt"); } - @Test - @TestMetadata("kt6485.kt") - public void testKt6485() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt6485.kt"); - } - - @Test - @TestMetadata("kt715.kt") - public void testKt715() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt715.kt"); - } - @Test @TestMetadata("kt7401.kt") public void testKt7401() throws Exception { @@ -41049,18 +30400,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/kt789.kt"); } - @Test - @TestMetadata("kt864.kt") - public void testKt864() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt864.kt"); - } - - @Test - @TestMetadata("kt9345.kt") - public void testKt9345() throws Exception { - runTest("compiler/testData/codegen/box/regressions/kt9345.kt"); - } - @Test @TestMetadata("kt998.kt") public void testKt998() throws Exception { @@ -41085,12 +30424,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt"); } - @Test - @TestMetadata("nestedIntersection.kt") - public void testNestedIntersection() throws Exception { - runTest("compiler/testData/codegen/box/regressions/nestedIntersection.kt"); - } - @Test @TestMetadata("noAssertionsWhenNullableTypeParameterReplacedWithIntersectionType.kt") public void testNoAssertionsWhenNullableTypeParameterReplacedWithIntersectionType() throws Exception { @@ -41133,12 +30466,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/regressions/objectInsideDelegation.kt"); } - @Test - @TestMetadata("referenceToSelfInLocal.kt") - public void testReferenceToSelfInLocal() throws Exception { - runTest("compiler/testData/codegen/box/regressions/referenceToSelfInLocal.kt"); - } - @Test @TestMetadata("resolvedCallForGetOperator.kt") public void testResolvedCallForGetOperator() throws Exception { @@ -41150,12 +30477,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testSupertypeDepth() throws Exception { runTest("compiler/testData/codegen/box/regressions/supertypeDepth.kt"); } - - @Test - @TestMetadata("typeCastException.kt") - public void testTypeCastException() throws Exception { - runTest("compiler/testData/codegen/box/regressions/typeCastException.kt"); - } } @Nested @@ -41165,37 +30486,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reified { @Test public void testAllFilesPresentInReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousObject.kt") - public void testAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/reified/anonymousObject.kt"); - } - - @Test - @TestMetadata("anonymousObjectNoPropagate.kt") - public void testAnonymousObjectNoPropagate() throws Exception { - runTest("compiler/testData/codegen/box/reified/anonymousObjectNoPropagate.kt"); - } - - @Test - @TestMetadata("anonymousObjectReifiedSupertype.kt") - public void testAnonymousObjectReifiedSupertype() throws Exception { - runTest("compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt"); - } - - @Test - @TestMetadata("approximateCapturedTypes.kt") - public void testApproximateCapturedTypes() throws Exception { - runTest("compiler/testData/codegen/box/reified/approximateCapturedTypes.kt"); - } - - @Test - @TestMetadata("asOnPlatformType.kt") - public void testAsOnPlatformType() throws Exception { - runTest("compiler/testData/codegen/box/reified/asOnPlatformType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -41216,126 +30507,42 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reified/copyToArray.kt"); } - @Test - @TestMetadata("DIExample.kt") - public void testDIExample() throws Exception { - runTest("compiler/testData/codegen/box/reified/DIExample.kt"); - } - - @Test - @TestMetadata("defaultJavaClass.kt") - public void testDefaultJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/reified/defaultJavaClass.kt"); - } - - @Test - @TestMetadata("expectedTypeFromCast.kt") - public void testExpectedTypeFromCast() throws Exception { - runTest("compiler/testData/codegen/box/reified/expectedTypeFromCast.kt"); - } - @Test @TestMetadata("filterIsInstance.kt") public void testFilterIsInstance() throws Exception { runTest("compiler/testData/codegen/box/reified/filterIsInstance.kt"); } - @Test - @TestMetadata("innerAnonymousObject.kt") - public void testInnerAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/reified/innerAnonymousObject.kt"); - } - @Test @TestMetadata("instanceof.kt") public void testInstanceof() throws Exception { runTest("compiler/testData/codegen/box/reified/instanceof.kt"); } - @Test - @TestMetadata("isOnPlatformType.kt") - public void testIsOnPlatformType() throws Exception { - runTest("compiler/testData/codegen/box/reified/isOnPlatformType.kt"); - } - - @Test - @TestMetadata("javaClass.kt") - public void testJavaClass() throws Exception { - runTest("compiler/testData/codegen/box/reified/javaClass.kt"); - } - @Test @TestMetadata("kt16445.kt") public void testKt16445() throws Exception { runTest("compiler/testData/codegen/box/reified/kt16445.kt"); } - @Test - @TestMetadata("nestedReified.kt") - public void testNestedReified() throws Exception { - runTest("compiler/testData/codegen/box/reified/nestedReified.kt"); - } - - @Test - @TestMetadata("nestedReifiedSignature.kt") - public void testNestedReifiedSignature() throws Exception { - runTest("compiler/testData/codegen/box/reified/nestedReifiedSignature.kt"); - } - @Test @TestMetadata("newArrayInt.kt") public void testNewArrayInt() throws Exception { runTest("compiler/testData/codegen/box/reified/newArrayInt.kt"); } - @Test - @TestMetadata("nonInlineableLambdaInReifiedFunction.kt") - public void testNonInlineableLambdaInReifiedFunction() throws Exception { - runTest("compiler/testData/codegen/box/reified/nonInlineableLambdaInReifiedFunction.kt"); - } - - @Test - @TestMetadata("recursiveInnerAnonymousObject.kt") - public void testRecursiveInnerAnonymousObject() throws Exception { - runTest("compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt"); - } - @Test @TestMetadata("recursiveNewArray.kt") public void testRecursiveNewArray() throws Exception { runTest("compiler/testData/codegen/box/reified/recursiveNewArray.kt"); } - @Test - @TestMetadata("recursiveNonInlineableLambda.kt") - public void testRecursiveNonInlineableLambda() throws Exception { - runTest("compiler/testData/codegen/box/reified/recursiveNonInlineableLambda.kt"); - } - @Test @TestMetadata("reifiedChain.kt") public void testReifiedChain() throws Exception { runTest("compiler/testData/codegen/box/reified/reifiedChain.kt"); } - @Test - @TestMetadata("reifiedInlineFunOfObject.kt") - public void testReifiedInlineFunOfObject() throws Exception { - runTest("compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt"); - } - - @Test - @TestMetadata("reifiedInlineFunOfObjectWithinReified.kt") - public void testReifiedInlineFunOfObjectWithinReified() throws Exception { - runTest("compiler/testData/codegen/box/reified/reifiedInlineFunOfObjectWithinReified.kt"); - } - - @Test - @TestMetadata("reifiedInlineIntoNonInlineableLambda.kt") - public void testReifiedInlineIntoNonInlineableLambda() throws Exception { - runTest("compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt"); - } - @Test @TestMetadata("reifiedIntersectionType.kt") public void testReifiedIntersectionType() throws Exception { @@ -41397,7 +30604,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ArraysReification { @Test public void testAllFilesPresentInArraysReification() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -41412,24 +30619,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt"); } - @Test - @TestMetadata("jClass.kt") - public void testJClass() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/jClass.kt"); - } - @Test @TestMetadata("jaggedArray.kt") public void testJaggedArray() throws Exception { runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt"); } - @Test - @TestMetadata("jaggedArrayOfNulls.kt") - public void testJaggedArrayOfNulls() throws Exception { - runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt"); - } - @Test @TestMetadata("jaggedDeep.kt") public void testJaggedDeep() throws Exception { @@ -41445,7 +30640,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SafeCall { @Test public void testAllFilesPresentInSafeCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -41532,18 +30727,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt"); } - @Test - @TestMetadata("safeCallSimplificationEnhancedNullabilityType.kt") - public void testSafeCallSimplificationEnhancedNullabilityType() throws Exception { - runTest("compiler/testData/codegen/box/safeCall/safeCallSimplificationEnhancedNullabilityType.kt"); - } - - @Test - @TestMetadata("safeCallSimplificationFlexibleType.kt") - public void testSafeCallSimplificationFlexibleType() throws Exception { - runTest("compiler/testData/codegen/box/safeCall/safeCallSimplificationFlexibleType.kt"); - } - @Test @TestMetadata("safeCallWithElvisFolding.kt") public void testSafeCallWithElvisFolding() throws Exception { @@ -41558,97 +30741,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("arrayAsVarargAfterSamArgument.kt") - public void testArrayAsVarargAfterSamArgument() throws Exception { - runTest("compiler/testData/codegen/box/sam/arrayAsVarargAfterSamArgument.kt"); - } - - @Test - @TestMetadata("castFromAny.kt") - public void testCastFromAny() throws Exception { - runTest("compiler/testData/codegen/box/sam/castFromAny.kt"); - } - - @Test - @TestMetadata("contravariantIntersectionType.kt") - public void testContravariantIntersectionType() throws Exception { - runTest("compiler/testData/codegen/box/sam/contravariantIntersectionType.kt"); - } - - @Test - @TestMetadata("contravariantIntersectionTypeWithNonTrivialCommonSupertype.kt") - public void testContravariantIntersectionTypeWithNonTrivialCommonSupertype() throws Exception { - runTest("compiler/testData/codegen/box/sam/contravariantIntersectionTypeWithNonTrivialCommonSupertype.kt"); - } - - @Test - @TestMetadata("contravariantIntersectionTypeWithNonTrivialCommonSupertype2.kt") - public void testContravariantIntersectionTypeWithNonTrivialCommonSupertype2() throws Exception { - runTest("compiler/testData/codegen/box/sam/contravariantIntersectionTypeWithNonTrivialCommonSupertype2.kt"); - } - - @Test - @TestMetadata("differentFqNames.kt") - public void testDifferentFqNames() throws Exception { - runTest("compiler/testData/codegen/box/sam/differentFqNames.kt"); - } - - @Test - @TestMetadata("inlinedSamWrapper.kt") - public void testInlinedSamWrapper() throws Exception { - runTest("compiler/testData/codegen/box/sam/inlinedSamWrapper.kt"); - } - - @Test - @TestMetadata("irrelevantStaticProperty.kt") - public void testIrrelevantStaticProperty() throws Exception { - runTest("compiler/testData/codegen/box/sam/irrelevantStaticProperty.kt"); - } - - @Test - @TestMetadata("kt11519.kt") - public void testKt11519() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt11519.kt"); - } - - @Test - @TestMetadata("kt11519Constructor.kt") - public void testKt11519Constructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt11519Constructor.kt"); - } - - @Test - @TestMetadata("kt11696.kt") - public void testKt11696() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt11696.kt"); - } - - @Test - @TestMetadata("kt17091.kt") - public void testKt17091() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt17091.kt"); - } - - @Test - @TestMetadata("kt17091_2.kt") - public void testKt17091_2() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt17091_2.kt"); - } - - @Test - @TestMetadata("kt17091_3.kt") - public void testKt17091_3() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt17091_3.kt"); - } - - @Test - @TestMetadata("kt17091_4.kt") - public void testKt17091_4() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt17091_4.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -41657,138 +30750,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/sam/kt17765.kt"); } - @Test - @TestMetadata("kt19910.kt") - public void testKt19910() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt19910.kt"); - } - - @Test - @TestMetadata("kt22906.kt") - public void testKt22906() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt22906.kt"); - } - - @Test - @TestMetadata("kt22906_2.kt") - public void testKt22906_2() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt22906_2.kt"); - } - - @Test - @TestMetadata("kt24825.kt") - public void testKt24825() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt24825.kt"); - } - - @Test - @TestMetadata("kt31908.kt") - public void testKt31908() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt31908.kt"); - } - - @Test - @TestMetadata("kt44827_sam.kt") - public void testKt44827_sam() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt44827_sam.kt"); - } - - @Test - @TestMetadata("kt4753.kt") - public void testKt4753() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt4753.kt"); - } - - @Test - @TestMetadata("kt4753_2.kt") - public void testKt4753_2() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt4753_2.kt"); - } - - @Test - @TestMetadata("kt49226.kt") - public void testKt49226() throws Exception { - runTest("compiler/testData/codegen/box/sam/kt49226.kt"); - } - - @Test - @TestMetadata("nonInlinedSamWrapper.kt") - public void testNonInlinedSamWrapper() throws Exception { - runTest("compiler/testData/codegen/box/sam/nonInlinedSamWrapper.kt"); - } - - @Test - @TestMetadata("nullableSam.kt") - public void testNullableSam() throws Exception { - runTest("compiler/testData/codegen/box/sam/nullableSam.kt"); - } - - @Test - @TestMetadata("partialSam.kt") - public void testPartialSam() throws Exception { - runTest("compiler/testData/codegen/box/sam/partialSam.kt"); - } - - @Test - @TestMetadata("partialSamKT.kt") - public void testPartialSamKT() throws Exception { - runTest("compiler/testData/codegen/box/sam/partialSamKT.kt"); - } - - @Test - @TestMetadata("passSubtypeOfFunctionSamConversion.kt") - public void testPassSubtypeOfFunctionSamConversion() throws Exception { - runTest("compiler/testData/codegen/box/sam/passSubtypeOfFunctionSamConversion.kt"); - } - - @Test - @TestMetadata("predicateSamWrapper.kt") - public void testPredicateSamWrapper() throws Exception { - runTest("compiler/testData/codegen/box/sam/predicateSamWrapper.kt"); - } - - @Test - @TestMetadata("propertyReference.kt") - public void testPropertyReference() throws Exception { - runTest("compiler/testData/codegen/box/sam/propertyReference.kt"); - } - - @Test - @TestMetadata("receiverEvaluatedOnce.kt") - public void testReceiverEvaluatedOnce() throws Exception { - runTest("compiler/testData/codegen/box/sam/receiverEvaluatedOnce.kt"); - } - - @Test - @TestMetadata("recordSubstitutedTypeForCallableSamParameter.kt") - public void testRecordSubstitutedTypeForCallableSamParameter() throws Exception { - runTest("compiler/testData/codegen/box/sam/recordSubstitutedTypeForCallableSamParameter.kt"); - } - - @Test - @TestMetadata("samConstructorGenericSignature.kt") - public void testSamConstructorGenericSignature() throws Exception { - runTest("compiler/testData/codegen/box/sam/samConstructorGenericSignature.kt"); - } - - @Test - @TestMetadata("samConversionToJavaWildcard.kt") - public void testSamConversionToJavaWildcard() throws Exception { - runTest("compiler/testData/codegen/box/sam/samConversionToJavaWildcard.kt"); - } - - @Test - @TestMetadata("samInterfaceTypeParameterErasure.kt") - public void testSamInterfaceTypeParameterErasure() throws Exception { - runTest("compiler/testData/codegen/box/sam/samInterfaceTypeParameterErasure.kt"); - } - - @Test - @TestMetadata("smartCastSamConversion.kt") - public void testSmartCastSamConversion() throws Exception { - runTest("compiler/testData/codegen/box/sam/smartCastSamConversion.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/sam/adapters") @TestDataPath("$PROJECT_ROOT") @@ -41796,181 +30757,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Adapters { @Test public void testAllFilesPresentInAdapters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/adapters"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("bridgesForOverridden.kt") - public void testBridgesForOverridden() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/bridgesForOverridden.kt"); - } - - @Test - @TestMetadata("bridgesForOverriddenComplex.kt") - public void testBridgesForOverriddenComplex() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/bridgesForOverriddenComplex.kt"); - } - - @Test - @TestMetadata("callAbstractAdapter.kt") - public void testCallAbstractAdapter() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/callAbstractAdapter.kt"); - } - - @Test - @TestMetadata("comparator.kt") - public void testComparator() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/comparator.kt"); - } - - @Test - @TestMetadata("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/constructor.kt"); - } - - @Test - @TestMetadata("doubleLongParameters.kt") - public void testDoubleLongParameters() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/doubleLongParameters.kt"); - } - - @Test - @TestMetadata("fileFilter.kt") - public void testFileFilter() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/fileFilter.kt"); - } - - @Test - @TestMetadata("genericSignature.kt") - public void testGenericSignature() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/genericSignature.kt"); - } - - @Test - @TestMetadata("implementAdapter.kt") - public void testImplementAdapter() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/implementAdapter.kt"); - } - - @Test - @TestMetadata("inheritedInKotlin.kt") - public void testInheritedInKotlin() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/inheritedInKotlin.kt"); - } - - @Test - @TestMetadata("inheritedOverriddenAdapter.kt") - public void testInheritedOverriddenAdapter() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/inheritedOverriddenAdapter.kt"); - } - - @Test - @TestMetadata("inheritedSimple.kt") - public void testInheritedSimple() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/inheritedSimple.kt"); - } - - @Test - @TestMetadata("localClass.kt") - public void testLocalClass() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/localClass.kt"); - } - - @Test - @TestMetadata("localObjectConstructor.kt") - public void testLocalObjectConstructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/localObjectConstructor.kt"); - } - - @Test - @TestMetadata("localObjectConstructorWithFnValue.kt") - public void testLocalObjectConstructorWithFnValue() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/localObjectConstructorWithFnValue.kt"); - } - - @Test - @TestMetadata("nonLiteralAndLiteralRunnable.kt") - public void testNonLiteralAndLiteralRunnable() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/nonLiteralAndLiteralRunnable.kt"); - } - - @Test - @TestMetadata("nonLiteralComparator.kt") - public void testNonLiteralComparator() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/nonLiteralComparator.kt"); - } - - @Test - @TestMetadata("nonLiteralInConstructor.kt") - public void testNonLiteralInConstructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/nonLiteralInConstructor.kt"); - } - - @Test - @TestMetadata("nonLiteralNull.kt") - public void testNonLiteralNull() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/nonLiteralNull.kt"); - } - - @Test - @TestMetadata("nonLiteralRunnable.kt") - public void testNonLiteralRunnable() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/nonLiteralRunnable.kt"); - } - - @Test - @TestMetadata("protectedFromBase.kt") - public void testProtectedFromBase() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/protectedFromBase.kt"); - } - - @Test - @TestMetadata("severalSamParameters.kt") - public void testSeveralSamParameters() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/severalSamParameters.kt"); - } - - @Test - @TestMetadata("simplest.kt") - public void testSimplest() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/simplest.kt"); - } - - @Test - @TestMetadata("superInSecondaryConstructor.kt") - public void testSuperInSecondaryConstructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/superInSecondaryConstructor.kt"); - } - - @Test - @TestMetadata("superconstructor.kt") - public void testSuperconstructor() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/superconstructor.kt"); - } - - @Test - @TestMetadata("superconstructorWithClosure.kt") - public void testSuperconstructorWithClosure() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/superconstructorWithClosure.kt"); - } - - @Test - @TestMetadata("typeParameterOfClass.kt") - public void testTypeParameterOfClass() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/typeParameterOfClass.kt"); - } - - @Test - @TestMetadata("typeParameterOfMethod.kt") - public void testTypeParameterOfMethod() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/typeParameterOfMethod.kt"); - } - - @Test - @TestMetadata("typeParameterOfOuterClass.kt") - public void testTypeParameterOfOuterClass() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/typeParameterOfOuterClass.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/adapters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -41980,73 +30767,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Operators { @Test public void testAllFilesPresentInOperators() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/adapters/operators"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("augmentedAssignmentPure.kt") - public void testAugmentedAssignmentPure() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/augmentedAssignmentPure.kt"); - } - - @Test - @TestMetadata("augmentedAssignmentViaSimpleBinary.kt") - public void testAugmentedAssignmentViaSimpleBinary() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/augmentedAssignmentViaSimpleBinary.kt"); - } - - @Test - @TestMetadata("binary.kt") - public void testBinary() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/binary.kt"); - } - - @Test - @TestMetadata("compareTo.kt") - public void testCompareTo() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/compareTo.kt"); - } - - @Test - @TestMetadata("contains.kt") - public void testContains() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/contains.kt"); - } - - @Test - @TestMetadata("get.kt") - public void testGet() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/get.kt"); - } - - @Test - @TestMetadata("invoke.kt") - public void testInvoke() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/invoke.kt"); - } - - @Test - @TestMetadata("legacyModOperator.kt") - public void testLegacyModOperator() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/legacyModOperator.kt"); - } - - @Test - @TestMetadata("multiGetSet.kt") - public void testMultiGetSet() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/multiGetSet.kt"); - } - - @Test - @TestMetadata("multiInvoke.kt") - public void testMultiInvoke() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/multiInvoke.kt"); - } - - @Test - @TestMetadata("set.kt") - public void testSet() throws Exception { - runTest("compiler/testData/codegen/box/sam/adapters/operators/set.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/adapters/operators"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -42058,7 +30779,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Approximation { @Test public void testAllFilesPresentInApproximation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/approximation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/approximation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42093,7 +30814,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Constructors { @Test public void testAllFilesPresentInConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/constructors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42102,89 +30823,17 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/sam/constructors/comparator.kt"); } - @Test - @TestMetadata("filenameFilter.kt") - public void testFilenameFilter() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/filenameFilter.kt"); - } - - @Test - @TestMetadata("kt16790.kt") - public void testKt16790() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/kt16790.kt"); - } - - @Test - @TestMetadata("kt19251.kt") - public void testKt19251() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/kt19251.kt"); - } - - @Test - @TestMetadata("kt19251_child.kt") - public void testKt19251_child() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/kt19251_child.kt"); - } - @Test @TestMetadata("nonLiteralComparator.kt") public void testNonLiteralComparator() throws Exception { runTest("compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt"); } - @Test - @TestMetadata("nonLiteralFilenameFilter.kt") - public void testNonLiteralFilenameFilter() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/nonLiteralFilenameFilter.kt"); - } - - @Test - @TestMetadata("nonLiteralRunnable.kt") - public void testNonLiteralRunnable() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/nonLiteralRunnable.kt"); - } - - @Test - @TestMetadata("nonTrivialRunnable.kt") - public void testNonTrivialRunnable() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/nonTrivialRunnable.kt"); - } - - @Test - @TestMetadata("runnable.kt") - public void testRunnable() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/runnable.kt"); - } - - @Test - @TestMetadata("runnableAccessingClosure1.kt") - public void testRunnableAccessingClosure1() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/runnableAccessingClosure1.kt"); - } - - @Test - @TestMetadata("runnableAccessingClosure2.kt") - public void testRunnableAccessingClosure2() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/runnableAccessingClosure2.kt"); - } - - @Test - @TestMetadata("samWrappersDifferentFiles.kt") - public void testSamWrappersDifferentFiles() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/samWrappersDifferentFiles.kt"); - } - @Test @TestMetadata("sameWrapperClass.kt") public void testSameWrapperClass() throws Exception { runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt"); } - - @Test - @TestMetadata("syntheticVsReal.kt") - public void testSyntheticVsReal() throws Exception { - runTest("compiler/testData/codegen/box/sam/constructors/syntheticVsReal.kt"); - } } @Nested @@ -42194,37 +30843,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Equality { @Test public void testAllFilesPresentInEquality() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/equality"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("functionReferencesBound.kt") - public void testFunctionReferencesBound() throws Exception { - runTest("compiler/testData/codegen/box/sam/equality/functionReferencesBound.kt"); - } - - @Test - @TestMetadata("functionReferencesUnbound.kt") - public void testFunctionReferencesUnbound() throws Exception { - runTest("compiler/testData/codegen/box/sam/equality/functionReferencesUnbound.kt"); - } - - @Test - @TestMetadata("lambdaRuntimeConversion.kt") - public void testLambdaRuntimeConversion() throws Exception { - runTest("compiler/testData/codegen/box/sam/equality/lambdaRuntimeConversion.kt"); - } - - @Test - @TestMetadata("localFunctionReferences.kt") - public void testLocalFunctionReferences() throws Exception { - runTest("compiler/testData/codegen/box/sam/equality/localFunctionReferences.kt"); - } - - @Test - @TestMetadata("simpleLambdas.kt") - public void testSimpleLambdas() throws Exception { - runTest("compiler/testData/codegen/box/sam/equality/simpleLambdas.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/equality"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -42236,7 +30855,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { 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); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42251,12 +30870,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { 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 { @@ -42301,31 +30914,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Script { @Test public void testAllFilesPresentInScript() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/script"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("classReference.kt") - public void testClassReference() throws Exception { - runTest("compiler/testData/codegen/box/script/classReference.kt"); - } - - @Test - @TestMetadata("localCaptureTests.kt") - public void testLocalCaptureTests() throws Exception { - runTest("compiler/testData/codegen/box/script/localCaptureTests.kt"); - } - - @Test - @TestMetadata("scripInstance.kt") - public void testScripInstance() throws Exception { - runTest("compiler/testData/codegen/box/script/scripInstance.kt"); - } - - @Test - @TestMetadata("scriptNestedClassInstance.kt") - public void testScriptNestedClassInstance() throws Exception { - runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/script"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -42336,13 +30925,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Sealed { @Test public void testAllFilesPresentInSealed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sealed"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("constructorAnnotations.kt") - public void testConstructorAnnotations() throws Exception { - runTest("compiler/testData/codegen/box/sealed/constructorAnnotations.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sealed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42395,7 +30978,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42548,24 +31131,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/secondaryConstructors/varargs.kt"); } - @Test - @TestMetadata("withGenerics.kt") - public void testWithGenerics() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/withGenerics.kt"); - } - @Test @TestMetadata("withNonLocalReturn.kt") public void testWithNonLocalReturn() throws Exception { runTest("compiler/testData/codegen/box/secondaryConstructors/withNonLocalReturn.kt"); } - @Test - @TestMetadata("withPrimary.kt") - public void testWithPrimary() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/withPrimary.kt"); - } - @Test @TestMetadata("withReturn.kt") public void testWithReturn() throws Exception { @@ -42578,18 +31149,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/secondaryConstructors/withReturnUnit.kt"); } - @Test - @TestMetadata("withVarargs.kt") - public void testWithVarargs() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/withVarargs.kt"); - } - - @Test - @TestMetadata("withoutPrimary.kt") - public void testWithoutPrimary() throws Exception { - runTest("compiler/testData/codegen/box/secondaryConstructors/withoutPrimary.kt"); - } - @Test @TestMetadata("withoutPrimarySimple.kt") public void testWithoutPrimarySimple() throws Exception { @@ -42604,25 +31163,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Smap { @Test public void testAllFilesPresentInSmap() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("chainCalls.kt") - public void testChainCalls() throws Exception { - runTest("compiler/testData/codegen/box/smap/chainCalls.kt"); - } - - @Test - @TestMetadata("infixCalls.kt") - public void testInfixCalls() throws Exception { - runTest("compiler/testData/codegen/box/smap/infixCalls.kt"); - } - - @Test - @TestMetadata("simpleCallWithParams.kt") - public void testSimpleCallWithParams() throws Exception { - runTest("compiler/testData/codegen/box/smap/simpleCallWithParams.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -42633,7 +31174,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SmartCasts { @Test public void testAllFilesPresentInSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smartCasts"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smartCasts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42702,12 +31243,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/smartCasts/kt17725.kt"); } - @Test - @TestMetadata("kt19058.kt") - public void testKt19058() throws Exception { - runTest("compiler/testData/codegen/box/smartCasts/kt19058.kt"); - } - @Test @TestMetadata("kt19100.kt") public void testKt19100() throws Exception { @@ -42720,12 +31255,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/smartCasts/kt42517.kt"); } - @Test - @TestMetadata("kt44802.kt") - public void testKt44802() throws Exception { - runTest("compiler/testData/codegen/box/smartCasts/kt44802.kt"); - } - @Test @TestMetadata("kt44804.kt") public void testKt44804() throws Exception { @@ -42750,12 +31279,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/smartCasts/kt44942.kt"); } - @Test - @TestMetadata("kt48163_smartCastToThrowable.kt") - public void testKt48163_smartCastToThrowable() throws Exception { - runTest("compiler/testData/codegen/box/smartCasts/kt48163_smartCastToThrowable.kt"); - } - @Test @TestMetadata("lambdaArgumentWithoutType.kt") public void testLambdaArgumentWithoutType() throws Exception { @@ -42794,7 +31317,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SpecialBuiltins { @Test public void testAllFilesPresentInSpecialBuiltins() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/specialBuiltins"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/specialBuiltins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -42809,30 +31332,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/specialBuiltins/bridges.kt"); } - @Test - @TestMetadata("charBuffer.kt") - public void testCharBuffer() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/charBuffer.kt"); - } - - @Test - @TestMetadata("collectionImpl.kt") - public void testCollectionImpl() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/collectionImpl.kt"); - } - @Test @TestMetadata("commonBridgesTarget.kt") public void testCommonBridgesTarget() throws Exception { runTest("compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt"); } - @Test - @TestMetadata("complexMapImpl.kt") - public void testComplexMapImpl() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/complexMapImpl.kt"); - } - @Test @TestMetadata("emptyList.kt") public void testEmptyList() throws Exception { @@ -42881,18 +31386,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt"); } - @Test - @TestMetadata("javaMapWithCustomEntries.kt") - public void testJavaMapWithCustomEntries() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/javaMapWithCustomEntries.kt"); - } - - @Test - @TestMetadata("mapGetOrDefault.kt") - public void testMapGetOrDefault() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/mapGetOrDefault.kt"); - } - @Test @TestMetadata("maps.kt") public void testMaps() throws Exception { @@ -42935,12 +31428,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt"); } - @Test - @TestMetadata("specialBridgeModality.kt") - public void testSpecialBridgeModality() throws Exception { - runTest("compiler/testData/codegen/box/specialBuiltins/specialBridgeModality.kt"); - } - @Test @TestMetadata("throwable.kt") public void testThrowable() throws Exception { @@ -42985,7 +31472,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/statics"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/statics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43000,24 +31487,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/statics/anonymousInitializerInClassObject.kt"); } - @Test - @TestMetadata("fields.kt") - public void testFields() throws Exception { - runTest("compiler/testData/codegen/box/statics/fields.kt"); - } - - @Test - @TestMetadata("functions.kt") - public void testFunctions() throws Exception { - runTest("compiler/testData/codegen/box/statics/functions.kt"); - } - - @Test - @TestMetadata("hidePrivateByPublic.kt") - public void testHidePrivateByPublic() throws Exception { - runTest("compiler/testData/codegen/box/statics/hidePrivateByPublic.kt"); - } - @Test @TestMetadata("incInClassObject.kt") public void testIncInClassObject() throws Exception { @@ -43042,54 +31511,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/statics/inheritedPropertyInObject.kt"); } - @Test - @TestMetadata("inlineCallsStaticMethod.kt") - public void testInlineCallsStaticMethod() throws Exception { - runTest("compiler/testData/codegen/box/statics/inlineCallsStaticMethod.kt"); - } - - @Test - @TestMetadata("inlineCallsStaticMethodFromOtherPackage.kt") - public void testInlineCallsStaticMethodFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/box/statics/inlineCallsStaticMethodFromOtherPackage.kt"); - } - @Test @TestMetadata("kt8089.kt") public void testKt8089() throws Exception { runTest("compiler/testData/codegen/box/statics/kt8089.kt"); } - @Test - @TestMetadata("protectedSamConstructor.kt") - public void testProtectedSamConstructor() throws Exception { - runTest("compiler/testData/codegen/box/statics/protectedSamConstructor.kt"); - } - - @Test - @TestMetadata("protectedStatic.kt") - public void testProtectedStatic() throws Exception { - runTest("compiler/testData/codegen/box/statics/protectedStatic.kt"); - } - - @Test - @TestMetadata("protectedStatic2.kt") - public void testProtectedStatic2() throws Exception { - runTest("compiler/testData/codegen/box/statics/protectedStatic2.kt"); - } - - @Test - @TestMetadata("protectedStaticAndInline.kt") - public void testProtectedStaticAndInline() throws Exception { - runTest("compiler/testData/codegen/box/statics/protectedStaticAndInline.kt"); - } - - @Test - @TestMetadata("simpleStaticInJavaSuperChain.kt") - public void testSimpleStaticInJavaSuperChain() throws Exception { - runTest("compiler/testData/codegen/box/statics/simpleStaticInJavaSuperChain.kt"); - } - @Test @TestMetadata("syntheticAccessor.kt") public void testSyntheticAccessor() throws Exception { @@ -43104,7 +31531,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class StoreStackBeforeInline { @Test public void testAllFilesPresentInStoreStackBeforeInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43145,7 +31572,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Strings { @Test public void testAllFilesPresentInStrings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/strings"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/strings"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43184,12 +31611,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/strings/interpolation.kt"); } - @Test - @TestMetadata("javaToStringNPE.kt") - public void testJavaToStringNPE() throws Exception { - runTest("compiler/testData/codegen/box/strings/javaToStringNPE.kt"); - } - @Test @TestMetadata("kt13213.kt") public void testKt13213() throws Exception { @@ -43220,12 +31641,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/strings/kt3652.kt"); } - @Test - @TestMetadata("kt42457_old.kt") - public void testKt42457_old() throws Exception { - runTest("compiler/testData/codegen/box/strings/kt42457_old.kt"); - } - @Test @TestMetadata("kt47917.kt") public void testKt47917() throws Exception { @@ -43304,12 +31719,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/strings/stringBuilderAppend.kt"); } - @Test - @TestMetadata("stringFromJavaPlus.kt") - public void testStringFromJavaPlus() throws Exception { - runTest("compiler/testData/codegen/box/strings/stringFromJavaPlus.kt"); - } - @Test @TestMetadata("stringPlusOnlyWorksOnString.kt") public void testStringPlusOnlyWorksOnString() throws Exception { @@ -43360,7 +31769,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Super { @Test public void testAllFilesPresentInSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43550,7 +31959,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuperConstructor { @Test public void testAllFilesPresentInSuperConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super/superConstructor"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super/superConstructor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43604,7 +32013,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43625,12 +32034,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/suspendConversion/basicSuspendConversionForCallableReference.kt"); } - @Test - @TestMetadata("basicSuspendConversionGenerics.kt") - public void testBasicSuspendConversionGenerics() throws Exception { - runTest("compiler/testData/codegen/box/suspendConversion/basicSuspendConversionGenerics.kt"); - } - @Test @TestMetadata("chainedFunSuspendConversionForSimpleExpression.kt") public void testChainedFunSuspendConversionForSimpleExpression() throws Exception { @@ -43687,73 +32090,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Synchronized { @Test public void testAllFilesPresentInSynchronized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("changeMonitor.kt") - public void testChangeMonitor() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/changeMonitor.kt"); - } - - @Test - @TestMetadata("exceptionInMonitorExpression.kt") - public void testExceptionInMonitorExpression() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/exceptionInMonitorExpression.kt"); - } - - @Test - @TestMetadata("finally.kt") - public void testFinally() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/finally.kt"); - } - - @Test - @TestMetadata("longValue.kt") - public void testLongValue() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/longValue.kt"); - } - - @Test - @TestMetadata("nestedDifferentObjects.kt") - public void testNestedDifferentObjects() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/nestedDifferentObjects.kt"); - } - - @Test - @TestMetadata("nestedSameObject.kt") - public void testNestedSameObject() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/nestedSameObject.kt"); - } - - @Test - @TestMetadata("nonLocalReturn.kt") - public void testNonLocalReturn() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/nonLocalReturn.kt"); - } - - @Test - @TestMetadata("objectValue.kt") - public void testObjectValue() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/objectValue.kt"); - } - - @Test - @TestMetadata("sync.kt") - public void testSync() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/sync.kt"); - } - - @Test - @TestMetadata("value.kt") - public void testValue() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/value.kt"); - } - - @Test - @TestMetadata("wait.kt") - public void testWait() throws Exception { - runTest("compiler/testData/codegen/box/synchronized/wait.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -43806,7 +32143,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInSyntheticAccessors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -43821,18 +32158,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt"); } - @Test - @TestMetadata("jvmField.kt") - public void testJvmField() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/jvmField.kt"); - } - - @Test - @TestMetadata("jvmNameForAccessors.kt") - public void testJvmNameForAccessors() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/jvmNameForAccessors.kt"); - } - @Test @TestMetadata("kt10047.kt") public void testKt10047() throws Exception { @@ -43851,30 +32176,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt"); } - @Test - @TestMetadata("kt48331.kt") - public void testKt48331() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/kt48331.kt"); - } - - @Test - @TestMetadata("kt48954.kt") - public void testKt48954() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/kt48954.kt"); - } - @Test @TestMetadata("kt49316.kt") public void testKt49316() throws Exception { runTest("compiler/testData/codegen/box/syntheticAccessors/kt49316.kt"); } - @Test - @TestMetadata("kt49316a.kt") - public void testKt49316a() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/kt49316a.kt"); - } - @Test @TestMetadata("kt9717.kt") public void testKt9717() throws Exception { @@ -43899,48 +32206,18 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/syntheticAccessors/kt9958Interface.kt"); } - @Test - @TestMetadata("packagePrivate.kt") - public void testPackagePrivate() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/packagePrivate.kt"); - } - - @Test - @TestMetadata("packagePrivateInPrivateInline.kt") - public void testPackagePrivateInPrivateInline() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/packagePrivateInPrivateInline.kt"); - } - @Test @TestMetadata("protectedFromLambda.kt") public void testProtectedFromLambda() throws Exception { runTest("compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt"); } - @Test - @TestMetadata("protectedSuper.kt") - public void testProtectedSuper() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedSuper.kt"); - } - - @Test - @TestMetadata("protectedSuperclassCompanionObjectMember.kt") - public void testProtectedSuperclassCompanionObjectMember() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedSuperclassCompanionObjectMember.kt"); - } - @Test @TestMetadata("superCallFromMultipleSubclasses.kt") public void testSuperCallFromMultipleSubclasses() throws Exception { runTest("compiler/testData/codegen/box/syntheticAccessors/superCallFromMultipleSubclasses.kt"); } - @Test - @TestMetadata("syntheticAccessorNames.kt") - public void testSyntheticAccessorNames() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/syntheticAccessorNames.kt"); - } - @Nested @TestMetadata("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor") @TestDataPath("$PROJECT_ROOT") @@ -43948,61 +32225,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProtectedJavaFieldAccessor { @Test public void testAllFilesPresentInProtectedJavaFieldAccessor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt44855.kt") - public void testKt44855() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855.kt"); - } - - @Test - @TestMetadata("kt44855a.kt") - public void testKt44855a() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855a.kt"); - } - - @Test - @TestMetadata("kt46578_anonObject.kt") - public void testKt46578_anonObject() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_anonObject.kt"); - } - - @Test - @TestMetadata("kt46578_delegated.kt") - public void testKt46578_delegated() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_delegated.kt"); - } - - @Test - @TestMetadata("kt46578_kotlin_delegated.kt") - public void testKt46578_kotlin_delegated() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_kotlin_delegated.kt"); - } - - @Test - @TestMetadata("kt46578_kotlin_propertyRef.kt") - public void testKt46578_kotlin_propertyRef() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_kotlin_propertyRef.kt"); - } - - @Test - @TestMetadata("kt46578_lambda.kt") - public void testKt46578_lambda() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_lambda.kt"); - } - - @Test - @TestMetadata("kt46578_propertyRef.kt") - public void testKt46578_propertyRef() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46578_propertyRef.kt"); - } - - @Test - @TestMetadata("kt46900_jkk_inheritance.kt") - public void testKt46900_jkk_inheritance() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt46900_jkk_inheritance.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -44013,19 +32236,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProtectedMemberReferenceAccessor { @Test public void testAllFilesPresentInProtectedMemberReferenceAccessor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("kt46597_crossinline_java_field.kt") - public void testKt46597_crossinline_java_field() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor/kt46597_crossinline_java_field.kt"); - } - - @Test - @TestMetadata("kt46597_crossinline_jvmField_property.kt") - public void testKt46597_crossinline_jvmField_property() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor/kt46597_crossinline_jvmField_property.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44040,18 +32251,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor/kt46597_crossinline_property.kt"); } - @Test - @TestMetadata("kt46597_java_field.kt") - public void testKt46597_java_field() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor/kt46597_java_field.kt"); - } - - @Test - @TestMetadata("kt46597_jvmField_property.kt") - public void testKt46597_jvmField_property() throws Exception { - runTest("compiler/testData/codegen/box/syntheticAccessors/protectedMemberReferenceAccessor/kt46597_jvmField_property.kt"); - } - @Test @TestMetadata("kt46597_method.kt") public void testKt46597_method() throws Exception { @@ -44073,73 +32272,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SyntheticExtensions { @Test public void testAllFilesPresentInSyntheticExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("firstCapitalizedProperty.kt") - public void testFirstCapitalizedProperty() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/firstCapitalizedProperty.kt"); - } - - @Test - @TestMetadata("fromTwoBases.kt") - public void testFromTwoBases() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/fromTwoBases.kt"); - } - - @Test - @TestMetadata("getter.kt") - public void testGetter() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/getter.kt"); - } - - @Test - @TestMetadata("implicitReceiver.kt") - public void testImplicitReceiver() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/implicitReceiver.kt"); - } - - @Test - @TestMetadata("overrideOnlyGetter.kt") - public void testOverrideOnlyGetter() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/overrideOnlyGetter.kt"); - } - - @Test - @TestMetadata("plusPlus.kt") - public void testPlusPlus() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/plusPlus.kt"); - } - - @Test - @TestMetadata("protected.kt") - public void testProtected() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/protected.kt"); - } - - @Test - @TestMetadata("protectedSetter.kt") - public void testProtectedSetter() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/protectedSetter.kt"); - } - - @Test - @TestMetadata("setter.kt") - public void testSetter() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/setter.kt"); - } - - @Test - @TestMetadata("setterNonVoid1.kt") - public void testSetterNonVoid1() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/setterNonVoid1.kt"); - } - - @Test - @TestMetadata("setterNonVoid2.kt") - public void testSetterNonVoid2() throws Exception { - runTest("compiler/testData/codegen/box/syntheticExtensions/setterNonVoid2.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -44150,25 +32283,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Throws { @Test public void testAllFilesPresentInThrows() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/throws"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("delegationAndThrows.kt") - public void testDelegationAndThrows() throws Exception { - runTest("compiler/testData/codegen/box/throws/delegationAndThrows.kt"); - } - - @Test - @TestMetadata("delegationAndThrows_1_3.kt") - public void testDelegationAndThrows_1_3() throws Exception { - runTest("compiler/testData/codegen/box/throws/delegationAndThrows_1_3.kt"); - } - - @Test - @TestMetadata("delegationAndThrows_AgainstCompiled.kt") - public void testDelegationAndThrows_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/throws/delegationAndThrows_AgainstCompiled.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/throws"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -44179,13 +32294,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ToArray { @Test public void testAllFilesPresentInToArray() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("incorrectToArrayDetection.kt") - public void testIncorrectToArrayDetection() throws Exception { - runTest("compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44200,36 +32309,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); } - @Test - @TestMetadata("toArray.kt") - public void testToArray() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toArray.kt"); - } - - @Test - @TestMetadata("toArrayAlreadyPresent.kt") - public void testToArrayAlreadyPresent() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toArrayAlreadyPresent.kt"); - } - - @Test - @TestMetadata("toArrayFromJava.kt") - public void testToArrayFromJava() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toArrayFromJava.kt"); - } - - @Test - @TestMetadata("toArrayShouldBePublic.kt") - public void testToArrayShouldBePublic() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toArrayShouldBePublic.kt"); - } - - @Test - @TestMetadata("toArrayShouldBePublicWithJava.kt") - public void testToArrayShouldBePublicWithJava() throws Exception { - runTest("compiler/testData/codegen/box/toArray/toArrayShouldBePublicWithJava.kt"); - } - @Test @TestMetadata("toTypedArray.kt") public void testToTypedArray() throws Exception { @@ -44244,19 +32323,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TopLevelPrivate { @Test public void testAllFilesPresentInTopLevelPrivate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("noPrivateNoAccessorsInMultiFileFacade.kt") - public void testNoPrivateNoAccessorsInMultiFileFacade() throws Exception { - runTest("compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade.kt"); - } - - @Test - @TestMetadata("noPrivateNoAccessorsInMultiFileFacade2.kt") - public void testNoPrivateNoAccessorsInMultiFileFacade2() throws Exception { - runTest("compiler/testData/codegen/box/topLevelPrivate/noPrivateNoAccessorsInMultiFileFacade2.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44265,23 +32332,11 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/topLevelPrivate/privateInInlineNested.kt"); } - @Test - @TestMetadata("privateVisibility.kt") - public void testPrivateVisibility() throws Exception { - runTest("compiler/testData/codegen/box/topLevelPrivate/privateVisibility.kt"); - } - @Test @TestMetadata("syntheticAccessor.kt") public void testSyntheticAccessor() throws Exception { runTest("compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt"); } - - @Test - @TestMetadata("syntheticAccessorInMultiFile.kt") - public void testSyntheticAccessorInMultiFile() throws Exception { - runTest("compiler/testData/codegen/box/topLevelPrivate/syntheticAccessorInMultiFile.kt"); - } } @Nested @@ -44291,7 +32346,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TrailingComma { @Test public void testAllFilesPresentInTrailingComma() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/trailingComma"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/trailingComma"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44306,12 +32361,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @TestDataPath("$PROJECT_ROOT") @NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class) public class Traits { - @Test - @TestMetadata("abstractClassInheritsFromInterface.kt") - public void testAbstractClassInheritsFromInterface() throws Exception { - runTest("compiler/testData/codegen/box/traits/abstractClassInheritsFromInterface.kt"); - } - @Test @TestMetadata("abstractClassWithFakeOverride.kt") public void testAbstractClassWithFakeOverride() throws Exception { @@ -44320,19 +32369,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInTraits() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/traits"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultImplCall.kt") - public void testDefaultImplCall() throws Exception { - runTest("compiler/testData/codegen/box/traits/defaultImplCall.kt"); - } - - @Test - @TestMetadata("defaultMethod.kt") - public void testDefaultMethod() throws Exception { - runTest("compiler/testData/codegen/box/traits/defaultMethod.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/traits"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44365,18 +32402,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/traits/indirectlyInheritPropertyGetter.kt"); } - @Test - @TestMetadata("inheritJavaInterface.kt") - public void testInheritJavaInterface() throws Exception { - runTest("compiler/testData/codegen/box/traits/inheritJavaInterface.kt"); - } - - @Test - @TestMetadata("inheritJavaInterface_AgainstCompiled.kt") - public void testInheritJavaInterface_AgainstCompiled() throws Exception { - runTest("compiler/testData/codegen/box/traits/inheritJavaInterface_AgainstCompiled.kt"); - } - @Test @TestMetadata("inheritedFun.kt") public void testInheritedFun() throws Exception { @@ -44389,12 +32414,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/traits/inheritedVar.kt"); } - @Test - @TestMetadata("interfaceDefaultImpls.kt") - public void testInterfaceDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/traits/interfaceDefaultImpls.kt"); - } - @Test @TestMetadata("interfaceWithNonAbstractFunIndirect.kt") public void testInterfaceWithNonAbstractFunIndirect() throws Exception { @@ -44485,12 +32504,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/traits/multiple.kt"); } - @Test - @TestMetadata("multipleImplFromJava.kt") - public void testMultipleImplFromJava() throws Exception { - runTest("compiler/testData/codegen/box/traits/multipleImplFromJava.kt"); - } - @Test @TestMetadata("noPrivateDelegation.kt") public void testNoPrivateDelegation() throws Exception { @@ -44565,13 +32578,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeInfo { @Test public void testAllFilesPresentInTypeInfo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeInfo"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("asInLoop.kt") - public void testAsInLoop() throws Exception { - runTest("compiler/testData/codegen/box/typeInfo/asInLoop.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeInfo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44618,25 +32625,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TypeMapping { @Test public void testAllFilesPresentInTypeMapping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("enhancedPrimitiveInReturnType.kt") - public void testEnhancedPrimitiveInReturnType() throws Exception { - runTest("compiler/testData/codegen/box/typeMapping/enhancedPrimitiveInReturnType.kt"); - } - - @Test - @TestMetadata("enhancedPrimitives.kt") - public void testEnhancedPrimitives() throws Exception { - runTest("compiler/testData/codegen/box/typeMapping/enhancedPrimitives.kt"); - } - - @Test - @TestMetadata("genericTypeWithNothing.kt") - public void testGenericTypeWithNothing() throws Exception { - runTest("compiler/testData/codegen/box/typeMapping/genericTypeWithNothing.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44645,12 +32634,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/typeMapping/kt2831.kt"); } - @Test - @TestMetadata("kt309.kt") - public void testKt309() throws Exception { - runTest("compiler/testData/codegen/box/typeMapping/kt309.kt"); - } - @Test @TestMetadata("kt3286.kt") public void testKt3286() throws Exception { @@ -44686,12 +32669,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testNullableNothing() throws Exception { runTest("compiler/testData/codegen/box/typeMapping/nullableNothing.kt"); } - - @Test - @TestMetadata("typeParameterMultipleBounds.kt") - public void testTypeParameterMultipleBounds() throws Exception { - runTest("compiler/testData/codegen/box/typeMapping/typeParameterMultipleBounds.kt"); - } } @Nested @@ -44701,7 +32678,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Typealias { @Test public void testAllFilesPresentInTypealias() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44740,12 +32717,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/typealias/innerClassTypeAliasConstructorInSupertypes.kt"); } - @Test - @TestMetadata("javaStaticMembersViaTypeAlias.kt") - public void testJavaStaticMembersViaTypeAlias() throws Exception { - runTest("compiler/testData/codegen/box/typealias/javaStaticMembersViaTypeAlias.kt"); - } - @Test @TestMetadata("kt15109.kt") public void testKt15109() throws Exception { @@ -44850,7 +32821,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnaryOp { @Test public void testAllFilesPresentInUnaryOp() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unaryOp"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unaryOp"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44897,7 +32868,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnderscoredTypeArguments { @Test public void testAllFilesPresentInUnderscoredTypeArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/underscoredTypeArguments"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/underscoredTypeArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -44906,12 +32877,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/underscoredTypeArguments/backTicked.kt"); } - @Test - @TestMetadata("dependentTypeParameters.kt") - public void testDependentTypeParameters() throws Exception { - runTest("compiler/testData/codegen/box/underscoredTypeArguments/dependentTypeParameters.kt"); - } - @Test @TestMetadata("lambdaInputType.kt") public void testLambdaInputType() throws Exception { @@ -44938,7 +32903,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unit"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unit"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45021,7 +32986,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnsignedTypes { @Test public void testAllFilesPresentInUnsignedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45054,18 +33019,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/unsignedTypes/equalsImplForInlineClassWrappingNullableInlineClass.kt"); } - @Test - @TestMetadata("evaluateConstructorOfUnsignedArrayType.kt") - public void testEvaluateConstructorOfUnsignedArrayType() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/evaluateConstructorOfUnsignedArrayType.kt"); - } - - @Test - @TestMetadata("evaluateConstructorOfUnsignedType.kt") - public void testEvaluateConstructorOfUnsignedType() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/evaluateConstructorOfUnsignedType.kt"); - } - @Test @TestMetadata("forEachIndexedInListOfUInts.kt") public void testForEachIndexedInListOfUInts() throws Exception { @@ -45295,55 +33248,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Jvm8Intrinsics { @Test public void testAllFilesPresentInJvm8Intrinsics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("unsignedIntCompare_jvm8.kt") - public void testUnsignedIntCompare_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedIntCompare_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedIntDivide_jvm8.kt") - public void testUnsignedIntDivide_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedIntDivide_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedIntRemainder_jvm8.kt") - public void testUnsignedIntRemainder_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedIntRemainder_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedIntToString_jvm8.kt") - public void testUnsignedIntToString_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedIntToString_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedLongCompare_jvm8.kt") - public void testUnsignedLongCompare_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedLongCompare_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedLongDivide_jvm8.kt") - public void testUnsignedLongDivide_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedLongDivide_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedLongRemainder_jvm8.kt") - public void testUnsignedLongRemainder_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedLongRemainder_jvm8.kt"); - } - - @Test - @TestMetadata("unsignedLongToString_jvm8.kt") - public void testUnsignedLongToString_jvm8() throws Exception { - runTest("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics/unsignedLongToString_jvm8.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unsignedTypes/jvm8Intrinsics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -45355,7 +33260,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ValueClasses { @Test public void testAllFilesPresentInValueClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45372,13 +33277,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Vararg { @Test public void testAllFilesPresentInVararg() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("assigningArrayToVarargInAnnotation.kt") - public void testAssigningArrayToVarargInAnnotation() throws Exception { - runTest("compiler/testData/codegen/box/vararg/assigningArrayToVarargInAnnotation.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45387,12 +33286,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt"); } - @Test - @TestMetadata("emptyVarargOfBoxedPrimitiveType.kt") - public void testEmptyVarargOfBoxedPrimitiveType() throws Exception { - runTest("compiler/testData/codegen/box/vararg/emptyVarargOfBoxedPrimitiveType.kt"); - } - @Test @TestMetadata("evaluationOrder.kt") public void testEvaluationOrder() throws Exception { @@ -45423,18 +33316,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/vararg/kt37779.kt"); } - @Test - @TestMetadata("kt45187.kt") - public void testKt45187() throws Exception { - runTest("compiler/testData/codegen/box/vararg/kt45187.kt"); - } - - @Test - @TestMetadata("kt46092.kt") - public void testKt46092() throws Exception { - runTest("compiler/testData/codegen/box/vararg/kt46092.kt"); - } - @Test @TestMetadata("kt581.kt") public void testKt581() throws Exception { @@ -45453,12 +33334,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/vararg/kt796_797.kt"); } - @Test - @TestMetadata("notInLastPosition.kt") - public void testNotInLastPosition() throws Exception { - runTest("compiler/testData/codegen/box/vararg/notInLastPosition.kt"); - } - @Test @TestMetadata("referenceToContainsFromVarargParameter.kt") public void testReferenceToContainsFromVarargParameter() throws Exception { @@ -45489,35 +33364,11 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/vararg/varargInFunParam.kt"); } - @Test - @TestMetadata("varargInJava.kt") - public void testVarargInJava() throws Exception { - runTest("compiler/testData/codegen/box/vararg/varargInJava.kt"); - } - @Test @TestMetadata("varargsAndFunctionLiterals.kt") public void testVarargsAndFunctionLiterals() throws Exception { runTest("compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt"); } - - @Test - @TestMetadata("varargsOverride.kt") - public void testVarargsOverride() throws Exception { - runTest("compiler/testData/codegen/box/vararg/varargsOverride.kt"); - } - - @Test - @TestMetadata("varargsOverride2.kt") - public void testVarargsOverride2() throws Exception { - runTest("compiler/testData/codegen/box/vararg/varargsOverride2.kt"); - } - - @Test - @TestMetadata("varargsOverride3.kt") - public void testVarargsOverride3() throws Exception { - runTest("compiler/testData/codegen/box/vararg/varargsOverride3.kt"); - } } @Nested @@ -45527,7 +33378,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class When { @Test public void testAllFilesPresentInWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45614,12 +33465,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/when/kt2466.kt"); } - @Test - @TestMetadata("kt43242.kt") - public void testKt43242() throws Exception { - runTest("compiler/testData/codegen/box/when/kt43242.kt"); - } - @Test @TestMetadata("kt45081.kt") public void testKt45081() throws Exception { @@ -45807,7 +33652,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EnumOptimization { @Test public void testAllFilesPresentInEnumOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45926,7 +33771,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class StringOptimization { @Test public void testAllFilesPresentInStringOptimization() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -45953,24 +33798,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt"); } - @Test - @TestMetadata("enhancedNullability.kt") - public void testEnhancedNullability() throws Exception { - runTest("compiler/testData/codegen/box/when/stringOptimization/enhancedNullability.kt"); - } - @Test @TestMetadata("expression.kt") public void testExpression() throws Exception { runTest("compiler/testData/codegen/box/when/stringOptimization/expression.kt"); } - @Test - @TestMetadata("flexibleNullability.kt") - public void testFlexibleNullability() throws Exception { - runTest("compiler/testData/codegen/box/when/stringOptimization/flexibleNullability.kt"); - } - @Test @TestMetadata("nullability.kt") public void testNullability() throws Exception { @@ -46003,7 +33836,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class WhenSubjectVariable { @Test public void testAllFilesPresentInWhenSubjectVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/whenSubjectVariable"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/whenSubjectVariable"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46118,7 +33951,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BoxInline { @Test public void testAllFilesPresentInBoxInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -46128,7 +33961,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/annotations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46151,7 +33984,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class AnonymousObject { @Test public void testAllFilesPresentInAnonymousObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46268,12 +34101,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/inlineCallInsideInlineLambda.kt"); } - @Test - @TestMetadata("kt13133.kt") - public void testKt13133() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt13133.kt"); - } - @Test @TestMetadata("kt13182.kt") public void testKt13182() throws Exception { @@ -46310,12 +34137,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt15751.kt"); } - @Test - @TestMetadata("kt16193.kt") - public void testKt16193() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt16193.kt"); - } - @Test @TestMetadata("kt17972.kt") public void testKt17972() throws Exception { @@ -46376,36 +34197,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19399.kt"); } - @Test - @TestMetadata("kt19434.kt") - public void testKt19434() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19434.kt"); - } - - @Test - @TestMetadata("kt19434_2.kt") - public void testKt19434_2() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19434_2.kt"); - } - @Test @TestMetadata("kt19723.kt") public void testKt19723() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } - @Test - @TestMetadata("kt29595.kt") - public void testKt29595() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); - } - - @Test - @TestMetadata("kt30696.kt") - public void testKt30696() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt"); - } - @Test @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { @@ -46418,12 +34215,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt38197.kt"); } - @Test - @TestMetadata("kt41174.kt") - public void testKt41174() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/kt41174.kt"); - } - @Test @TestMetadata("kt42815.kt") public void testKt42815() throws Exception { @@ -46502,12 +34293,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/safeCall_2.kt"); } - @Test - @TestMetadata("sam.kt") - public void testSam() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam.kt"); - } - @Test @TestMetadata("sharedFromCrossinline.kt") public void testSharedFromCrossinline() throws Exception { @@ -46539,7 +34324,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EnumWhen { @Test public void testAllFilesPresentInEnumWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/enumWhen"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/enumWhen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46574,7 +34359,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProperRecapturing { @Test public void testAllFilesPresentInProperRecapturing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/properRecapturing"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/properRecapturing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46621,7 +34406,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ProperRecapturingInClass { @Test public void testAllFilesPresentInProperRecapturingInClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/properRecapturingInClass"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/properRecapturingInClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46704,49 +34489,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/sam"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousObjectToSam.kt") - public void testAnonymousObjectToSam() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/anonymousObjectToSam.kt"); - } - - @Test - @TestMetadata("kt17091.kt") - public void testKt17091() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/kt17091.kt"); - } - - @Test - @TestMetadata("kt21671.kt") - public void testKt21671() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/kt21671.kt"); - } - - @Test - @TestMetadata("kt21671_2.kt") - public void testKt21671_2() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/kt21671_2.kt"); - } - - @Test - @TestMetadata("kt21671_3.kt") - public void testKt21671_3() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/kt21671_3.kt"); - } - - @Test - @TestMetadata("kt22304.kt") - public void testKt22304() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/kt22304.kt"); - } - - @Test - @TestMetadata("samOnCallSite.kt") - public void testSamOnCallSite() throws Exception { - runTest("compiler/testData/codegen/boxInline/anonymousObject/sam/samOnCallSite.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -46757,7 +34500,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TwoCapturedReceivers { @Test public void testAllFilesPresentInTwoCapturedReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/twoCapturedReceivers"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject/twoCapturedReceivers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46811,7 +34554,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ArgumentOrder { @Test public void testAllFilesPresentInArgumentOrder() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46906,7 +34649,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ArrayConvention { @Test public void testAllFilesPresentInArrayConvention() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/arrayConvention"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/arrayConvention"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -46953,91 +34696,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Assert { @Test public void testAllFilesPresentInAssert() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/assert"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("jvmAssertInlineFunctionAssertionsDisabled.kt") - public void testJvmAssertInlineFunctionAssertionsDisabled() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsDisabled.kt"); - } - - @Test - @TestMetadata("jvmAssertInlineFunctionAssertionsEnabled.kt") - public void testJvmAssertInlineFunctionAssertionsEnabled() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmAssertInlineFunctionAssertionsEnabled.kt"); - } - - @Test - @TestMetadata("jvmAssertInlineLambda.kt") - public void testJvmAssertInlineLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmAssertInlineLambda.kt"); - } - - @Test - @TestMetadata("jvmClassInitializer.kt") - public void testJvmClassInitializer() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmClassInitializer.kt"); - } - - @Test - @TestMetadata("jvmCompanion.kt") - public void testJvmCompanion() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCompanion.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineLambda.kt") - public void testJvmCrossinlineLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineLambda.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineLambda2.kt") - public void testJvmCrossinlineLambda2() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineLambda2.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineLambdaDeclarationSite.kt") - public void testJvmCrossinlineLambdaDeclarationSite() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineLambdaDeclarationSite.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineLambdaDeclarationSiteOnly.kt") - public void testJvmCrossinlineLambdaDeclarationSiteOnly() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineLambdaDeclarationSiteOnly.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineRedundant.kt") - public void testJvmCrossinlineRedundant() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineRedundant.kt"); - } - - @Test - @TestMetadata("jvmCrossinlineSAMDeclarationSite.kt") - public void testJvmCrossinlineSAMDeclarationSite() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmCrossinlineSAMDeclarationSite.kt"); - } - - @Test - @TestMetadata("jvmDoubleInline.kt") - public void testJvmDoubleInline() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt"); - } - - @Test - @TestMetadata("jvmInlineIntoTwoMethods.kt") - public void testJvmInlineIntoTwoMethods() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt"); - } - - @Test - @TestMetadata("jvmInlineUsedAsNoinline.kt") - public void testJvmInlineUsedAsNoinline() throws Exception { - runTest("compiler/testData/codegen/boxInline/assert/jvmInlineUsedAsNoinline.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/assert"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -47048,19 +34707,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Builders { @Test public void testAllFilesPresentInBuilders() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/builders"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("builders.kt") - public void testBuilders() throws Exception { - runTest("compiler/testData/codegen/boxInline/builders/builders.kt"); - } - - @Test - @TestMetadata("buildersAndLambdaCapturing.kt") - public void testBuildersAndLambdaCapturing() throws Exception { - runTest("compiler/testData/codegen/boxInline/builders/buildersAndLambdaCapturing.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/builders"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -47071,13 +34718,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class BytecodePreprocessing { @Test public void testAllFilesPresentInBytecodePreprocessing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/bytecodePreprocessing"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("apiVersionAtLeast1.kt") - public void testApiVersionAtLeast1() throws Exception { - runTest("compiler/testData/codegen/boxInline/bytecodePreprocessing/apiVersionAtLeast1.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/bytecodePreprocessing"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -47094,7 +34735,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47127,12 +34768,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/callableReference/intrinsic.kt"); } - @Test - @TestMetadata("jvmFieldProperty.kt") - public void testJvmFieldProperty() throws Exception { - runTest("compiler/testData/codegen/boxInline/callableReference/jvmFieldProperty.kt"); - } - @Test @TestMetadata("kt15449.kt") public void testKt15449() throws Exception { @@ -47194,7 +34829,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class AdaptedReferences { @Test public void testAllFilesPresentInAdaptedReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47235,7 +34870,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47304,12 +34939,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt"); } - @Test - @TestMetadata("jvmFieldProperty.kt") - public void testJvmFieldProperty() throws Exception { - runTest("compiler/testData/codegen/boxInline/callableReference/bound/jvmFieldProperty.kt"); - } - @Test @TestMetadata("kt18728.kt") public void testKt18728() throws Exception { @@ -47409,7 +35038,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Capture { @Test public void testAllFilesPresentInCapture() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/capture"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/capture"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47468,7 +35097,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Complex { @Test public void testAllFilesPresentInComplex() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/complex"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/complex"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47477,24 +35106,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/complex/closureChain.kt"); } - @Test - @TestMetadata("forEachLine.kt") - public void testForEachLine() throws Exception { - runTest("compiler/testData/codegen/boxInline/complex/forEachLine.kt"); - } - @Test @TestMetadata("kt44429.kt") public void testKt44429() throws Exception { runTest("compiler/testData/codegen/boxInline/complex/kt44429.kt"); } - @Test - @TestMetadata("lambdaInLambda.kt") - public void testLambdaInLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/complex/lambdaInLambda.kt"); - } - @Test @TestMetadata("swapAndWith.kt") public void testSwapAndWith() throws Exception { @@ -47527,7 +35144,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ComplexStack { @Test public void testAllFilesPresentInComplexStack() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/complexStack"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/complexStack"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47592,7 +35209,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Contracts { @Test public void testAllFilesPresentInContracts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/contracts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47705,7 +35322,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInDefaultValues() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47823,7 +35440,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LambdaInlining { @Test public void testAllFilesPresentInLambdaInlining() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -47904,12 +35521,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } - @Test - @TestMetadata("jvmStaticDefault.kt") - public void testJvmStaticDefault() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt"); - } - @Test @TestMetadata("kt21827.kt") public void testKt21827() throws Exception { @@ -47934,12 +35545,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/kt25106.kt"); } - @Test - @TestMetadata("kt26636.kt") - public void testKt26636() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/kt26636.kt"); - } - @Test @TestMetadata("lambdaTakesResult.kt") public void testLambdaTakesResult() throws Exception { @@ -48043,7 +35648,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48235,7 +35840,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInMaskElimination() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/maskElimination"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues/maskElimination"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48277,7 +35882,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DelegatedProperty { @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48318,49 +35923,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class EnclosingInfo { @Test public void testAllFilesPresentInEnclosingInfo() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/enclosingInfo"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("anonymousInLambda.kt") - public void testAnonymousInLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/anonymousInLambda.kt"); - } - - @Test - @TestMetadata("inlineChain.kt") - public void testInlineChain() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/inlineChain.kt"); - } - - @Test - @TestMetadata("inlineChain2.kt") - public void testInlineChain2() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/inlineChain2.kt"); - } - - @Test - @TestMetadata("objectInInlineFun.kt") - public void testObjectInInlineFun() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/objectInInlineFun.kt"); - } - - @Test - @TestMetadata("transformedConstructor.kt") - public void testTransformedConstructor() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructor.kt"); - } - - @Test - @TestMetadata("transformedConstructorWithAdditionalObject.kt") - public void testTransformedConstructorWithAdditionalObject() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithAdditionalObject.kt"); - } - - @Test - @TestMetadata("transformedConstructorWithNestedInline.kt") - public void testTransformedConstructorWithNestedInline() throws Exception { - runTest("compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithNestedInline.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/enclosingInfo"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -48371,7 +35934,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Enum { @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/enum"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/enum"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48460,7 +36023,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunctionExpression { @Test public void testAllFilesPresentInFunctionExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/functionExpression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/functionExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48477,7 +36040,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineArgsInplace { @Test public void testAllFilesPresentInInlineArgsInplace() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48494,7 +36057,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48521,12 +36084,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/inlineClasses/noReturnTypeManglingFun.kt"); } - @Test - @TestMetadata("noReturnTypeManglingFunJvmName.kt") - public void testNoReturnTypeManglingFunJvmName() throws Exception { - runTest("compiler/testData/codegen/boxInline/inlineClasses/noReturnTypeManglingFunJvmName.kt"); - } - @Test @TestMetadata("noReturnTypeManglingVal.kt") public void testNoReturnTypeManglingVal() throws Exception { @@ -48539,12 +36096,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/inlineClasses/withReturnTypeManglingFun.kt"); } - @Test - @TestMetadata("withReturnTypeManglingFunJvmName.kt") - public void testWithReturnTypeManglingFunJvmName() throws Exception { - runTest("compiler/testData/codegen/boxInline/inlineClasses/withReturnTypeManglingFunJvmName.kt"); - } - @Test @TestMetadata("withReturnTypeManglingVal.kt") public void testWithReturnTypeManglingVal() throws Exception { @@ -48558,7 +36109,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class UnboxGenericParameter { @Test public void testAllFilesPresentInUnboxGenericParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -48568,7 +36119,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48615,7 +36166,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Lambda { @Test public void testAllFilesPresentInLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/lambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/lambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48662,7 +36213,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ObjectLiteral { @Test public void testAllFilesPresentInObjectLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/objectLiteral"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineClasses/unboxGenericParameter/objectLiteral"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48711,7 +36262,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InnerClasses { @Test public void testAllFilesPresentInInnerClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48755,18 +36306,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testInnerInlineFunCapturesOuterWithInlineClass() throws Exception { runTest("compiler/testData/codegen/boxInline/innerClasses/innerInlineFunCapturesOuterWithInlineClass.kt"); } - - @Test - @TestMetadata("innerLambda.kt") - public void testInnerLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/innerClasses/innerLambda.kt"); - } - - @Test - @TestMetadata("kt10259.kt") - public void testKt10259() throws Exception { - runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt"); - } } @Nested @@ -48776,7 +36315,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Invokedynamic { @Test public void testAllFilesPresentInInvokedynamic() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -48786,31 +36325,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Lambdas { @Test public void testAllFilesPresentInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("crossinlineLambda1.kt") - public void testCrossinlineLambda1() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/lambdas/crossinlineLambda1.kt"); - } - - @Test - @TestMetadata("crossinlineLambda2.kt") - public void testCrossinlineLambda2() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/lambdas/crossinlineLambda2.kt"); - } - - @Test - @TestMetadata("inlineFunInDifferentPackage.kt") - public void testInlineFunInDifferentPackage() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/lambdas/inlineFunInDifferentPackage.kt"); - } - - @Test - @TestMetadata("inlineLambda1.kt") - public void testInlineLambda1() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/lambdas/inlineLambda1.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -48821,31 +36336,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic/sam"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("crossinlineLambda1.kt") - public void testCrossinlineLambda1() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/sam/crossinlineLambda1.kt"); - } - - @Test - @TestMetadata("crossinlineLambda2.kt") - public void testCrossinlineLambda2() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/sam/crossinlineLambda2.kt"); - } - - @Test - @TestMetadata("inlineFunInDifferentPackage.kt") - public void testInlineFunInDifferentPackage() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/sam/inlineFunInDifferentPackage.kt"); - } - - @Test - @TestMetadata("inlineLambda1.kt") - public void testInlineLambda1() throws Exception { - runTest("compiler/testData/codegen/boxInline/invokedynamic/sam/inlineLambda1.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/invokedynamic/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } } @@ -48857,13 +36348,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmName { @Test public void testAllFilesPresentInJvmName() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/jvmName"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/boxInline/jvmName/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/jvmName"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -48874,13 +36359,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class JvmPackageName { @Test public void testAllFilesPresentInJvmPackageName() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/jvmPackageName"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/boxInline/jvmPackageName/simple.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/jvmPackageName"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -48891,7 +36370,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LambdaClassClash { @Test public void testAllFilesPresentInLambdaClassClash() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/lambdaClassClash"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/lambdaClassClash"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48914,7 +36393,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LambdaTransformation { @Test public void testAllFilesPresentInLambdaTransformation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/lambdaTransformation"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/lambdaTransformation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48923,12 +36402,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/lambdaTransformation/lambdaCloning.kt"); } - @Test - @TestMetadata("lambdaInLambda2.kt") - public void testLambdaInLambda2() throws Exception { - runTest("compiler/testData/codegen/boxInline/lambdaTransformation/lambdaInLambda2.kt"); - } - @Test @TestMetadata("lambdaInLambdaNoInline.kt") public void testLambdaInLambdaNoInline() throws Exception { @@ -48961,7 +36434,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class LocalFunInLambda { @Test public void testAllFilesPresentInLocalFunInLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/localFunInLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/localFunInLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -48996,7 +36469,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultiModule { @Test public void testAllFilesPresentInMultiModule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49013,25 +36486,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class MultifileClasses { @Test public void testAllFilesPresentInMultifileClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("defaultArguments.kt") - public void testDefaultArguments() throws Exception { - runTest("compiler/testData/codegen/boxInline/multifileClasses/defaultArguments.kt"); - } - - @Test - @TestMetadata("inlineFromOptimizedMultifileClass.kt") - public void testInlineFromOptimizedMultifileClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/multifileClasses/inlineFromOptimizedMultifileClass.kt"); - } - - @Test - @TestMetadata("inlineFromOtherPackage.kt") - public void testInlineFromOtherPackage() throws Exception { - runTest("compiler/testData/codegen/boxInline/multifileClasses/inlineFromOtherPackage.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -49042,7 +36497,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Multiplatform { @Test public void testAllFilesPresentInMultiplatform() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Nested @@ -49052,7 +36507,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49070,7 +36525,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NoInline { @Test public void testAllFilesPresentInNoInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/noInline"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/noInline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49123,7 +36578,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49271,7 +36726,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Deparenthesize { @Test public void testAllFilesPresentInDeparenthesize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49294,7 +36749,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TryFinally { @Test public void testAllFilesPresentInTryFinally() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49382,7 +36837,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallSite { @Test public void testAllFilesPresentInCallSite() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/callSite"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/callSite"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49429,7 +36884,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Chained { @Test public void testAllFilesPresentInChained() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/chained"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/chained"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49488,7 +36943,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DeclSite { @Test public void testAllFilesPresentInDeclSite() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/declSite"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/declSite"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49571,7 +37026,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class ExceptionTable { @Test public void testAllFilesPresentInExceptionTable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49640,12 +37095,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable/kt31923_2.kt"); } - @Test - @TestMetadata("kt31923_wrong.kt") - public void testKt31923_wrong() throws Exception { - runTest("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable/kt31923_wrong.kt"); - } - @Test @TestMetadata("nested.kt") public void testNested() throws Exception { @@ -49708,7 +37157,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Variables { @Test public void testAllFilesPresentInVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/variables"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/variables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49727,7 +37176,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Optimizations { @Test public void testAllFilesPresentInOptimizations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/optimizations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49762,7 +37211,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { @Test public void testAllFilesPresentInPrivate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/private"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/private"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49807,12 +37256,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/private/privateClassExtensionLambda.kt"); } - @Test - @TestMetadata("privateInInlineInMultiFileFacade.kt") - public void testPrivateInInlineInMultiFileFacade() throws Exception { - runTest("compiler/testData/codegen/boxInline/private/privateInInlineInMultiFileFacade.kt"); - } - @Test @TestMetadata("privateInline.kt") public void testPrivateInline() throws Exception { @@ -49827,7 +37270,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Property { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/property"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/property"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49916,7 +37359,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Reified { @Test public void testAllFilesPresentInReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -49949,36 +37392,12 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt"); } - @Test - @TestMetadata("kt11081.kt") - public void testKt11081() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt11081.kt"); - } - - @Test - @TestMetadata("kt11677.kt") - public void testKt11677() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt11677.kt"); - } - @Test @TestMetadata("kt15956.kt") public void testKt15956() throws Exception { runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt"); } - @Test - @TestMetadata("kt15997.kt") - public void testKt15997() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15997.kt"); - } - - @Test - @TestMetadata("kt15997_2.kt") - public void testKt15997_2() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt15997_2.kt"); - } - @Test @TestMetadata("kt18977.kt") public void testKt18977() throws Exception { @@ -50015,18 +37434,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/reified/kt35511_try_values.kt"); } - @Test - @TestMetadata("kt44770.kt") - public void testKt44770() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt44770.kt"); - } - - @Test - @TestMetadata("kt44770_2.kt") - public void testKt44770_2() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt44770_2.kt"); - } - @Test @TestMetadata("kt46584.kt") public void testKt46584() throws Exception { @@ -50039,24 +37446,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/reified/kt46584_2.kt"); } - @Test - @TestMetadata("kt6988.kt") - public void testKt6988() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt6988.kt"); - } - - @Test - @TestMetadata("kt6988_2.kt") - public void testKt6988_2() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt6988_2.kt"); - } - - @Test - @TestMetadata("kt6990.kt") - public void testKt6990() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt6990.kt"); - } - @Test @TestMetadata("kt7017.kt") public void testKt7017() throws Exception { @@ -50075,12 +37464,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/reified/kt8047_2.kt"); } - @Test - @TestMetadata("kt9637.kt") - public void testKt9637() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/kt9637.kt"); - } - @Test @TestMetadata("kt9637_2.kt") public void testKt9637_2() throws Exception { @@ -50099,12 +37482,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt"); } - @Test - @TestMetadata("packages.kt") - public void testPackages() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/packages.kt"); - } - @Test @TestMetadata("singletonLambda.kt") public void testSingletonLambda() throws Exception { @@ -50118,7 +37495,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CheckCast { @Test public void testAllFilesPresentInCheckCast() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/checkCast"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/checkCast"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50174,12 +37551,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testSimpleSafe() throws Exception { runTest("compiler/testData/codegen/boxInline/reified/checkCast/simpleSafe.kt"); } - - @Test - @TestMetadata("simple_1_3.kt") - public void testSimple_1_3() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/checkCast/simple_1_3.kt"); - } } @Nested @@ -50189,55 +37560,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultLambda { @Test public void testAllFilesPresentInDefaultLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/defaultLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("chain.kt") - public void testChain() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/chain.kt"); - } - - @Test - @TestMetadata("nested.kt") - public void testNested() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/nested.kt"); - } - - @Test - @TestMetadata("nested2.kt") - public void testNested2() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/nested2.kt"); - } - - @Test - @TestMetadata("nested2Static.kt") - public void testNested2Static() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/nested2Static.kt"); - } - - @Test - @TestMetadata("nestedStatic.kt") - public void testNestedStatic() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/nestedStatic.kt"); - } - - @Test - @TestMetadata("simple.kt") - public void testSimple() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/simple.kt"); - } - - @Test - @TestMetadata("transitiveChain.kt") - public void testTransitiveChain() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChain.kt"); - } - - @Test - @TestMetadata("transitiveChainStatic.kt") - public void testTransitiveChainStatic() throws Exception { - runTest("compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChainStatic.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/defaultLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -50248,7 +37571,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class IsCheck { @Test public void testAllFilesPresentInIsCheck() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/isCheck"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/reified/isCheck"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50278,61 +37601,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Signature { @Test public void testAllFilesPresentInSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/signature"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("inProjectionSubstitution.kt") - public void testInProjectionSubstitution() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/inProjectionSubstitution.kt"); - } - - @Test - @TestMetadata("outProjectionSubstitution.kt") - public void testOutProjectionSubstitution() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/outProjectionSubstitution.kt"); - } - - @Test - @TestMetadata("recursion.kt") - public void testRecursion() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/recursion.kt"); - } - - @Test - @TestMetadata("sameFormalParameterName.kt") - public void testSameFormalParameterName() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/sameFormalParameterName.kt"); - } - - @Test - @TestMetadata("sameReifiedFormalParameterName.kt") - public void testSameReifiedFormalParameterName() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/sameReifiedFormalParameterName.kt"); - } - - @Test - @TestMetadata("starProjectionSubstitution.kt") - public void testStarProjectionSubstitution() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/starProjectionSubstitution.kt"); - } - - @Test - @TestMetadata("typeParameterInLambda.kt") - public void testTypeParameterInLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/typeParameterInLambda.kt"); - } - - @Test - @TestMetadata("typeParametersSubstitution.kt") - public void testTypeParametersSubstitution() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/typeParametersSubstitution.kt"); - } - - @Test - @TestMetadata("typeParametersSubstitution2.kt") - public void testTypeParametersSubstitution2() throws Exception { - runTest("compiler/testData/codegen/boxInline/signature/typeParametersSubstitution2.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/signature"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -50343,25 +37612,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SignatureMangling { @Test public void testAllFilesPresentInSignatureMangling() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/signatureMangling"), Pattern.compile("^(.+)\\.kt$"), null, true); - } - - @Test - @TestMetadata("flexibleType.kt") - public void testFlexibleType() throws Exception { - runTest("compiler/testData/codegen/boxInline/signatureMangling/flexibleType.kt"); - } - - @Test - @TestMetadata("indices.kt") - public void testIndices() throws Exception { - runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); - } - - @Test - @TestMetadata("rawType.kt") - public void testRawType() throws Exception { - runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/signatureMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } } @@ -50372,7 +37623,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Simple { @Test public void testAllFilesPresentInSimple() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/simple"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/simple"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50417,12 +37668,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/simple/funImportedFromObject.kt"); } - @Test - @TestMetadata("importedJavaStaticField.kt") - public void testImportedJavaStaticField() throws Exception { - runTest("compiler/testData/codegen/boxInline/simple/importedJavaStaticField.kt"); - } - @Test @TestMetadata("inlineCallInInlineLambda.kt") public void testInlineCallInInlineLambda() throws Exception { @@ -50453,12 +37698,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/simple/params.kt"); } - @Test - @TestMetadata("propImportedFromObject.kt") - public void testPropImportedFromObject() throws Exception { - runTest("compiler/testData/codegen/boxInline/simple/propImportedFromObject.kt"); - } - @Test @TestMetadata("rootConstructor.kt") public void testRootConstructor() throws Exception { @@ -50533,7 +37772,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Smap { @Test public void testAllFilesPresentInSmap() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50608,12 +37847,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/smap/kt35006.kt"); } - @Test - @TestMetadata("multiFileFacade.kt") - public void testMultiFileFacade() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/multiFileFacade.kt"); - } - @Test @TestMetadata("oneFile.kt") public void testOneFile() throws Exception { @@ -50657,7 +37890,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Anonymous { @Test public void testAllFilesPresentInAnonymous() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/anonymous"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/anonymous"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50728,7 +37961,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultLambda { @Test public void testAllFilesPresentInDefaultLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/defaultLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/defaultLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50793,7 +38026,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineOnly { @Test public void testAllFilesPresentInInlineOnly() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/inlineOnly"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/inlineOnly"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50808,18 +38041,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/smap/inlineOnly/noSmapWithProperty.kt"); } - @Test - @TestMetadata("reified.kt") - public void testReified() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/inlineOnly/reified.kt"); - } - - @Test - @TestMetadata("reifiedProperty.kt") - public void testReifiedProperty() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/inlineOnly/reifiedProperty.kt"); - } - @Test @TestMetadata("stdlibInlineOnly.kt") public void testStdlibInlineOnly() throws Exception { @@ -50840,7 +38061,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Newsmap { @Test public void testAllFilesPresentInNewsmap() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/newsmap"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/newsmap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50875,7 +38096,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Resolve { @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/resolve"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/smap/resolve"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50899,7 +38120,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Special { @Test public void testAllFilesPresentInSpecial() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/special"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/special"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -50938,12 +38159,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/special/loopInStoreLoadChains2.kt"); } - @Test - @TestMetadata("monitorEnterExit.kt") - public void testMonitorEnterExit() throws Exception { - runTest("compiler/testData/codegen/boxInline/special/monitorEnterExit.kt"); - } - @Test @TestMetadata("plusAssign.kt") public void testPlusAssign() throws Exception { @@ -50970,7 +38185,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class StackOnReturn { @Test public void testAllFilesPresentInStackOnReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/stackOnReturn"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/stackOnReturn"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51077,7 +38292,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Suspend { @Test public void testAllFilesPresentInSuspend() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51092,12 +38307,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/suspend/crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt"); } - @Test - @TestMetadata("debugMetadataCrossinline.kt") - public void testDebugMetadataCrossinline() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/debugMetadataCrossinline.kt"); - } - @Test @TestMetadata("delegatedProperties.kt") public void testDelegatedProperties() throws Exception { @@ -51110,18 +38319,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/suspend/doubleRegenerationWithNonSuspendingLambda.kt"); } - @Test - @TestMetadata("enclodingMethod.kt") - public void testEnclodingMethod() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/enclodingMethod.kt"); - } - - @Test - @TestMetadata("fileNameInMetadata.kt") - public void testFileNameInMetadata() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/fileNameInMetadata.kt"); - } - @Test @TestMetadata("inlineOrdinaryOfCrossinlineSuspend.kt") public void testInlineOrdinaryOfCrossinlineSuspend() throws Exception { @@ -51140,18 +38337,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/suspend/inlinePassthrough.kt"); } - @Test - @TestMetadata("inlineSuspendContinuation.kt") - public void testInlineSuspendContinuation() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/inlineSuspendContinuation.kt"); - } - - @Test - @TestMetadata("inlineSuspendInMultifileClass.kt") - public void testInlineSuspendInMultifileClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/inlineSuspendInMultifileClass.kt"); - } - @Test @TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt") public void testInlineSuspendOfCrossinlineOrdinary() throws Exception { @@ -51188,12 +38373,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfSuspend.kt"); } - @Test - @TestMetadata("jvmName.kt") - public void testJvmName() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/jvmName.kt"); - } - @Test @TestMetadata("kt26658.kt") public void testKt26658() throws Exception { @@ -51218,12 +38397,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { runTest("compiler/testData/codegen/boxInline/suspend/multipleSuspensionPoints.kt"); } - @Test - @TestMetadata("nestedMethodWith2XParameter.kt") - public void testNestedMethodWith2XParameter() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/nestedMethodWith2XParameter.kt"); - } - @Test @TestMetadata("nonLocalReturn.kt") public void testNonLocalReturn() throws Exception { @@ -51273,7 +38446,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51314,7 +38487,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class DefaultParameter { @Test public void testAllFilesPresentInDefaultParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51361,7 +38534,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineClass { @Test public void testAllFilesPresentInInlineClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/inlineClass"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/inlineClass"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51396,7 +38569,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class InlineUsedAsNoinline { @Test public void testAllFilesPresentInInlineUsedAsNoinline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/inlineUsedAsNoinline"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/inlineUsedAsNoinline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51410,18 +38583,6 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public void testSimpleNamed() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/inlineUsedAsNoinline/simpleNamed.kt"); } - - @Test - @TestMetadata("withCapturedInlineLambda.kt") - public void testWithCapturedInlineLambda() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/inlineUsedAsNoinline/withCapturedInlineLambda.kt"); - } - - @Test - @TestMetadata("withCapturedInlineLambda2.kt") - public void testWithCapturedInlineLambda2() throws Exception { - runTest("compiler/testData/codegen/boxInline/suspend/inlineUsedAsNoinline/withCapturedInlineLambda2.kt"); - } } @Nested @@ -51431,7 +38592,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Receiver { @Test public void testAllFilesPresentInReceiver() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/receiver"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/receiver"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51490,7 +38651,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class StateMachine { @Test public void testAllFilesPresentInStateMachine() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/stateMachine"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/stateMachine"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51640,7 +38801,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class SyntheticAccessors { @Test public void testAllFilesPresentInSyntheticAccessors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51698,7 +38859,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class WithinInlineLambda { @Test public void testAllFilesPresentInWithinInlineLambda() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/syntheticAccessors/withinInlineLambda"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/syntheticAccessors/withinInlineLambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51764,7 +38925,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Trait { @Test public void testAllFilesPresentInTrait() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/trait"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/trait"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51781,7 +38942,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class TryCatchFinally { @Test public void testAllFilesPresentInTryCatchFinally() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/tryCatchFinally"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/tryCatchFinally"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test @@ -51816,7 +38977,7 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest { public class Varargs { @Test public void testAllFilesPresentInVarargs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/varargs"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/varargs"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } @Test diff --git a/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeBlackboxTests.kt b/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeBlackboxTests.kt index a49c5dde152..8dabf2420be 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeBlackboxTests.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeBlackboxTests.kt @@ -10,6 +10,7 @@ import org.jetbrains.kotlin.generators.model.annotation import org.jetbrains.kotlin.konan.blackboxtest.AbstractNativeBlackBoxTest import org.jetbrains.kotlin.konan.blackboxtest.support.group.NativeBlackBoxTestCaseGroupProvider import org.jetbrains.kotlin.konan.blackboxtest.support.group.ExtTestCaseGroupProvider +import org.jetbrains.kotlin.test.TargetBackend fun main() { System.setProperty("java.awt.headless", "true") @@ -21,12 +22,12 @@ fun main() { suiteTestClassName = "NativeExtBlackBoxTestGenerated", annotations = listOf(annotation(NativeBlackBoxTestCaseGroupProvider::class.java, ExtTestCaseGroupProvider::class.java)) ) { - model("codegen/box") - model("codegen/boxInline") + model("codegen/box", targetBackend = TargetBackend.NATIVE) + model("codegen/boxInline", targetBackend = TargetBackend.NATIVE) } } - // Samples (how to utilize abilities of new test infrastructure). + // Samples (how to utilize the abilities of new test infrastructure). testGroup("native/native.tests/tests-gen", "native/native.tests/testData") { testClass { model("samples")