[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:
committed by
Space Team
parent
2da0e622c0
commit
3d60ed8874
+12
-106
@@ -53,12 +53,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -291,24 +285,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -1118,9 +1094,9 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -2500,12 +2476,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2779,9 +2749,9 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -3218,12 +3188,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3329,24 +3293,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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 {
|
||||
@@ -3425,12 +3377,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3485,12 +3431,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3554,6 +3494,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isFunKSmallJS.kt")
|
||||
public void testIsFunKSmallJS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallJS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reifiedAsFunKBig.kt")
|
||||
public void testReifiedAsFunKBig() throws Exception {
|
||||
@@ -3825,12 +3771,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInJava() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt11943.kt")
|
||||
public void testKt11943() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3957,12 +3897,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -4053,12 +3987,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -5429,12 +5357,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -9298,22 +9220,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
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.JS, 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")
|
||||
|
||||
Generated
-18
@@ -61,24 +61,6 @@ public class JsLegacyPrimitiveArraysBoxTestGenerated extends AbstractJsLegacyPri
|
||||
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 {
|
||||
|
||||
+12
-106
@@ -53,12 +53,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -345,24 +339,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -1172,9 +1148,9 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -2560,12 +2536,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2839,9 +2809,9 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -3278,12 +3248,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3389,24 +3353,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
@@ -3485,12 +3437,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3551,12 +3497,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3620,6 +3560,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isFunKSmallJS.kt")
|
||||
public void testIsFunKSmallJS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallJS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reifiedAsFunKBig.kt")
|
||||
public void testReifiedAsFunKBig() throws Exception {
|
||||
@@ -3891,12 +3837,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInJava() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt11943.kt")
|
||||
public void testKt11943() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4023,12 +3963,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -4119,12 +4053,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -5495,12 +5423,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -9400,22 +9322,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
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.JS_IR, 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")
|
||||
|
||||
+12
-106
@@ -53,12 +53,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -345,24 +339,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -1172,9 +1148,9 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -2560,12 +2536,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2839,9 +2809,9 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -3278,12 +3248,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3389,24 +3353,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
@@ -3485,12 +3437,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3551,12 +3497,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -3620,6 +3560,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isFunKSmallJS.kt")
|
||||
public void testIsFunKSmallJS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallJS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reifiedAsFunKBig.kt")
|
||||
public void testReifiedAsFunKBig() throws Exception {
|
||||
@@ -3891,12 +3837,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInJava() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt11943.kt")
|
||||
public void testKt11943() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4023,12 +3963,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -4119,12 +4053,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -5495,12 +5423,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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 {
|
||||
@@ -9400,22 +9322,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
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.JS_IR, 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")
|
||||
|
||||
+12
-106
@@ -53,12 +53,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -345,24 +339,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -1172,9 +1148,9 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -2560,12 +2536,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2839,9 +2809,9 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
}
|
||||
|
||||
@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
|
||||
@@ -3278,12 +3248,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -3389,24 +3353,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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 {
|
||||
@@ -3485,12 +3437,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -3551,12 +3497,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -3620,6 +3560,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isFunKSmallJS.kt")
|
||||
public void testIsFunKSmallJS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/functions/isFunKSmallJS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reifiedAsFunKBig.kt")
|
||||
public void testReifiedAsFunKBig() throws Exception {
|
||||
@@ -3891,12 +3837,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInJava() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt11943.kt")
|
||||
public void testKt11943() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4023,12 +3963,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -4119,12 +4053,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -5495,12 +5423,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
@@ -9400,22 +9322,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
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.JS_IR_ES6, 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")
|
||||
|
||||
Reference in New Issue
Block a user