[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
@@ -585,12 +585,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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 {
@@ -13255,12 +13249,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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")
@@ -14873,18 +14861,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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 {
@@ -21569,18 +21545,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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
@@ -33045,12 +33009,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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 {
@@ -34248,18 +34206,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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 {
@@ -34765,12 +34711,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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 {
@@ -36060,12 +36000,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
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
@@ -3528,12 +3528,6 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
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 {
@@ -355,12 +355,6 @@ public class JsLegacyPrimitiveArraysBoxTestGenerated extends AbstractJsLegacyPri
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 {
@@ -639,12 +639,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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 {
@@ -13351,12 +13345,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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")
@@ -21719,18 +21707,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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
@@ -33447,12 +33423,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
@@ -34650,18 +34620,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
@@ -35167,12 +35125,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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 {
@@ -36474,12 +36426,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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
@@ -3528,12 +3528,6 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
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 {
@@ -639,12 +639,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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 {
@@ -13351,12 +13345,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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")
@@ -21719,18 +21707,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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
@@ -33447,12 +33423,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
@@ -34650,18 +34620,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
@@ -35167,12 +35125,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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 {
@@ -36474,12 +36426,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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
@@ -3528,12 +3528,6 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
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 {
@@ -639,12 +639,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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 {
@@ -13351,12 +13345,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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")
@@ -21719,18 +21707,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
public void testAllFilesPresentInGenerics() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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
@@ -33447,12 +33423,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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 {
@@ -34650,18 +34620,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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 {
@@ -35167,12 +35125,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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 {
@@ -36474,12 +36426,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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
@@ -3528,12 +3528,6 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
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 {