[FIR][LT] Enable parallel execution for LT tests

This commit is contained in:
Andrey Zinovyev
2021-04-20 15:00:33 +03:00
committed by TeamCityServer
parent 0a811bdd1a
commit ac0af39660
3 changed files with 2 additions and 438 deletions
@@ -7,8 +7,6 @@ package org.jetbrains.kotlin.test.runners;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.junit.jupiter.api.parallel.Execution;
import org.junit.jupiter.api.parallel.ExecutionMode;
import org.jetbrains.kotlin.test.TestMetadata; import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
@@ -22,7 +20,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve") @TestMetadata("compiler/fir/analysis-tests/testData/resolve")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Resolve { public class Resolve {
@Test @Test
public void testAllFilesPresentInResolve() throws Exception { public void testAllFilesPresentInResolve() throws Exception {
@@ -572,7 +569,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/arguments") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/arguments")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Arguments { public class Arguments {
@Test @Test
public void testAllFilesPresentInArguments() throws Exception { public void testAllFilesPresentInArguments() throws Exception {
@@ -781,7 +777,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/arrays") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/arrays")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Arrays { public class Arrays {
@Test @Test
public void testAllFilesPresentInArrays() throws Exception { public void testAllFilesPresentInArrays() throws Exception {
@@ -804,7 +799,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/builtins") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/builtins")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Builtins { public class Builtins {
@Test @Test
public void testAllFilesPresentInBuiltins() throws Exception { public void testAllFilesPresentInBuiltins() throws Exception {
@@ -821,7 +815,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/callResolution") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/callResolution")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class CallResolution { public class CallResolution {
@Test @Test
public void testAllFilesPresentInCallResolution() throws Exception { public void testAllFilesPresentInCallResolution() throws Exception {
@@ -934,7 +927,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/cfg") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/cfg")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Cfg { public class Cfg {
@Test @Test
public void testAllFilesPresentInCfg() throws Exception { public void testAllFilesPresentInCfg() throws Exception {
@@ -1095,7 +1087,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/constVal") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/constVal")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ConstVal { public class ConstVal {
@Test @Test
public void testAllFilesPresentInConstVal() throws Exception { public void testAllFilesPresentInConstVal() throws Exception {
@@ -1124,7 +1115,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/constructors") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/constructors")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Constructors { public class Constructors {
@Test @Test
public void testAllFilesPresentInConstructors() throws Exception { public void testAllFilesPresentInConstructors() throws Exception {
@@ -1141,7 +1131,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/contracts") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/contracts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Contracts { public class Contracts {
@Test @Test
public void testAllFilesPresentInContracts() throws Exception { public void testAllFilesPresentInContracts() throws Exception {
@@ -1158,7 +1147,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/delegates") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/delegates")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Delegates { public class Delegates {
@Test @Test
public void testAllFilesPresentInDelegates() throws Exception { public void testAllFilesPresentInDelegates() throws Exception {
@@ -1205,7 +1193,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/diagnostics") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/diagnostics")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Diagnostics { public class Diagnostics {
@Test @Test
@TestMetadata("abstractSuperCall.kt") @TestMetadata("abstractSuperCall.kt")
@@ -1521,7 +1508,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/diagnostics/functionAsExpression") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/diagnostics/functionAsExpression")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FunctionAsExpression { public class FunctionAsExpression {
@Test @Test
public void testAllFilesPresentInFunctionAsExpression() throws Exception { public void testAllFilesPresentInFunctionAsExpression() throws Exception {
@@ -1539,7 +1525,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Exhaustiveness { public class Exhaustiveness {
@Test @Test
public void testAllFilesPresentInExhaustiveness() throws Exception { public void testAllFilesPresentInExhaustiveness() throws Exception {
@@ -1549,7 +1534,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness/negative") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness/negative")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Negative { public class Negative {
@Test @Test
public void testAllFilesPresentInNegative() throws Exception { public void testAllFilesPresentInNegative() throws Exception {
@@ -1590,7 +1574,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness/positive") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/exhaustiveness/positive")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Positive { public class Positive {
@Test @Test
public void testAllFilesPresentInPositive() throws Exception { public void testAllFilesPresentInPositive() throws Exception {
@@ -1662,7 +1645,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Expresssions { public class Expresssions {
@Test @Test
@TestMetadata("access.kt") @TestMetadata("access.kt")
@@ -2038,7 +2020,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/inference") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/inference")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Inference { public class Inference {
@Test @Test
public void testAllFilesPresentInInference() throws Exception { public void testAllFilesPresentInInference() throws Exception {
@@ -2067,7 +2048,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/invoke") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/invoke")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Invoke { public class Invoke {
@Test @Test
public void testAllFilesPresentInInvoke() throws Exception { public void testAllFilesPresentInInvoke() throws Exception {
@@ -2168,7 +2148,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/operators") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/expresssions/operators")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Operators { public class Operators {
@Test @Test
public void testAllFilesPresentInOperators() throws Exception { public void testAllFilesPresentInOperators() throws Exception {
@@ -2198,7 +2177,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ExtendedCheckers { public class ExtendedCheckers {
@Test @Test
public void testAllFilesPresentInExtendedCheckers() throws Exception { public void testAllFilesPresentInExtendedCheckers() throws Exception {
@@ -2256,7 +2234,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class CanBeReplacedWithOperatorAssignment { public class CanBeReplacedWithOperatorAssignment {
@Test @Test
public void testAllFilesPresentInCanBeReplacedWithOperatorAssignment() throws Exception { public void testAllFilesPresentInCanBeReplacedWithOperatorAssignment() throws Exception {
@@ -2381,7 +2358,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/emptyRangeChecker") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/emptyRangeChecker")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class EmptyRangeChecker { public class EmptyRangeChecker {
@Test @Test
public void testAllFilesPresentInEmptyRangeChecker() throws Exception { public void testAllFilesPresentInEmptyRangeChecker() throws Exception {
@@ -2404,7 +2380,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantCallOfConversionMethod") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantCallOfConversionMethod")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class RedundantCallOfConversionMethod { public class RedundantCallOfConversionMethod {
@Test @Test
public void testAllFilesPresentInRedundantCallOfConversionMethod() throws Exception { public void testAllFilesPresentInRedundantCallOfConversionMethod() throws Exception {
@@ -2535,7 +2510,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/unused") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/unused")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Unused { public class Unused {
@Test @Test
public void testAllFilesPresentInUnused() throws Exception { public void testAllFilesPresentInUnused() throws Exception {
@@ -2588,7 +2562,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/UselessCallOnNotNullChecker") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/UselessCallOnNotNullChecker")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class UselessCallOnNotNullChecker { public class UselessCallOnNotNullChecker {
@Test @Test
public void testAllFilesPresentInUselessCallOnNotNullChecker() throws Exception { public void testAllFilesPresentInUselessCallOnNotNullChecker() throws Exception {
@@ -2666,7 +2639,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/fromBuilder") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/fromBuilder")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FromBuilder { public class FromBuilder {
@Test @Test
public void testAllFilesPresentInFromBuilder() throws Exception { public void testAllFilesPresentInFromBuilder() throws Exception {
@@ -2707,7 +2679,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/inference") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/inference")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Inference { public class Inference {
@Test @Test
public void testAllFilesPresentInInference() throws Exception { public void testAllFilesPresentInInference() throws Exception {
@@ -2838,7 +2809,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/inlineClasses") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/inlineClasses")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class InlineClasses { public class InlineClasses {
@Test @Test
public void testAllFilesPresentInInlineClasses() throws Exception { public void testAllFilesPresentInInlineClasses() throws Exception {
@@ -2867,7 +2837,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/innerClasses") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/innerClasses")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class InnerClasses { public class InnerClasses {
@Test @Test
public void testAllFilesPresentInInnerClasses() throws Exception { public void testAllFilesPresentInInnerClasses() throws Exception {
@@ -2902,7 +2871,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/localClasses") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/localClasses")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class LocalClasses { public class LocalClasses {
@Test @Test
public void testAllFilesPresentInLocalClasses() throws Exception { public void testAllFilesPresentInLocalClasses() throws Exception {
@@ -2931,7 +2899,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/multifile") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/multifile")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Multifile { public class Multifile {
@Test @Test
public void testAllFilesPresentInMultifile() throws Exception { public void testAllFilesPresentInMultifile() throws Exception {
@@ -3008,7 +2975,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/overrides") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/overrides")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Overrides { public class Overrides {
@Test @Test
public void testAllFilesPresentInOverrides() throws Exception { public void testAllFilesPresentInOverrides() throws Exception {
@@ -3067,7 +3033,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/problems") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/problems")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Problems { public class Problems {
@Test @Test
public void testAllFilesPresentInProblems() throws Exception { public void testAllFilesPresentInProblems() throws Exception {
@@ -3192,7 +3157,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/properties") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/properties")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Properties { public class Properties {
@Test @Test
public void testAllFilesPresentInProperties() throws Exception { public void testAllFilesPresentInProperties() throws Exception {
@@ -3239,7 +3203,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/references") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/references")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class References { public class References {
@Test @Test
public void testAllFilesPresentInReferences() throws Exception { public void testAllFilesPresentInReferences() throws Exception {
@@ -3286,7 +3249,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/samConstructors") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/samConstructors")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class SamConstructors { public class SamConstructors {
@Test @Test
public void testAllFilesPresentInSamConstructors() throws Exception { public void testAllFilesPresentInSamConstructors() throws Exception {
@@ -3339,7 +3301,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/samConversions") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/samConversions")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class SamConversions { public class SamConversions {
@Test @Test
public void testAllFilesPresentInSamConversions() throws Exception { public void testAllFilesPresentInSamConversions() throws Exception {
@@ -3404,7 +3365,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Smartcasts { public class Smartcasts {
@Test @Test
public void testAllFilesPresentInSmartcasts() throws Exception { public void testAllFilesPresentInSmartcasts() throws Exception {
@@ -3486,7 +3446,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/booleans") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/booleans")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Booleans { public class Booleans {
@Test @Test
public void testAllFilesPresentInBooleans() throws Exception { public void testAllFilesPresentInBooleans() throws Exception {
@@ -3521,7 +3480,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/boundSmartcasts") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/boundSmartcasts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class BoundSmartcasts { public class BoundSmartcasts {
@Test @Test
public void testAllFilesPresentInBoundSmartcasts() throws Exception { public void testAllFilesPresentInBoundSmartcasts() throws Exception {
@@ -3556,7 +3514,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/controlStructures") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/controlStructures")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ControlStructures { public class ControlStructures {
@Test @Test
public void testAllFilesPresentInControlStructures() throws Exception { public void testAllFilesPresentInControlStructures() throws Exception {
@@ -3597,7 +3554,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/lambdas") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/lambdas")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Lambdas { public class Lambdas {
@Test @Test
public void testAllFilesPresentInLambdas() throws Exception { public void testAllFilesPresentInLambdas() throws Exception {
@@ -3626,7 +3582,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/loops") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/loops")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Loops { public class Loops {
@Test @Test
public void testAllFilesPresentInLoops() throws Exception { public void testAllFilesPresentInLoops() throws Exception {
@@ -3649,7 +3604,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/problems") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/problems")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Problems { public class Problems {
@Test @Test
public void testAllFilesPresentInProblems() throws Exception { public void testAllFilesPresentInProblems() throws Exception {
@@ -3666,7 +3620,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/receivers") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/receivers")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Receivers { public class Receivers {
@Test @Test
public void testAllFilesPresentInReceivers() throws Exception { public void testAllFilesPresentInReceivers() throws Exception {
@@ -3701,7 +3654,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/safeCalls") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/safeCalls")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class SafeCalls { public class SafeCalls {
@Test @Test
public void testAllFilesPresentInSafeCalls() throws Exception { public void testAllFilesPresentInSafeCalls() throws Exception {
@@ -3742,7 +3694,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/stability") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/stability")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Stability { public class Stability {
@Test @Test
public void testAllFilesPresentInStability() throws Exception { public void testAllFilesPresentInStability() throws Exception {
@@ -3759,7 +3710,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/variables") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/variables")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Variables { public class Variables {
@Test @Test
public void testAllFilesPresentInVariables() throws Exception { public void testAllFilesPresentInVariables() throws Exception {
@@ -3783,7 +3733,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/stdlib") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/stdlib")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Stdlib { public class Stdlib {
@Test @Test
public void testAllFilesPresentInStdlib() throws Exception { public void testAllFilesPresentInStdlib() throws Exception {
@@ -3793,7 +3742,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/stdlib/j+k") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/stdlib/j+k")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class J_k { public class J_k {
@Test @Test
public void testAllFilesPresentInJ_k() throws Exception { public void testAllFilesPresentInJ_k() throws Exception {
@@ -3817,7 +3765,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/suppress") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/suppress")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Suppress { public class Suppress {
@Test @Test
public void testAllFilesPresentInSuppress() throws Exception { public void testAllFilesPresentInSuppress() throws Exception {
@@ -3852,7 +3799,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/types") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/types")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Types { public class Types {
@Test @Test
public void testAllFilesPresentInTypes() throws Exception { public void testAllFilesPresentInTypes() throws Exception {
@@ -3881,7 +3827,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/visibility") @TestMetadata("compiler/fir/analysis-tests/testData/resolve/visibility")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Visibility { public class Visibility {
@Test @Test
public void testAllFilesPresentInVisibility() throws Exception { public void testAllFilesPresentInVisibility() throws Exception {
@@ -3959,7 +3904,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ResolveWithStdlib { public class ResolveWithStdlib {
@Test @Test
@TestMetadata("addAllOnJavaCollection.kt") @TestMetadata("addAllOnJavaCollection.kt")
@@ -4299,7 +4243,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class CallableReferences { public class CallableReferences {
@Test @Test
public void testAllFilesPresentInCallableReferences() throws Exception { public void testAllFilesPresentInCallableReferences() throws Exception {
@@ -4453,7 +4396,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences/fromBasicDiagnosticTests") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences/fromBasicDiagnosticTests")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FromBasicDiagnosticTests { public class FromBasicDiagnosticTests {
@Test @Test
public void testAllFilesPresentInFromBasicDiagnosticTests() throws Exception { public void testAllFilesPresentInFromBasicDiagnosticTests() throws Exception {
@@ -4543,7 +4485,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Contracts { public class Contracts {
@Test @Test
public void testAllFilesPresentInContracts() throws Exception { public void testAllFilesPresentInContracts() throws Exception {
@@ -4553,7 +4494,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromLibrary") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromLibrary")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FromLibrary { public class FromLibrary {
@Test @Test
public void testAllFilesPresentInFromLibrary() throws Exception { public void testAllFilesPresentInFromLibrary() throws Exception {
@@ -4582,7 +4522,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FromSource { public class FromSource {
@Test @Test
public void testAllFilesPresentInFromSource() throws Exception { public void testAllFilesPresentInFromSource() throws Exception {
@@ -4592,7 +4531,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Bad { public class Bad {
@Test @Test
public void testAllFilesPresentInBad() throws Exception { public void testAllFilesPresentInBad() throws Exception {
@@ -4602,7 +4540,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad/callsInPlace") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad/callsInPlace")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class CallsInPlace { public class CallsInPlace {
@Test @Test
public void testAllFilesPresentInCallsInPlace() throws Exception { public void testAllFilesPresentInCallsInPlace() throws Exception {
@@ -4637,7 +4574,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad/returnsImplies") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/bad/returnsImplies")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ReturnsImplies { public class ReturnsImplies {
@Test @Test
public void testAllFilesPresentInReturnsImplies() throws Exception { public void testAllFilesPresentInReturnsImplies() throws Exception {
@@ -4661,7 +4597,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Good { public class Good {
@Test @Test
public void testAllFilesPresentInGood() throws Exception { public void testAllFilesPresentInGood() throws Exception {
@@ -4671,7 +4606,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/callsInPlace") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/callsInPlace")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class CallsInPlace { public class CallsInPlace {
@Test @Test
public void testAllFilesPresentInCallsInPlace() throws Exception { public void testAllFilesPresentInCallsInPlace() throws Exception {
@@ -4730,7 +4664,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/returnsImplies") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/returnsImplies")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class ReturnsImplies { public class ReturnsImplies {
@Test @Test
public void testAllFilesPresentInReturnsImplies() throws Exception { public void testAllFilesPresentInReturnsImplies() throws Exception {
@@ -4807,7 +4740,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/variousContracts") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/variousContracts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class VariousContracts { public class VariousContracts {
@Test @Test
public void testAllFilesPresentInVariousContracts() throws Exception { public void testAllFilesPresentInVariousContracts() throws Exception {
@@ -4817,7 +4749,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/variousContracts/newSyntax") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromSource/good/variousContracts/newSyntax")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class NewSyntax { public class NewSyntax {
@Test @Test
public void testAllFilesPresentInNewSyntax() throws Exception { public void testAllFilesPresentInNewSyntax() throws Exception {
@@ -4838,7 +4769,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/delegates") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/delegates")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Delegates { public class Delegates {
@Test @Test
public void testAllFilesPresentInDelegates() throws Exception { public void testAllFilesPresentInDelegates() throws Exception {
@@ -4891,7 +4821,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Diagnostics { public class Diagnostics {
@Test @Test
public void testAllFilesPresentInDiagnostics() throws Exception { public void testAllFilesPresentInDiagnostics() throws Exception {
@@ -4907,7 +4836,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class FunctionReturnTypeMismatchChecker { public class FunctionReturnTypeMismatchChecker {
@Test @Test
public void testAllFilesPresentInFunctionReturnTypeMismatchChecker() throws Exception { public void testAllFilesPresentInFunctionReturnTypeMismatchChecker() throws Exception {
@@ -4924,7 +4852,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/initializerTypeMismatchChecker") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/initializerTypeMismatchChecker")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class InitializerTypeMismatchChecker { public class InitializerTypeMismatchChecker {
@Test @Test
public void testAllFilesPresentInInitializerTypeMismatchChecker() throws Exception { public void testAllFilesPresentInInitializerTypeMismatchChecker() throws Exception {
@@ -4942,7 +4869,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/inference") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/inference")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Inference { public class Inference {
@Test @Test
public void testAllFilesPresentInInference() throws Exception { public void testAllFilesPresentInInference() throws Exception {
@@ -4995,7 +4921,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/initialization") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/initialization")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Initialization { public class Initialization {
@Test @Test
public void testAllFilesPresentInInitialization() throws Exception { public void testAllFilesPresentInInitialization() throws Exception {
@@ -5012,7 +4937,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class J_k { public class J_k {
@Test @Test
public void testAllFilesPresentInJ_k() throws Exception { public void testAllFilesPresentInJ_k() throws Exception {
@@ -5305,7 +5229,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class MultiModule { public class MultiModule {
@Test @Test
public void testAllFilesPresentInMultiModule() throws Exception { public void testAllFilesPresentInMultiModule() throws Exception {
@@ -5346,7 +5269,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Problems { public class Problems {
@Test @Test
public void testAllFilesPresentInProblems() throws Exception { public void testAllFilesPresentInProblems() throws Exception {
@@ -5441,7 +5363,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/reinitializations") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/reinitializations")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Reinitializations { public class Reinitializations {
@Test @Test
public void testAllFilesPresentInReinitializations() throws Exception { public void testAllFilesPresentInReinitializations() throws Exception {
@@ -5458,7 +5379,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
@Nested @Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts") @TestMetadata("compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@Execution(ExecutionMode.SAME_THREAD)
public class Smartcasts { public class Smartcasts {
@Test @Test
public void testAllFilesPresentInSmartcasts() throws Exception { public void testAllFilesPresentInSmartcasts() throws Exception {
@@ -124,8 +124,7 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
} }
testClass<AbstractFirDiagnosticsWithLightTreeTest>( testClass<AbstractFirDiagnosticsWithLightTreeTest>(
suiteTestClassName = "FirOldFrontendDiagnosticsWithLightTreeTestGenerated", suiteTestClassName = "FirOldFrontendDiagnosticsWithLightTreeTestGenerated"
annotations = listOf(annotation(Execution::class.java, ExecutionMode.SAME_THREAD))
) { ) {
model("diagnostics/tests", excludedPattern = excludedFirTestdataPattern) model("diagnostics/tests", excludedPattern = excludedFirTestdataPattern)
model("diagnostics/testsWithStdLib", excludedPattern = excludedFirTestdataPattern) model("diagnostics/testsWithStdLib", excludedPattern = excludedFirTestdataPattern)
@@ -148,9 +147,7 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
model("resolveWithStdlib", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME) model("resolveWithStdlib", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME)
} }
testClass<AbstractFirDiagnosticsWithLightTreeTest>( testClass<AbstractFirDiagnosticsWithLightTreeTest> {
annotations = listOf(annotation(Execution::class.java, ExecutionMode.SAME_THREAD))
) {
model("resolve", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME) model("resolve", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME)
model("resolveWithStdlib", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME) model("resolveWithStdlib", pattern = TestGeneratorUtil.KT_WITHOUT_DOTS_IN_NAME)
} }