diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java index 780c0af914a..2304bee8885 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java @@ -19,6 +19,7 @@ package org.jetbrains.kotlin.codegen; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -32,7 +33,7 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInBox() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/annotations") @@ -40,7 +41,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Annotations extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInAnnotations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("annotatedEnumEntry.kt") @@ -150,7 +151,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class AnnotatedLambda extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInAnnotatedLambda() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("funExpression.kt") @@ -184,7 +185,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ArgumentOrder extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInArgumentOrder() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/argumentOrder"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arguments.kt") @@ -259,7 +260,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Arrays extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInArrays() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayConstructorsSimple.kt") @@ -603,7 +604,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MultiDecl extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMultiDecl() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclFor.kt") @@ -641,7 +642,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Int extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInt() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/int"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/int"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -674,7 +675,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Long extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLong() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/long"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/long"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -709,7 +710,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class BinaryOp extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInBinaryOp() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("call.kt") @@ -802,7 +803,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class BoxingOptimization extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInBoxingOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("casts.kt") @@ -906,20 +907,8 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Bridges extends AbstractLightAnalysisModeCodegenTest { - @TestMetadata("jsName.kt") - public void ignoredJsName() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/bridges/jsName.kt"); - doTest(fileName); - } - - @TestMetadata("jsNative.kt") - public void ignoredJsNative() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/bridges/jsNative.kt"); - doTest(fileName); - } - public void testAllFilesPresentInBridges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("complexMultiInheritance.kt") @@ -1191,7 +1180,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInSubstitutionInSuperClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/bridges/substitutionInSuperClass"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/bridges/substitutionInSuperClass"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("boundedTypeArguments.kt") @@ -1267,7 +1256,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInBuiltinStubMethods() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("Collection.kt") @@ -1425,7 +1414,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInExtendJavaCollections() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayList.kt") @@ -1459,7 +1448,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class CallableReference extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCallableReference() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/callableReference/function") @@ -1473,7 +1462,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("booleanNotIntrinsic.kt") @@ -1721,7 +1710,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Local extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLocal() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function/local"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("captureOuter.kt") @@ -1851,7 +1840,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("delegated.kt") @@ -1999,7 +1988,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Casts extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCasts() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("as.kt") @@ -2109,7 +2098,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Functions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("asFunKBig.kt") @@ -2196,7 +2185,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class LiteralExpressionAsGenericArgument extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLiteralExpressionAsGenericArgument() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("binaryExpressionCast.kt") @@ -2247,7 +2236,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MutableCollections extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMutableCollections() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("asWithMutable.kt") @@ -2305,7 +2294,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ClassLiteral extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClassLiteral() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("primitiveKClassEquality.kt") @@ -2319,7 +2308,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Java extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("java.kt") @@ -2371,7 +2360,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Classes extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classes"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("boxPrimitiveTypeInClinitOfClassObject.kt") @@ -3051,7 +3040,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Inner extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInner() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classes/inner"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classes/inner"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("instantiateInDerived.kt") @@ -3097,7 +3086,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Closures extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClosures() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("captureExtensionReceiver.kt") @@ -3321,7 +3310,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class CaptureOuterProperty extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCaptureOuterProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures/captureOuterProperty"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures/captureOuterProperty"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("captureFunctionInProperty.kt") @@ -3378,7 +3367,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ClosureInsideClosure extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClosureInsideClosure() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures/closureInsideClosure"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/closures/closureInsideClosure"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("localFunInsideLocalFun.kt") @@ -3424,7 +3413,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Collections extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCollections() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("charSequence.kt") @@ -3541,7 +3530,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Constants extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConstants() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/constants"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/constants"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("constantsInWhen.kt") @@ -3580,7 +3569,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ControlStructures extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInControlStructures() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("bottles.kt") @@ -3984,7 +3973,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class BreakContinueInExpressions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInBreakContinueInExpressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("breakFromOuter.kt") @@ -3993,12 +3982,24 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis doTest(fileName); } + @TestMetadata("breakInDoWhile.kt") + public void testBreakInDoWhile() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakInDoWhile.kt"); + doTest(fileName); + } + @TestMetadata("breakInExpr.kt") public void testBreakInExpr() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakInExpr.kt"); doTest(fileName); } + @TestMetadata("continueInDoWhile.kt") + public void testContinueInDoWhile() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/continueInDoWhile.kt"); + doTest(fileName); + } + @TestMetadata("continueInExpr.kt") public void testContinueInExpr() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/continueInExpr.kt"); @@ -4017,6 +4018,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis doTest(fileName); } + @TestMetadata("kt14581.kt") + public void testKt14581() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt14581.kt"); + doTest(fileName); + } + @TestMetadata("kt9022And.kt") public void testKt9022And() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022And.kt"); @@ -4059,7 +4066,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ReturnsNothing extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInReturnsNothing() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/returnsNothing"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/returnsNothing"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("ifElse.kt") @@ -4098,7 +4105,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class TryCatchInExpressions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTryCatchInExpressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("catch.kt") @@ -4240,7 +4247,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class DataClasses extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInDataClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayParams.kt") @@ -4326,7 +4333,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Copy extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCopy() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/copy"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/copy"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("constructorWithDefaultParam.kt") @@ -4377,7 +4384,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Equals extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInEquals() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/equals"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/equals"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("alreadyDeclared.kt") @@ -4422,7 +4429,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class HashCode extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInHashCode() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/hashCode"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/hashCode"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("alreadyDeclared.kt") @@ -4509,7 +4516,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ToString extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInToString() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/toString"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/toString"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("alreadyDeclared.kt") @@ -4561,7 +4568,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class DeadCodeElimination extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInDeadCodeElimination() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/deadCodeElimination"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("emptyVariableRange.kt") @@ -4594,7 +4601,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class DefaultArguments extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInDefaultArguments() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt6382.kt") @@ -4626,7 +4633,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Constructor extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConstructor() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/constructor"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/constructor"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("annotation.kt") @@ -4713,7 +4720,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Convention extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConvention() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/convention"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/convention"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("incWithDefaultInGetter.kt") @@ -4746,7 +4753,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/function"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/function"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("covariantOverride.kt") @@ -4869,7 +4876,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Private extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/private"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/private"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("memberExtensionFunction.kt") @@ -4902,7 +4909,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Signature extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/signature"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/signature"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt2789.kt") @@ -4936,7 +4943,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInDelegatedProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("capturePropertyInClosure.kt") @@ -5149,7 +5156,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Delegation extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInDelegation() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/delegation"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/delegation"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("delegationToVal.kt") @@ -5170,7 +5177,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Diagnostics extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInDiagnostics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/diagnostics/functions") @@ -5178,7 +5185,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Functions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/inference") @@ -5186,7 +5193,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Inference extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInference() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/inference"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/inference"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt6176.kt") @@ -5201,7 +5208,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Invoke extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInvoke() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects") @@ -5209,7 +5216,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class OnObjects extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInOnObjects() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("invokeOnClassObject1.kt") @@ -5279,7 +5286,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class TailRecursion extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTailRecursion() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/tailRecursion"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/tailRecursion"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("defaultArgs.kt") @@ -5511,7 +5518,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Vararg extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInVararg() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/vararg"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/vararg"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt4172.kt") @@ -5527,7 +5534,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Elvis extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInElvis() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("genericNull.kt") @@ -5572,7 +5579,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInEnum() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("asReturnExpression.kt") @@ -5731,7 +5738,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Evaluate extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInEvaluate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("char.kt") @@ -5830,7 +5837,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ExclExcl extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExclExcl() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/exclExcl"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/exclExcl"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("genericNull.kt") @@ -5851,7 +5858,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ExtensionFunctions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExtensionFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("executionOrder.kt") @@ -5998,7 +6005,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInExtensionProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("genericValForPrimitiveType.kt") @@ -6085,7 +6092,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class External extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExternal() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("jvmStaticExternal.kt") @@ -6112,7 +6119,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FakeOverride extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFakeOverride() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fakeOverride"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fakeOverride"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("diamondFunction.kt") @@ -6145,7 +6152,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FieldRename extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFieldRename() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fieldRename"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fieldRename"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("constructorAndClassObject.kt") @@ -6172,7 +6179,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Finally extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFinally() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/finally"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/finally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("finallyAndFinally.kt") @@ -6247,7 +6254,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FullJdk extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFullJdk() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("charBuffer.kt") @@ -6291,7 +6298,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Native extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInNative() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/native"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/native"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("nativePropertyAccessors.kt") @@ -6318,7 +6325,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Regressions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInRegressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/regressions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/regressions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt1770.kt") @@ -6334,7 +6341,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Functions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("coerceVoidToArray.kt") @@ -6600,7 +6607,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FunctionExpression extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFunctionExpression() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/functionExpression"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/functionExpression"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("functionExpression.kt") @@ -6627,7 +6634,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Invoke extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInvoke() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/invoke"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("castFunctionToExtension.kt") @@ -6714,7 +6721,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class LocalFunctions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLocalFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callInlineLocalInLambda.kt") @@ -6820,7 +6827,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class HashPMap extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInHashPMap() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("empty.kt") @@ -6865,7 +6872,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Increment extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInIncrement() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/increment"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/increment"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayElement.kt") @@ -7000,7 +7007,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class InnerNested extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInnerNested() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/innerNested"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/innerNested"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("createNestedClass.kt") @@ -7146,7 +7153,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class SuperConstructorCall extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSuperConstructorCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/innerNested/superConstructorCall"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/innerNested/superConstructorCall"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("deepInnerHierarchy.kt") @@ -7276,7 +7283,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Instructions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInstructions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/instructions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/instructions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/instructions/swap") @@ -7284,7 +7291,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Swap extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSwap() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/instructions/swap"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/instructions/swap"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("swapRefToSharedVarInt.kt") @@ -7306,7 +7313,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Intrinsics extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInIntrinsics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/intrinsics"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/intrinsics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("charToInt.kt") @@ -7429,7 +7436,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JavaInterop extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJavaInterop() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/javaInterop/generics") @@ -7437,7 +7444,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Generics extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInGenerics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("allWildcardsOnClass.kt") @@ -7464,7 +7471,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class NotNullAssertions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInNotNullAssertions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("extensionReceiverParameter.kt") @@ -7485,7 +7492,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ObjectMethods extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInObjectMethods() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/objectMethods"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/objectMethods"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("cloneCallsConstructor.kt") @@ -7531,7 +7538,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Jdk extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJdk() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jdk"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jdk"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayList.kt") @@ -7564,7 +7571,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JvmField extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJvmField() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("captureClassFields.kt") @@ -7657,7 +7664,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JvmName extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callableReference.kt") @@ -7731,7 +7738,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FileFacades extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFileFacades() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmName/fileFacades"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmName/fileFacades"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("differentFiles.kt") @@ -7759,7 +7766,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JvmOverloads extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJvmOverloads() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("companionObject.kt") @@ -7792,6 +7799,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis doTest(fileName); } + @TestMetadata("innerClass.kt") + public void testInnerClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/innerClass.kt"); + doTest(fileName); + } + @TestMetadata("multipleDefaultParameters.kt") public void testMultipleDefaultParameters() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt"); @@ -7810,6 +7823,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis doTest(fileName); } + @TestMetadata("privateClass.kt") + public void testPrivateClass() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/privateClass.kt"); + doTest(fileName); + } + @TestMetadata("secondaryConstructor.kt") public void testSecondaryConstructor() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/secondaryConstructor.kt"); @@ -7827,6 +7846,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/simpleJavaCall.kt"); doTest(fileName); } + + @TestMetadata("varargs.kt") + public void testVarargs() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmOverloads/varargs.kt"); + doTest(fileName); + } } @TestMetadata("compiler/testData/codegen/box/jvmStatic") @@ -7834,7 +7859,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JvmStatic extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJvmStatic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("annotations.kt") @@ -7981,7 +8006,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Labels extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLabels() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/labels"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/labels"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("labeledDeclarations.kt") @@ -8026,7 +8051,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class LazyCodegen extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLazyCodegen() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("exceptionInFieldInitializer.kt") @@ -8088,7 +8113,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Optimizations extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInOptimizations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen/optimizations"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen/optimizations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("negateConstantCompare.kt") @@ -8151,20 +8176,8 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class LocalClasses extends AbstractLightAnalysisModeCodegenTest { - @TestMetadata("closureOfInnerLocalClass.kt") - public void ignoredClosureOfInnerLocalClass() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt"); - doTest(fileName); - } - - @TestMetadata("closureWithSelfInstantiation.kt") - public void ignoredClosureWithSelfInstantiation() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt"); - doTest(fileName); - } - public void testAllFilesPresentInLocalClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/localClasses"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/localClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("anonymousObjectInInitializer.kt") @@ -8323,7 +8336,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Mangling extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMangling() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("field.kt") @@ -8374,7 +8387,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MultiDecl extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMultiDecl() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("ComplexInitializer.kt") @@ -8460,7 +8473,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ForIterator extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInForIterator() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclFor.kt") @@ -8498,7 +8511,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class LongIterator extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLongIterator() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator/longIterator"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator/longIterator"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8532,7 +8545,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ForRange extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInForRange() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclFor.kt") @@ -8570,7 +8583,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ExplicitRangeTo extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExplicitRangeTo() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclFor.kt") @@ -8608,7 +8621,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Int extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInt() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8641,7 +8654,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Long extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLong() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8675,7 +8688,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ExplicitRangeToWithDot extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExplicitRangeToWithDot() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclFor.kt") @@ -8713,7 +8726,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Int extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInt() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8746,7 +8759,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Long extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLong() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8780,7 +8793,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Int extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInInt() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/int"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/int"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8813,7 +8826,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Long extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLong() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/long"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/long"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("MultiDeclForComponentExtensions.kt") @@ -8848,7 +8861,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClasses extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMultifileClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callMultifileClassMemberFromOtherPackage.kt") @@ -8916,7 +8929,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Optimized extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInOptimized() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callableRefToFun.kt") @@ -9010,7 +9023,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class NonLocalReturns extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInNonLocalReturns() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt6895.kt") @@ -9043,7 +9056,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ObjectIntrinsics extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInObjectIntrinsics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("objects.kt") @@ -9058,7 +9071,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Objects extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInObjects() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("anonymousObjectPropertyInitialization.kt") @@ -9325,7 +9338,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class OperatorConventions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInOperatorConventions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("assignmentOperations.kt") @@ -9381,7 +9394,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class CompareTo extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCompareTo() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions/compareTo"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions/compareTo"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("boolean.kt") @@ -9451,7 +9464,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Package extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPackage() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/package"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/package"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("boxPrimitiveTypeInClinit.kt") @@ -9520,7 +9533,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class PlatformTypes extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPlatformTypes() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/platformTypes"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/platformTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/platformTypes/primitives") @@ -9528,7 +9541,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Primitives extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPrimitives() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/platformTypes/primitives"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/platformTypes/primitives"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("assign.kt") @@ -9658,7 +9671,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class PrimitiveTypes extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPrimitiveTypes() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("comparisonWithNaN.kt") @@ -9973,7 +9986,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Private extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/private"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/private"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayConvention.kt") @@ -9994,7 +10007,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class PrivateConstructors extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInPrivateConstructors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/privateConstructors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/privateConstructors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("base.kt") @@ -10093,7 +10106,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("classArtificialFieldInsideNested.kt") @@ -10485,7 +10498,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Const extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConst() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("constFlags.kt") @@ -10524,7 +10537,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInLateinit() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("exceptionField.kt") @@ -10582,7 +10595,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Ranges extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInRanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("forByteProgressionWithIntIncrement.kt") @@ -10626,7 +10639,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Contains extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInContains() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("inComparableRange.kt") @@ -10701,7 +10714,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Expression extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInExpression() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("emptyDownto.kt") @@ -10878,7 +10891,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ForInDownTo extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInForInDownTo() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInDownTo"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("forIntInDownTo.kt") @@ -10911,7 +10924,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ForInIndices extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInForInIndices() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInIndices"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInIndices"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("forInCollectionImplicitReceiverIndices.kt") @@ -10998,7 +11011,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Literal extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLiteral() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("emptyDownto.kt") @@ -11175,7 +11188,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class NullableLoopParameter extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInNullableLoopParameter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("progressionExpression.kt") @@ -11203,7 +11216,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Reflection extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInReflection() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/reflection/annotations") @@ -11211,7 +11224,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Annotations extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInAnnotations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("annotationRetentionAnnotation.kt") @@ -11280,7 +11293,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Call extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callInstanceJavaMethod.kt") @@ -11421,7 +11434,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class CallBy extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInCallBy() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("companionObject.kt") @@ -11520,7 +11533,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ClassLiterals extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClassLiterals() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("annotationClassLiteral.kt") @@ -11571,7 +11584,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Classes extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("classSimpleName.kt") @@ -11640,7 +11653,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Constructors extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConstructors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("classesWithoutConstructors.kt") @@ -11673,7 +11686,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Enclosing extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInEnclosing() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("anonymousObjectInInlinedLambda.kt") @@ -11820,7 +11833,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Functions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("declaredVsInheritedFunctions.kt") @@ -11889,7 +11902,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class GenericSignature extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInGenericSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("covariantOverride.kt") @@ -11946,7 +11959,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class KClassInAnnotation extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInKClassInAnnotation() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("array.kt") @@ -11997,7 +12010,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class LambdaClasses extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInLambdaClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("parameterNamesAndNullability.kt") @@ -12012,7 +12025,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Mapping extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMapping() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("constructor.kt") @@ -12080,7 +12093,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class FakeOverrides extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInFakeOverrides() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("javaFieldGetterSetter.kt") @@ -12101,7 +12114,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class JvmStatic extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInJvmStatic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("companionObjectFunction.kt") @@ -12122,7 +12135,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Types extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTypes() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("array.kt") @@ -12186,7 +12199,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MethodsFromAny extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMethodsFromAny() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") @@ -12267,7 +12280,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClasses extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMultifileClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/multifileClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callFunctionsInMultifileClass.kt") @@ -12294,7 +12307,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class NoReflectAtRuntime extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInNoReflectAtRuntime() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("javaClass.kt") @@ -12338,7 +12351,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class MethodsFromAny extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInMethodsFromAny() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callableReferences.kt") @@ -12360,7 +12373,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Parameters extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInParameters() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("functionParameterNameAndIndex.kt") @@ -12405,7 +12418,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Properties extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("allVsDeclared.kt") @@ -12593,7 +12606,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInAccessors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("extensionPropertyAccessors.kt") @@ -12627,7 +12640,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class SpecialBuiltIns extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSpecialBuiltIns() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/specialBuiltIns"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/specialBuiltIns"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("getMembersOfStandardJavaClasses.kt") @@ -12642,7 +12655,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Types extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTypes() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/types"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/types"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("platformTypeNotEqualToKotlinType.kt") @@ -12664,7 +12677,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Regressions extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInRegressions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("arrayLengthNPE.kt") @@ -13087,7 +13100,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Reified extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInReified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("anonymousObject.kt") @@ -13263,7 +13276,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ArraysReification extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInArraysReification() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("instanceOf.kt") @@ -13309,7 +13322,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class SafeCall extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSafeCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("genericNull.kt") @@ -13372,7 +13385,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Sam extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSam() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("compiler/testData/codegen/box/sam/constructors") @@ -13380,7 +13393,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Constructors extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInConstructors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sam/constructors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sam/constructors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("comparator.kt") @@ -13462,7 +13475,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Sealed extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSealed() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sealed"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sealed"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("objects.kt") @@ -13495,7 +13508,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("basicNoPrimaryManySinks.kt") @@ -13672,7 +13685,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Smap extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSmap() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("chainCalls.kt") @@ -13699,7 +13712,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class SmartCasts extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSmartCasts() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/smartCasts"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/smartCasts"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("falseSmartCast.kt") @@ -13780,7 +13793,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class SpecialBuiltins extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSpecialBuiltins() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/specialBuiltins"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/specialBuiltins"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("bridgeNotEmptyMap.kt") @@ -13909,7 +13922,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Statics extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInStatics() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/statics"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/statics"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("anonymousInitializerIObject.kt") @@ -14014,7 +14027,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class StoreStackBeforeInline extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInStoreStackBeforeInline() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("differentTypes.kt") @@ -14053,7 +14066,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Strings extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInStrings() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/strings"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/strings"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("ea35743.kt") @@ -14158,7 +14171,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Super extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSuper() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("basicmethodSuperClass.kt") @@ -14335,7 +14348,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Synchronized extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInSynchronized() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("changeMonitor.kt") @@ -14422,7 +14435,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInSyntheticAccessors() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt10047.kt") @@ -14473,7 +14486,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class ToArray extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInToArray() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt3177-toTypedArray.kt") @@ -14512,7 +14525,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelPrivate extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTopLevelPrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("noPrivateNoAccessorsInMultiFileFacade.kt") @@ -14563,7 +14576,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis } public void testAllFilesPresentInTraits() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/traits"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/traits"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("diamondPropertyAccessors.kt") @@ -14734,7 +14747,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class TypeInfo extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTypeInfo() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/typeInfo"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/typeInfo"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("asInLoop.kt") @@ -14785,7 +14798,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class TypeMapping extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInTypeMapping() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("enhancedPrimitives.kt") @@ -14854,7 +14867,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class UnaryOp extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInUnaryOp() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/unaryOp"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/unaryOp"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("call.kt") @@ -14899,7 +14912,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Unit extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInUnit() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/unit"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/unit"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("closureReturnsNullableUnit.kt") @@ -14974,7 +14987,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class Vararg extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInVararg() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("kt1978.kt") @@ -15031,7 +15044,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class When extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInWhen() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("callProperty.kt") @@ -15237,7 +15250,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class EnumOptimization extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInEnumOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("bigEnum.kt") @@ -15312,7 +15325,7 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis @RunWith(JUnit3RunnerWithInners.class) public static class StringOptimization extends AbstractLightAnalysisModeCodegenTest { public void testAllFilesPresentInStringOptimization() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } @TestMetadata("duplicatingItems.kt") diff --git a/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/ClassFileToSourceStubConverterTestGenerated.java b/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/ClassFileToSourceStubConverterTestGenerated.java index aef494ebd46..4c2278199e1 100644 --- a/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/ClassFileToSourceStubConverterTestGenerated.java +++ b/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/ClassFileToSourceStubConverterTestGenerated.java @@ -19,6 +19,7 @@ package org.jetbrains.kotlin.kapt3.test; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -38,7 +39,7 @@ public class ClassFileToSourceStubConverterTestGenerated extends AbstractClassFi } public void testAllFilesPresentInConverter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/kapt3/testData/converter"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/kapt3/testData/converter"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true); } @TestMetadata("annotations.kt") diff --git a/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/KotlinKaptContextTestGenerated.java b/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/KotlinKaptContextTestGenerated.java index e13d594dcd0..cd1eeb3cccf 100644 --- a/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/KotlinKaptContextTestGenerated.java +++ b/plugins/kapt3/test/org/jetbrains/kotlin/kapt3/test/KotlinKaptContextTestGenerated.java @@ -19,6 +19,7 @@ package org.jetbrains.kotlin.kapt3.test; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -32,7 +33,7 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class KotlinKaptContextTestGenerated extends AbstractKotlinKaptContextTest { public void testAllFilesPresentInKotlinRunner() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/kapt3/testData/kotlinRunner"), Pattern.compile("^(.+)\\.kt$"), true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/kapt3/testData/kotlinRunner"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true); } @TestMetadata("Simple.kt")