[K/N] Unmute tests already working on native

Also, add issue references for some tests
This commit is contained in:
Pavel Kunyavskiy
2023-06-02 14:27:37 +02:00
committed by Space Team
parent 46d113605b
commit 733ca5a358
42 changed files with 20 additions and 751 deletions
@@ -677,12 +677,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
}
@Test
@TestMetadata("kt7338.kt")
public void testKt7338() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
}
@Test
@TestMetadata("kt779.kt")
public void testKt779() throws Exception {
@@ -14502,12 +14496,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
}
@Test
@TestMetadata("whenFail.kt")
public void testWhenFail() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
@TestDataPath("$PROJECT_ROOT")
@@ -16177,18 +16165,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypes.kt")
public void testSmartCastToDifferentTypes() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
@@ -24635,18 +24611,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt42824.kt")
public void testKt42824() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
}
@Test
@TestMetadata("kt42825.kt")
public void testKt42825() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
}
}
@Nested
@@ -36948,12 +36912,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
@@ -38157,18 +38115,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("instanceOf.kt")
public void testInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
}
@Test
@TestMetadata("instanceOfArrays.kt")
public void testInstanceOfArrays() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
}
@Test
@TestMetadata("jaggedArray.kt")
public void testJaggedArray() throws Exception {
@@ -38710,12 +38656,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
}
@Test
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
public void testFieldInitializerOptimization_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
}
@Test
@TestMetadata("generics.kt")
public void testGenerics() throws Exception {
@@ -40059,12 +39999,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testReturnToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
}
@Test
@TestMetadata("toTypedArray.kt")
public void testToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
}
}
@Nested
@@ -45624,12 +45558,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
}
@Test
@TestMetadata("kt15956.kt")
public void testKt15956() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
}
@Test
@TestMetadata("kt18977.kt")
public void testKt18977() throws Exception {
@@ -697,12 +697,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
}
@Test
@TestMetadata("kt7338.kt")
public void testKt7338() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
}
@Test
@TestMetadata("kt779.kt")
public void testKt779() throws Exception {
@@ -14836,12 +14830,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
}
@Test
@TestMetadata("whenFail.kt")
public void testWhenFail() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
@TestDataPath("$PROJECT_ROOT")
@@ -16549,18 +16537,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypes.kt")
public void testSmartCastToDifferentTypes() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
@@ -25125,18 +25101,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt42824.kt")
public void testKt42824() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
}
@Test
@TestMetadata("kt42825.kt")
public void testKt42825() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
}
}
@Nested
@@ -37848,12 +37812,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
@@ -39097,18 +39055,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("instanceOf.kt")
public void testInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
}
@Test
@TestMetadata("instanceOfArrays.kt")
public void testInstanceOfArrays() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
}
@Test
@TestMetadata("jaggedArray.kt")
public void testJaggedArray() throws Exception {
@@ -39674,12 +39620,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
}
@Test
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
public void testFieldInitializerOptimization_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
}
@Test
@TestMetadata("generics.kt")
public void testGenerics() throws Exception {
@@ -41059,12 +40999,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testReturnToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
}
@Test
@TestMetadata("toTypedArray.kt")
public void testToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
}
}
@Nested
@@ -46784,12 +46718,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
}
@Test
@TestMetadata("kt15956.kt")
public void testKt15956() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
}
@Test
@TestMetadata("kt18977.kt")
public void testKt18977() throws Exception {
@@ -668,12 +668,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
}
@Test
@TestMetadata("kt7338.kt")
public void testKt7338() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
}
@Test
@TestMetadata("kt779.kt")
public void testKt779() throws Exception {
@@ -14336,12 +14330,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
}
@Test
@TestMetadata("whenFail.kt")
public void testWhenFail() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
@TestDataPath("$PROJECT_ROOT")
@@ -15992,18 +15980,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypes.kt")
public void testSmartCastToDifferentTypes() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
@@ -24391,18 +24367,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt42824.kt")
public void testKt42824() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
}
@Test
@TestMetadata("kt42825.kt")
public void testKt42825() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
}
}
@Nested
@@ -36499,12 +36463,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
@@ -37688,18 +37646,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("instanceOf.kt")
public void testInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
}
@Test
@TestMetadata("instanceOfArrays.kt")
public void testInstanceOfArrays() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
}
@Test
@TestMetadata("jaggedArray.kt")
public void testJaggedArray() throws Exception {
@@ -38229,12 +38175,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
}
@Test
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
public void testFieldInitializerOptimization_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
}
@Test
@TestMetadata("generics.kt")
public void testGenerics() throws Exception {
@@ -39560,12 +39500,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testReturnToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
}
@Test
@TestMetadata("toTypedArray.kt")
public void testToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
}
}
@Nested
@@ -45045,12 +44979,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
}
@Test
@TestMetadata("kt15956.kt")
public void testKt15956() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
}
@Test
@TestMetadata("kt18977.kt")
public void testKt18977() throws Exception {
@@ -678,12 +678,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
}
@Test
@TestMetadata("kt7338.kt")
public void testKt7338() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
}
@Test
@TestMetadata("kt779.kt")
public void testKt779() throws Exception {
@@ -14503,12 +14497,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
}
@Test
@TestMetadata("whenFail.kt")
public void testWhenFail() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
@TestDataPath("$PROJECT_ROOT")
@@ -16178,18 +16166,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypes.kt")
public void testSmartCastToDifferentTypes() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
}
@Test
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
@@ -24636,18 +24612,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("kt42824.kt")
public void testKt42824() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
}
@Test
@TestMetadata("kt42825.kt")
public void testKt42825() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
}
}
@Nested
@@ -36949,12 +36913,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
@@ -38158,18 +38116,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("instanceOf.kt")
public void testInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
}
@Test
@TestMetadata("instanceOfArrays.kt")
public void testInstanceOfArrays() throws Exception {
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
}
@Test
@TestMetadata("jaggedArray.kt")
public void testJaggedArray() throws Exception {
@@ -38711,12 +38657,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
}
@Test
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
public void testFieldInitializerOptimization_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
}
@Test
@TestMetadata("generics.kt")
public void testGenerics() throws Exception {
@@ -40060,12 +40000,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testReturnToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
}
@Test
@TestMetadata("toTypedArray.kt")
public void testToTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
}
}
@Nested
@@ -45625,12 +45559,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
}
@Test
@TestMetadata("kt15956.kt")
public void testKt15956() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
}
@Test
@TestMetadata("kt18977.kt")
public void testKt18977() throws Exception {