[Test] Convert IGNORE: NATIVE directives in box tests from A to C

^KT-59057

Merge-request: KT-MR-10747
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-22 08:39:20 +00:00
committed by Space Team
parent 2da0e622c0
commit 3d60ed8874
49 changed files with 429 additions and 1430 deletions
@@ -64,12 +64,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("parameters.kt")
public void testParameters() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameters.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -383,24 +377,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/arrays/arrayPlusAssign.kt");
}
@Test
@TestMetadata("arraysAreCloneable.kt")
public void testArraysAreCloneable() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arraysAreCloneable.kt");
}
@Test
@TestMetadata("cloneArray.kt")
public void testCloneArray() throws Exception {
runTest("compiler/testData/codegen/box/arrays/cloneArray.kt");
}
@Test
@TestMetadata("clonePrimitiveArrays.kt")
public void testClonePrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt");
}
@Test
@TestMetadata("collectionAssignGetMultiIndex.kt")
public void testCollectionAssignGetMultiIndex() throws Exception {
@@ -1240,9 +1216,9 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
}
@Test
@TestMetadata("checkcastAndInstanceOf.kt")
public void testCheckcastAndInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt");
@TestMetadata("checkcastAndInstanceOf2.kt")
public void testCheckcastAndInstanceOf2() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf2.kt");
}
@Test
@@ -1600,12 +1576,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/bridges/kt1959.kt");
}
@Test
@TestMetadata("kt2498.kt")
public void testKt2498() throws Exception {
runTest("compiler/testData/codegen/box/bridges/kt2498.kt");
}
@Test
@TestMetadata("kt2702.kt")
public void testKt2702() throws Exception {
@@ -1928,41 +1898,11 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
@FirPipeline()
@UseExtTestCaseGroupProvider()
public class ExtendJavaClasses {
@Test
@TestMetadata("abstractSet.kt")
public void testAbstractSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/abstractSet.kt");
}
@Test
public void testAllFilesPresentInExtendJavaClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("arrayList.kt")
public void testArrayList() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/arrayList.kt");
}
@Test
@TestMetadata("extendArrayListThroughKotlin.kt")
public void testExtendArrayListThroughKotlin() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/extendArrayListThroughKotlin.kt");
}
@Test
@TestMetadata("hashMap.kt")
public void testHashMap() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashMap.kt");
}
@Test
@TestMetadata("hashSet.kt")
public void testHashSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashSet.kt");
}
@Test
@TestMetadata("overrideAbstractSetMethod.kt")
public void testOverrideAbstractSetMethod() throws Exception {
@@ -2652,12 +2592,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testReceiverInEquals() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt");
}
@Test
@TestMetadata("reflectionReference.kt")
public void testReflectionReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt");
}
}
}
@@ -2940,9 +2874,9 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
}
@Test
@TestMetadata("genericCallableReferenceArguments.kt")
public void testGenericCallableReferenceArguments() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt");
@TestMetadata("genericCallableReferenceArgumentsNonJVM.kt")
public void testGenericCallableReferenceArgumentsNonJVM() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArgumentsNonJVM.kt");
}
@Test
@@ -3385,12 +3319,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/callableReference/property/kt15447.kt");
}
@Test
@TestMetadata("kt6870_privatePropertyReference.kt")
public void testKt6870_privatePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt");
}
@Test
@TestMetadata("listOfStringsMapLength.kt")
public void testListOfStringsMapLength() throws Exception {
@@ -3502,24 +3430,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("as.kt")
public void testAs() throws Exception {
runTest("compiler/testData/codegen/box/casts/as.kt");
}
@Test
@TestMetadata("asForConstants.kt")
public void testAsForConstants() throws Exception {
runTest("compiler/testData/codegen/box/casts/asForConstants.kt");
}
@Test
@TestMetadata("asSafe.kt")
public void testAsSafe() throws Exception {
runTest("compiler/testData/codegen/box/casts/asSafe.kt");
}
@Test
@TestMetadata("asSafeFail.kt")
public void testAsSafeFail() throws Exception {
@@ -3598,12 +3514,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/casts/intersectionTypeWithoutGenericsAsReceiver.kt");
}
@Test
@TestMetadata("is.kt")
public void testIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/is.kt");
}
@Test
@TestMetadata("isNullablePrimitive.kt")
public void testIsNullablePrimitive() throws Exception {
@@ -3664,12 +3574,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");
}
@Test
@TestMetadata("notIs.kt")
public void testNotIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/notIs.kt");
}
@Test
@TestMetadata("nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt")
public void testNullableSafeCastToTypeParameterWithInterfaceUpperBound() throws Exception {
@@ -3742,6 +3646,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
}
@Test
@TestMetadata("isFunKSmallNonJS.kt")
public void testIsFunKSmallNonJS() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallNonJS.kt");
}
@Test
@TestMetadata("reifiedAsFunKBig.kt")
public void testReifiedAsFunKBig() throws Exception {
@@ -4061,12 +3971,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testAllFilesPresentInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt11943.kt")
public void testKt11943() throws Exception {
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
}
}
}
@@ -4196,12 +4100,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/classes/delegationGenericLongArg.kt");
}
@Test
@TestMetadata("delegationJava.kt")
public void testDelegationJava() throws Exception {
runTest("compiler/testData/codegen/box/classes/delegationJava.kt");
}
@Test
@TestMetadata("delegationMethodsWithArgs.kt")
public void testDelegationMethodsWithArgs() throws Exception {
@@ -4238,12 +4136,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/classes/implementComparableInSubclass.kt");
}
@Test
@TestMetadata("inheritSetAndHashSet.kt")
public void testInheritSetAndHashSet() throws Exception {
runTest("compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt");
}
@Test
@TestMetadata("inheritance.kt")
public void testInheritance() throws Exception {
@@ -4292,12 +4184,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/classes/kt1018.kt");
}
@Test
@TestMetadata("kt1120.kt")
public void testKt1120() throws Exception {
runTest("compiler/testData/codegen/box/classes/kt1120.kt");
}
@Test
@TestMetadata("kt1157.kt")
public void testKt1157() throws Exception {
@@ -5554,12 +5440,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/collections/internalRemove.kt");
}
@Test
@TestMetadata("kt41123.kt")
public void testKt41123() throws Exception {
runTest("compiler/testData/codegen/box/collections/kt41123.kt");
}
@Test
@TestMetadata("removeClash.kt")
public void testRemoveClash() throws Exception {
@@ -6367,12 +6247,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/constants/long.kt");
}
@Test
@TestMetadata("numberLiteralCoercionToInferredType.kt")
public void testNumberLiteralCoercionToInferredType() throws Exception {
runTest("compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt");
}
@Test
@TestMetadata("privateConst.kt")
public void testPrivateConst() throws Exception {
@@ -10380,25 +10254,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
@TestDataPath("$PROJECT_ROOT")
@Tag("frontend-fir")
@FirPipeline()
@UseExtTestCaseGroupProvider()
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, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/named")
@TestDataPath("$PROJECT_ROOT")
@@ -70,12 +70,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("parameters.kt")
public void testParameters() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameters.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -403,24 +397,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/arrays/arrayPlusAssign.kt");
}
@Test
@TestMetadata("arraysAreCloneable.kt")
public void testArraysAreCloneable() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arraysAreCloneable.kt");
}
@Test
@TestMetadata("cloneArray.kt")
public void testCloneArray() throws Exception {
runTest("compiler/testData/codegen/box/arrays/cloneArray.kt");
}
@Test
@TestMetadata("clonePrimitiveArrays.kt")
public void testClonePrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt");
}
@Test
@TestMetadata("collectionAssignGetMultiIndex.kt")
public void testCollectionAssignGetMultiIndex() throws Exception {
@@ -1280,9 +1256,9 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
}
@Test
@TestMetadata("checkcastAndInstanceOf.kt")
public void testCheckcastAndInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt");
@TestMetadata("checkcastAndInstanceOf2.kt")
public void testCheckcastAndInstanceOf2() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf2.kt");
}
@Test
@@ -1642,12 +1618,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/bridges/kt1959.kt");
}
@Test
@TestMetadata("kt2498.kt")
public void testKt2498() throws Exception {
runTest("compiler/testData/codegen/box/bridges/kt2498.kt");
}
@Test
@TestMetadata("kt2702.kt")
public void testKt2702() throws Exception {
@@ -1978,41 +1948,11 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
@UsePartialLinkage(mode = Mode.DISABLED)
@Tag("no-partial-linkage-may-be-skipped")
public class ExtendJavaClasses {
@Test
@TestMetadata("abstractSet.kt")
public void testAbstractSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/abstractSet.kt");
}
@Test
public void testAllFilesPresentInExtendJavaClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("arrayList.kt")
public void testArrayList() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/arrayList.kt");
}
@Test
@TestMetadata("extendArrayListThroughKotlin.kt")
public void testExtendArrayListThroughKotlin() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/extendArrayListThroughKotlin.kt");
}
@Test
@TestMetadata("hashMap.kt")
public void testHashMap() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashMap.kt");
}
@Test
@TestMetadata("hashSet.kt")
public void testHashSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashSet.kt");
}
@Test
@TestMetadata("overrideAbstractSetMethod.kt")
public void testOverrideAbstractSetMethod() throws Exception {
@@ -2716,12 +2656,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testReceiverInEquals() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt");
}
@Test
@TestMetadata("reflectionReference.kt")
public void testReflectionReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt");
}
}
}
@@ -3010,9 +2944,9 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
}
@Test
@TestMetadata("genericCallableReferenceArguments.kt")
public void testGenericCallableReferenceArguments() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt");
@TestMetadata("genericCallableReferenceArgumentsNonJVM.kt")
public void testGenericCallableReferenceArgumentsNonJVM() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArgumentsNonJVM.kt");
}
@Test
@@ -3459,12 +3393,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/callableReference/property/kt15447.kt");
}
@Test
@TestMetadata("kt6870_privatePropertyReference.kt")
public void testKt6870_privatePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt");
}
@Test
@TestMetadata("listOfStringsMapLength.kt")
public void testListOfStringsMapLength() throws Exception {
@@ -3580,24 +3508,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("as.kt")
public void testAs() throws Exception {
runTest("compiler/testData/codegen/box/casts/as.kt");
}
@Test
@TestMetadata("asForConstants.kt")
public void testAsForConstants() throws Exception {
runTest("compiler/testData/codegen/box/casts/asForConstants.kt");
}
@Test
@TestMetadata("asSafe.kt")
public void testAsSafe() throws Exception {
runTest("compiler/testData/codegen/box/casts/asSafe.kt");
}
@Test
@TestMetadata("asSafeFail.kt")
public void testAsSafeFail() throws Exception {
@@ -3676,12 +3592,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/casts/intersectionTypeWithoutGenericsAsReceiver.kt");
}
@Test
@TestMetadata("is.kt")
public void testIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/is.kt");
}
@Test
@TestMetadata("isNullablePrimitive.kt")
public void testIsNullablePrimitive() throws Exception {
@@ -3742,12 +3652,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");
}
@Test
@TestMetadata("notIs.kt")
public void testNotIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/notIs.kt");
}
@Test
@TestMetadata("nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt")
public void testNullableSafeCastToTypeParameterWithInterfaceUpperBound() throws Exception {
@@ -3822,6 +3726,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
}
@Test
@TestMetadata("isFunKSmallNonJS.kt")
public void testIsFunKSmallNonJS() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallNonJS.kt");
}
@Test
@TestMetadata("reifiedAsFunKBig.kt")
public void testReifiedAsFunKBig() throws Exception {
@@ -4157,12 +4067,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testAllFilesPresentInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt11943.kt")
public void testKt11943() throws Exception {
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
}
}
}
@@ -4294,12 +4198,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/classes/delegationGenericLongArg.kt");
}
@Test
@TestMetadata("delegationJava.kt")
public void testDelegationJava() throws Exception {
runTest("compiler/testData/codegen/box/classes/delegationJava.kt");
}
@Test
@TestMetadata("delegationMethodsWithArgs.kt")
public void testDelegationMethodsWithArgs() throws Exception {
@@ -4336,12 +4234,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/classes/implementComparableInSubclass.kt");
}
@Test
@TestMetadata("inheritSetAndHashSet.kt")
public void testInheritSetAndHashSet() throws Exception {
runTest("compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt");
}
@Test
@TestMetadata("inheritance.kt")
public void testInheritance() throws Exception {
@@ -4390,12 +4282,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/classes/kt1018.kt");
}
@Test
@TestMetadata("kt1120.kt")
public void testKt1120() throws Exception {
runTest("compiler/testData/codegen/box/classes/kt1120.kt");
}
@Test
@TestMetadata("kt1157.kt")
public void testKt1157() throws Exception {
@@ -5668,12 +5554,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/collections/internalRemove.kt");
}
@Test
@TestMetadata("kt41123.kt")
public void testKt41123() throws Exception {
runTest("compiler/testData/codegen/box/collections/kt41123.kt");
}
@Test
@TestMetadata("removeClash.kt")
public void testRemoveClash() throws Exception {
@@ -6511,12 +6391,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/constants/long.kt");
}
@Test
@TestMetadata("numberLiteralCoercionToInferredType.kt")
public void testNumberLiteralCoercionToInferredType() throws Exception {
runTest("compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt");
}
@Test
@TestMetadata("privateConst.kt")
public void testPrivateConst() throws Exception {
@@ -10596,27 +10470,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
@TestDataPath("$PROJECT_ROOT")
@Tag("frontend-fir")
@FirPipeline()
@UseExtTestCaseGroupProvider()
@UsePartialLinkage(mode = Mode.DISABLED)
@Tag("no-partial-linkage-may-be-skipped")
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, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/named")
@TestDataPath("$PROJECT_ROOT")
@@ -62,12 +62,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("parameters.kt")
public void testParameters() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameters.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -374,24 +368,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/arrays/arrayPlusAssign.kt");
}
@Test
@TestMetadata("arraysAreCloneable.kt")
public void testArraysAreCloneable() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arraysAreCloneable.kt");
}
@Test
@TestMetadata("cloneArray.kt")
public void testCloneArray() throws Exception {
runTest("compiler/testData/codegen/box/arrays/cloneArray.kt");
}
@Test
@TestMetadata("clonePrimitiveArrays.kt")
public void testClonePrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt");
}
@Test
@TestMetadata("collectionAssignGetMultiIndex.kt")
public void testCollectionAssignGetMultiIndex() throws Exception {
@@ -1221,9 +1197,9 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
}
@Test
@TestMetadata("checkcastAndInstanceOf.kt")
public void testCheckcastAndInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt");
@TestMetadata("checkcastAndInstanceOf2.kt")
public void testCheckcastAndInstanceOf2() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf2.kt");
}
@Test
@@ -1580,12 +1556,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/bridges/kt1959.kt");
}
@Test
@TestMetadata("kt2498.kt")
public void testKt2498() throws Exception {
runTest("compiler/testData/codegen/box/bridges/kt2498.kt");
}
@Test
@TestMetadata("kt2702.kt")
public void testKt2702() throws Exception {
@@ -1904,41 +1874,11 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
@UseExtTestCaseGroupProvider()
@DisabledTestsIfProperty(sourceLocations = { "compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt", "compiler/testData/codegen/box/multiplatform/defaultArguments/*.kt", "compiler/testData/codegen/box/multiplatform/migratedOldTests/*.kt", "compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt" }, property = ClassLevelProperty.TEST_MODE, propertyValue = "ONE_STAGE_MULTI_MODULE")
public class ExtendJavaClasses {
@Test
@TestMetadata("abstractSet.kt")
public void testAbstractSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/abstractSet.kt");
}
@Test
public void testAllFilesPresentInExtendJavaClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("arrayList.kt")
public void testArrayList() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/arrayList.kt");
}
@Test
@TestMetadata("extendArrayListThroughKotlin.kt")
public void testExtendArrayListThroughKotlin() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/extendArrayListThroughKotlin.kt");
}
@Test
@TestMetadata("hashMap.kt")
public void testHashMap() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashMap.kt");
}
@Test
@TestMetadata("hashSet.kt")
public void testHashSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashSet.kt");
}
@Test
@TestMetadata("overrideAbstractSetMethod.kt")
public void testOverrideAbstractSetMethod() throws Exception {
@@ -2621,12 +2561,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testReceiverInEquals() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt");
}
@Test
@TestMetadata("reflectionReference.kt")
public void testReflectionReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt");
}
}
}
@@ -2906,9 +2840,9 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
}
@Test
@TestMetadata("genericCallableReferenceArguments.kt")
public void testGenericCallableReferenceArguments() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt");
@TestMetadata("genericCallableReferenceArgumentsNonJVM.kt")
public void testGenericCallableReferenceArgumentsNonJVM() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArgumentsNonJVM.kt");
}
@Test
@@ -3349,12 +3283,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/callableReference/property/kt15447.kt");
}
@Test
@TestMetadata("kt6870_privatePropertyReference.kt")
public void testKt6870_privatePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt");
}
@Test
@TestMetadata("listOfStringsMapLength.kt")
public void testListOfStringsMapLength() throws Exception {
@@ -3464,24 +3392,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("as.kt")
public void testAs() throws Exception {
runTest("compiler/testData/codegen/box/casts/as.kt");
}
@Test
@TestMetadata("asForConstants.kt")
public void testAsForConstants() throws Exception {
runTest("compiler/testData/codegen/box/casts/asForConstants.kt");
}
@Test
@TestMetadata("asSafe.kt")
public void testAsSafe() throws Exception {
runTest("compiler/testData/codegen/box/casts/asSafe.kt");
}
@Test
@TestMetadata("asSafeFail.kt")
public void testAsSafeFail() throws Exception {
@@ -3560,12 +3476,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/casts/intersectionTypeWithoutGenericsAsReceiver.kt");
}
@Test
@TestMetadata("is.kt")
public void testIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/is.kt");
}
@Test
@TestMetadata("isNullablePrimitive.kt")
public void testIsNullablePrimitive() throws Exception {
@@ -3626,12 +3536,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");
}
@Test
@TestMetadata("notIs.kt")
public void testNotIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/notIs.kt");
}
@Test
@TestMetadata("nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt")
public void testNullableSafeCastToTypeParameterWithInterfaceUpperBound() throws Exception {
@@ -3703,6 +3607,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
}
@Test
@TestMetadata("isFunKSmallNonJS.kt")
public void testIsFunKSmallNonJS() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallNonJS.kt");
}
@Test
@TestMetadata("reifiedAsFunKBig.kt")
public void testReifiedAsFunKBig() throws Exception {
@@ -4014,12 +3924,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testAllFilesPresentInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt11943.kt")
public void testKt11943() throws Exception {
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
}
}
}
@@ -4148,12 +4052,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/classes/delegationGenericLongArg.kt");
}
@Test
@TestMetadata("delegationJava.kt")
public void testDelegationJava() throws Exception {
runTest("compiler/testData/codegen/box/classes/delegationJava.kt");
}
@Test
@TestMetadata("delegationMethodsWithArgs.kt")
public void testDelegationMethodsWithArgs() throws Exception {
@@ -4190,12 +4088,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/classes/implementComparableInSubclass.kt");
}
@Test
@TestMetadata("inheritSetAndHashSet.kt")
public void testInheritSetAndHashSet() throws Exception {
runTest("compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt");
}
@Test
@TestMetadata("inheritance.kt")
public void testInheritance() throws Exception {
@@ -4244,12 +4136,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/classes/kt1018.kt");
}
@Test
@TestMetadata("kt1120.kt")
public void testKt1120() throws Exception {
runTest("compiler/testData/codegen/box/classes/kt1120.kt");
}
@Test
@TestMetadata("kt1157.kt")
public void testKt1157() throws Exception {
@@ -5498,12 +5384,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/collections/internalRemove.kt");
}
@Test
@TestMetadata("kt41123.kt")
public void testKt41123() throws Exception {
runTest("compiler/testData/codegen/box/collections/kt41123.kt");
}
@Test
@TestMetadata("removeClash.kt")
public void testRemoveClash() throws Exception {
@@ -6296,12 +6176,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/constants/long.kt");
}
@Test
@TestMetadata("numberLiteralCoercionToInferredType.kt")
public void testNumberLiteralCoercionToInferredType() throws Exception {
runTest("compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt");
}
@Test
@TestMetadata("privateConst.kt")
public void testPrivateConst() throws Exception {
@@ -10273,24 +10147,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
@TestDataPath("$PROJECT_ROOT")
@UseExtTestCaseGroupProvider()
@DisabledTestsIfProperty(sourceLocations = { "compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt", "compiler/testData/codegen/box/multiplatform/defaultArguments/*.kt", "compiler/testData/codegen/box/multiplatform/migratedOldTests/*.kt", "compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt" }, property = ClassLevelProperty.TEST_MODE, propertyValue = "ONE_STAGE_MULTI_MODULE")
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, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/named")
@TestDataPath("$PROJECT_ROOT")
@@ -65,12 +65,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("parameters.kt")
public void testParameters() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameters.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -384,24 +378,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/arrays/arrayPlusAssign.kt");
}
@Test
@TestMetadata("arraysAreCloneable.kt")
public void testArraysAreCloneable() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arraysAreCloneable.kt");
}
@Test
@TestMetadata("cloneArray.kt")
public void testCloneArray() throws Exception {
runTest("compiler/testData/codegen/box/arrays/cloneArray.kt");
}
@Test
@TestMetadata("clonePrimitiveArrays.kt")
public void testClonePrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt");
}
@Test
@TestMetadata("collectionAssignGetMultiIndex.kt")
public void testCollectionAssignGetMultiIndex() throws Exception {
@@ -1241,9 +1217,9 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
}
@Test
@TestMetadata("checkcastAndInstanceOf.kt")
public void testCheckcastAndInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt");
@TestMetadata("checkcastAndInstanceOf2.kt")
public void testCheckcastAndInstanceOf2() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf2.kt");
}
@Test
@@ -1601,12 +1577,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/bridges/kt1959.kt");
}
@Test
@TestMetadata("kt2498.kt")
public void testKt2498() throws Exception {
runTest("compiler/testData/codegen/box/bridges/kt2498.kt");
}
@Test
@TestMetadata("kt2702.kt")
public void testKt2702() throws Exception {
@@ -1929,41 +1899,11 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
@UsePartialLinkage(mode = Mode.DISABLED)
@Tag("no-partial-linkage-may-be-skipped")
public class ExtendJavaClasses {
@Test
@TestMetadata("abstractSet.kt")
public void testAbstractSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/abstractSet.kt");
}
@Test
public void testAllFilesPresentInExtendJavaClasses() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("arrayList.kt")
public void testArrayList() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/arrayList.kt");
}
@Test
@TestMetadata("extendArrayListThroughKotlin.kt")
public void testExtendArrayListThroughKotlin() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/extendArrayListThroughKotlin.kt");
}
@Test
@TestMetadata("hashMap.kt")
public void testHashMap() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashMap.kt");
}
@Test
@TestMetadata("hashSet.kt")
public void testHashSet() throws Exception {
runTest("compiler/testData/codegen/box/builtinStubMethods/extendJavaClasses/hashSet.kt");
}
@Test
@TestMetadata("overrideAbstractSetMethod.kt")
public void testOverrideAbstractSetMethod() throws Exception {
@@ -2653,12 +2593,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testReceiverInEquals() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt");
}
@Test
@TestMetadata("reflectionReference.kt")
public void testReflectionReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt");
}
}
}
@@ -2941,9 +2875,9 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
}
@Test
@TestMetadata("genericCallableReferenceArguments.kt")
public void testGenericCallableReferenceArguments() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt");
@TestMetadata("genericCallableReferenceArgumentsNonJVM.kt")
public void testGenericCallableReferenceArgumentsNonJVM() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArgumentsNonJVM.kt");
}
@Test
@@ -3386,12 +3320,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/callableReference/property/kt15447.kt");
}
@Test
@TestMetadata("kt6870_privatePropertyReference.kt")
public void testKt6870_privatePropertyReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt");
}
@Test
@TestMetadata("listOfStringsMapLength.kt")
public void testListOfStringsMapLength() throws Exception {
@@ -3503,24 +3431,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("as.kt")
public void testAs() throws Exception {
runTest("compiler/testData/codegen/box/casts/as.kt");
}
@Test
@TestMetadata("asForConstants.kt")
public void testAsForConstants() throws Exception {
runTest("compiler/testData/codegen/box/casts/asForConstants.kt");
}
@Test
@TestMetadata("asSafe.kt")
public void testAsSafe() throws Exception {
runTest("compiler/testData/codegen/box/casts/asSafe.kt");
}
@Test
@TestMetadata("asSafeFail.kt")
public void testAsSafeFail() throws Exception {
@@ -3599,12 +3515,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/casts/intersectionTypeWithoutGenericsAsReceiver.kt");
}
@Test
@TestMetadata("is.kt")
public void testIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/is.kt");
}
@Test
@TestMetadata("isNullablePrimitive.kt")
public void testIsNullablePrimitive() throws Exception {
@@ -3665,12 +3575,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");
}
@Test
@TestMetadata("notIs.kt")
public void testNotIs() throws Exception {
runTest("compiler/testData/codegen/box/casts/notIs.kt");
}
@Test
@TestMetadata("nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt")
public void testNullableSafeCastToTypeParameterWithInterfaceUpperBound() throws Exception {
@@ -3743,6 +3647,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
}
@Test
@TestMetadata("isFunKSmallNonJS.kt")
public void testIsFunKSmallNonJS() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallNonJS.kt");
}
@Test
@TestMetadata("reifiedAsFunKBig.kt")
public void testReifiedAsFunKBig() throws Exception {
@@ -4062,12 +3972,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testAllFilesPresentInJava() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt11943.kt")
public void testKt11943() throws Exception {
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
}
}
}
@@ -4197,12 +4101,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/classes/delegationGenericLongArg.kt");
}
@Test
@TestMetadata("delegationJava.kt")
public void testDelegationJava() throws Exception {
runTest("compiler/testData/codegen/box/classes/delegationJava.kt");
}
@Test
@TestMetadata("delegationMethodsWithArgs.kt")
public void testDelegationMethodsWithArgs() throws Exception {
@@ -4239,12 +4137,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/classes/implementComparableInSubclass.kt");
}
@Test
@TestMetadata("inheritSetAndHashSet.kt")
public void testInheritSetAndHashSet() throws Exception {
runTest("compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt");
}
@Test
@TestMetadata("inheritance.kt")
public void testInheritance() throws Exception {
@@ -4293,12 +4185,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/classes/kt1018.kt");
}
@Test
@TestMetadata("kt1120.kt")
public void testKt1120() throws Exception {
runTest("compiler/testData/codegen/box/classes/kt1120.kt");
}
@Test
@TestMetadata("kt1157.kt")
public void testKt1157() throws Exception {
@@ -5555,12 +5441,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/collections/internalRemove.kt");
}
@Test
@TestMetadata("kt41123.kt")
public void testKt41123() throws Exception {
runTest("compiler/testData/codegen/box/collections/kt41123.kt");
}
@Test
@TestMetadata("removeClash.kt")
public void testRemoveClash() throws Exception {
@@ -6368,12 +6248,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/constants/long.kt");
}
@Test
@TestMetadata("numberLiteralCoercionToInferredType.kt")
public void testNumberLiteralCoercionToInferredType() throws Exception {
runTest("compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt");
}
@Test
@TestMetadata("privateConst.kt")
public void testPrivateConst() throws Exception {
@@ -10381,25 +10255,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
@TestDataPath("$PROJECT_ROOT")
@UseExtTestCaseGroupProvider()
@UsePartialLinkage(mode = Mode.DISABLED)
@Tag("no-partial-linkage-may-be-skipped")
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, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/anonymous/simple.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/named")
@TestDataPath("$PROJECT_ROOT")