diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/AbstractCompilerBasedTestForFir.kt b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/AbstractCompilerBasedTestForFir.kt index 61cb9776661..59916f133c7 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/AbstractCompilerBasedTestForFir.kt +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/AbstractCompilerBasedTestForFir.kt @@ -59,7 +59,13 @@ abstract class AbstractCompilerBasedTestForFir : AbstractCompilerBasedTest() { useMetaTestConfigurators(::LLFirMetaTestConfigurator) useAfterAnalysisCheckers(::LLFirIdenticalChecker) - useAfterAnalysisCheckers(::LLFirDivergenceCommentChecker) + + // For multiplatform tests it's expected that LL and FIR diverge, + // because IR actualizer doesn't run in IDE mode tests. + forTestsNotMatching("compiler/testData/diagnostics/tests/multiplatform/*") { + useAfterAnalysisCheckers(::LLFirDivergenceCommentChecker) + } + useAfterAnalysisCheckers(::LLFirTestSuppressor) } diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/LLFirDivergenceUtils.kt b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/LLFirDivergenceUtils.kt index b017a286996..1c85b6a989d 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/LLFirDivergenceUtils.kt +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/LLFirDivergenceUtils.kt @@ -21,7 +21,7 @@ fun String.removeLlFirDivergenceDirective(trimLines: Boolean): String { return if (findDirectiveInLines(iterator)) { // `trimStart` ensures that the `LL_FIR_DIVERGENCE` directive can be separated from the rest of the file by blank lines. iterator.asSequence().concatLines(trimLines).trimStart() - } else this + } else this.trim() // Trim start and end newlines in file if directive not found } private fun Sequence.concatLines(trimLines: Boolean): String = diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java index 4639378c162..c456a59c981 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java @@ -60,7 +60,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInTests() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -1521,7 +1521,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2238,7 +2238,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class AnnotationParameterMustBeConstant { @Test public void testAllFilesPresentInAnnotationParameterMustBeConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2308,7 +2308,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FunctionalTypes { @Test public void testAllFilesPresentInFunctionalTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2342,7 +2342,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Options { @Test public void testAllFilesPresentInOptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2465,7 +2465,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInTargets() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2602,7 +2602,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Parameters { @Test public void testAllFilesPresentInParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2653,7 +2653,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Expressions { @Test public void testAllFilesPresentInExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2868,7 +2868,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Rendering { @Test public void testAllFilesPresentInRendering() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2950,7 +2950,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3056,7 +3056,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TypeUse { @Test public void testAllFilesPresentInTypeUse() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3114,7 +3114,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class WithUseSiteTarget { @Test public void testAllFilesPresentInWithUseSiteTarget() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3293,7 +3293,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3524,7 +3524,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ProhibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor { @Test public void testAllFilesPresentInProhibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField/prohibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField/prohibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3643,7 +3643,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3652,7 +3652,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OneParameter { @Test public void testAllFilesPresentInOneParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3661,7 +3661,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OneTypeVariable { @Test public void testAllFilesPresentInOneTypeVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3670,7 +3670,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OneTypeInfoOrigin { @Test public void testAllFilesPresentInOneTypeInfoOrigin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3685,7 +3685,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SourceSinkFeedContexts { @Test public void testAllFilesPresentInSourceSinkFeedContexts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3707,7 +3707,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TargetTypes { @Test public void testAllFilesPresentInTargetTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3745,7 +3745,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4126,7 +4126,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInAdapted() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4148,7 +4148,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4278,7 +4278,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4588,7 +4588,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Generic { @Test public void testAllFilesPresentInGeneric() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4718,7 +4718,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4842,7 +4842,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5146,7 +5146,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Unsupported { @Test public void testAllFilesPresentInUnsupported() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5211,7 +5211,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Cast { @Test public void testAllFilesPresentInCast() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5616,7 +5616,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Bare { @Test public void testAllFilesPresentInBare() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5746,7 +5746,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NeverSucceeds { @Test public void testAllFilesPresentInNeverSucceeds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5787,7 +5787,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CheckArguments { @Test public void testAllFilesPresentInCheckArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5893,7 +5893,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ClassLiteral { @Test public void testAllFilesPresentInClassLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5999,7 +5999,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ClassObjects { @Test public void testAllFilesPresentInClassObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6159,7 +6159,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CollectionLiterals { @Test public void testAllFilesPresentInCollectionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6235,7 +6235,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ConstantEvaluator { @Test public void testAllFilesPresentInConstantEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -6244,7 +6244,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Constant { @Test public void testAllFilesPresentInConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6398,7 +6398,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class IsPure { @Test public void testAllFilesPresentInIsPure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6438,7 +6438,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UsesVariableAsConstant { @Test public void testAllFilesPresentInUsesVariableAsConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6485,7 +6485,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInConstructorConsistency() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6657,7 +6657,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Contracts { @Test public void testAllFilesPresentInContracts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -6672,7 +6672,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInNeg() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/neg"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/neg"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } } @@ -6694,7 +6694,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInPos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/pos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/pos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } } } @@ -6729,7 +6729,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInControlFlowAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7386,7 +7386,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DeadCode { @Test public void testAllFilesPresentInDeadCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7564,7 +7564,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DefiniteReturn { @Test public void testAllFilesPresentInDefiniteReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7616,7 +7616,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnnecessaryLateinit { @Test public void testAllFilesPresentInUnnecessaryLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7699,7 +7699,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ControlStructures { @Test public void testAllFilesPresentInControlStructures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8045,7 +8045,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Coroutines { @Test public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8090,7 +8090,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8112,7 +8112,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SuspendFunctionAsSupertype { @Test public void testAllFilesPresentInSuspendFunctionAsSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -8121,7 +8121,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class KSuspendFunctionN { @Test public void testAllFilesPresentInKSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8161,7 +8161,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Simple { @Test public void testAllFilesPresentInSimple() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8201,7 +8201,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SuspendFunctionN { @Test public void testAllFilesPresentInSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8243,7 +8243,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CyclicHierarchy { @Test public void testAllFilesPresentInCyclicHierarchy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8342,7 +8342,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class WithCompanion { @Test public void testAllFilesPresentInWithCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8425,7 +8425,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DataClasses { @Test public void testAllFilesPresentInDataClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8645,7 +8645,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DataFlow { @Test public void testAllFilesPresentInDataFlow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8690,7 +8690,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Assignment { @Test public void testAllFilesPresentInAssignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8730,7 +8730,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8813,7 +8813,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DataFlowInfoTraversal { @Test public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9134,7 +9134,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Smartcasts { @Test public void testAllFilesPresentInSmartcasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9157,7 +9157,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DataObjects { @Test public void testAllFilesPresentInDataObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9173,7 +9173,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DeclarationChecks { @Test public void testAllFilesPresentInDeclarationChecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9410,7 +9410,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DestructuringDeclarations { @Test public void testAllFilesPresentInDestructuringDeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9510,7 +9510,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FiniteBoundRestriction { @Test public void testAllFilesPresentInFiniteBoundRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9538,7 +9538,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NonExpansiveInheritanceRestriction { @Test public void testAllFilesPresentInNonExpansiveInheritanceRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9567,7 +9567,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9607,7 +9607,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9892,7 +9892,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10106,7 +10106,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ProvideDelegate { @Test public void testAllFilesPresentInProvideDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10231,7 +10231,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10324,7 +10324,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Clashes { @Test public void testAllFilesPresentInClashes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10358,7 +10358,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CovariantOverrides { @Test public void testAllFilesPresentInCovariantOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10398,7 +10398,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInMemberHidesSupertypeOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10493,7 +10493,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Deparenthesize { @Test public void testAllFilesPresentInDeparenthesize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10539,7 +10539,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Deprecated { @Test public void testAllFilesPresentInDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10800,7 +10800,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DeprecatedSinceKotlin { @Test public void testAllFilesPresentInDeprecatedSinceKotlin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10865,7 +10865,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DuplicateJvmSignature { @Test public void testAllFilesPresentInDuplicateJvmSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10898,7 +10898,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInAccidentalOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10992,7 +10992,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Bridges { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11020,7 +11020,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Erasure { @Test public void testAllFilesPresentInErasure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11132,7 +11132,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FinalMembersFromBuiltIns { @Test public void testAllFilesPresentInFinalMembersFromBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11154,7 +11154,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FunctionAndProperty { @Test public void testAllFilesPresentInFunctionAndProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11278,7 +11278,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SpecialNames { @Test public void testAllFilesPresentInSpecialNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11342,7 +11342,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11388,7 +11388,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Synthesized { @Test public void testAllFilesPresentInSynthesized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11404,7 +11404,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TraitImpl { @Test public void testAllFilesPresentInTraitImpl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11439,7 +11439,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DynamicTypes { @Test public void testAllFilesPresentInDynamicTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11485,7 +11485,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11866,7 +11866,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Entries { @Test public void testAllFilesPresentInEntries() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12056,7 +12056,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inner { @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12139,7 +12139,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Evaluate { @Test public void testAllFilesPresentInEvaluate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12292,7 +12292,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12309,7 +12309,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Exceptions { @Test public void testAllFilesPresentInExceptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12343,7 +12343,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ExplicitDefinitelyNotNullableViaIntersection { @Test public void testAllFilesPresentInExplicitDefinitelyNotNullableViaIntersection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12431,7 +12431,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Exposed { @Test public void testAllFilesPresentInExposed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12633,7 +12633,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Extensions { @Test public void testAllFilesPresentInExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12744,7 +12744,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ContextReceivers { @Test public void testAllFilesPresentInContextReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12999,7 +12999,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FromKEEP { @Test public void testAllFilesPresentInFromKEEP() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13089,7 +13089,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class External { @Test public void testAllFilesPresentInExternal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13105,7 +13105,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FieldRename { @Test public void testAllFilesPresentInFieldRename() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13157,7 +13157,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13257,7 +13257,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FunctionAsExpression { @Test public void testAllFilesPresentInFunctionAsExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13369,7 +13369,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FunctionLiterals { @Test public void testAllFilesPresentInFunctionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13576,7 +13576,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DestructuringInLambdas { @Test public void testAllFilesPresentInDestructuringInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13646,7 +13646,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Return { @Test public void testAllFilesPresentInReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13831,7 +13831,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Generics { @Test public void testAllFilesPresentInGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14092,7 +14092,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CapturedParameters { @Test public void testAllFilesPresentInCapturedParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14138,7 +14138,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CyclicBounds { @Test public void testAllFilesPresentInCyclicBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14160,7 +14160,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class InnerClasses { @Test public void testAllFilesPresentInInnerClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14331,7 +14331,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ImplicitArguments { @Test public void testAllFilesPresentInImplicitArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14396,7 +14396,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class MultipleBoundsMemberScope { @Test public void testAllFilesPresentInMultipleBoundsMemberScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14448,7 +14448,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Nullability { @Test public void testAllFilesPresentInNullability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14578,7 +14578,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInProjectionsScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14756,7 +14756,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class StarProjections { @Test public void testAllFilesPresentInStarProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14802,7 +14802,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TpAsReified { @Test public void testAllFilesPresentInTpAsReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14896,7 +14896,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class VarProjection { @Test public void testAllFilesPresentInVarProjection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14931,7 +14931,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15349,7 +15349,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class IncompleteCode { @Test public void testAllFilesPresentInIncompleteCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15490,7 +15490,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DiagnosticWithSyntaxError { @Test public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15609,7 +15609,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16428,7 +16428,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16671,7 +16671,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16687,7 +16687,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class StubTypes { @Test public void testAllFilesPresentInStubTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16770,7 +16770,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16798,7 +16798,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17078,7 +17078,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInCoercionToUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17184,7 +17184,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CommonSystem { @Test public void testAllFilesPresentInCommonSystem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17356,7 +17356,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Completion { @Test public void testAllFilesPresentInCompletion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17467,7 +17467,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PostponedArgumentsAnalysis { @Test public void testAllFilesPresentInPostponedArgumentsAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17538,7 +17538,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17710,7 +17710,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class EmptyIntersectionTypes { @Test public void testAllFilesPresentInEmptyIntersectionTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18074,7 +18074,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Forks { @Test public void testAllFilesPresentInForks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18102,7 +18102,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18196,7 +18196,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NothingType { @Test public void testAllFilesPresentInNothingType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18380,7 +18380,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PublicApproximation { @Test public void testAllFilesPresentInPublicApproximation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18468,7 +18468,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class RecursiveCalls { @Test public void testAllFilesPresentInRecursiveCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18484,7 +18484,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class RecursiveLocalFuns { @Test public void testAllFilesPresentInRecursiveLocalFuns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18518,7 +18518,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class RecursiveTypes { @Test public void testAllFilesPresentInRecursiveTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18611,7 +18611,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SelfTypes { @Test public void testAllFilesPresentInSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -18620,7 +18620,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DisabledInferenceOnSelfTypes { @Test public void testAllFilesPresentInDisabledInferenceOnSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18648,7 +18648,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class EnabledInferenceOnSelfTypes { @Test public void testAllFilesPresentInEnabledInferenceOnSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18678,7 +18678,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19126,7 +19126,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ReportingImprovements { @Test public void testAllFilesPresentInReportingImprovements() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19208,7 +19208,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19290,7 +19290,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UpperBounds { @Test public void testAllFilesPresentInUpperBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19367,7 +19367,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Infos { @Test public void testAllFilesPresentInInfos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19389,7 +19389,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inline { @Test public void testAllFilesPresentInInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19734,7 +19734,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BinaryExpressions { @Test public void testAllFilesPresentInBinaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19792,7 +19792,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19910,7 +19910,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NonPublicMember { @Test public void testAllFilesPresentInNonPublicMember() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19986,7 +19986,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Property { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20020,7 +20020,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20036,7 +20036,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnaryExpressions { @Test public void testAllFilesPresentInUnaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20065,7 +20065,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20291,7 +20291,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20570,7 +20570,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20641,7 +20641,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class IntegerLiterals { @Test public void testAllFilesPresentInIntegerLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20705,7 +20705,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInJ_k() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21332,7 +21332,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BrokenCode { @Test public void testAllFilesPresentInBrokenCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21354,7 +21354,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CollectionOverrides { @Test public void testAllFilesPresentInCollectionOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21472,7 +21472,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Deprecations { @Test public void testAllFilesPresentInDeprecations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21512,7 +21512,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class GenericConstructor { @Test public void testAllFilesPresentInGenericConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21576,7 +21576,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PolymorphicSignature { @Test public void testAllFilesPresentInPolymorphicSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21598,7 +21598,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PrimitiveOverrides { @Test public void testAllFilesPresentInPrimitiveOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21626,7 +21626,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PrimitiveOverridesWithInlineClass { @Test public void testAllFilesPresentInPrimitiveOverridesWithInlineClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21642,7 +21642,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Properties { @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21706,7 +21706,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21812,7 +21812,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SamByProjectedType { @Test public void testAllFilesPresentInSamByProjectedType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21852,7 +21852,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SignatureAnnotations { @Test public void testAllFilesPresentInSignatureAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21874,7 +21874,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SpecialBuiltIns { @Test public void testAllFilesPresentInSpecialBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21902,7 +21902,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Types { @Test public void testAllFilesPresentInTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22027,7 +22027,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInJava8Overrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22091,7 +22091,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Javac { @Test public void testAllFilesPresentInJavac() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22106,7 +22106,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class FieldsResolution { @Test public void testAllFilesPresentInFieldsResolution() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22188,7 +22188,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22300,7 +22300,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22412,7 +22412,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inners { @Test public void testAllFilesPresentInInners() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22464,7 +22464,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22504,7 +22504,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22557,7 +22557,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Labels { @Test public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22645,7 +22645,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Lateinit { @Test public void testAllFilesPresentInLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22672,7 +22672,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22701,7 +22701,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Library { @Test public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22723,7 +22723,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class LocalClasses { @Test public void testAllFilesPresentInLocalClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22745,7 +22745,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Modifiers { @Test public void testAllFilesPresentInModifiers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22862,7 +22862,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Const { @Test public void testAllFilesPresentInConst() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23010,7 +23010,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OperatorInfix { @Test public void testAllFilesPresentInOperatorInfix() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23039,7 +23039,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Multimodule { @Test public void testAllFilesPresentInMultimodule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23114,7 +23114,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DuplicateClass { @Test public void testAllFilesPresentInDuplicateClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23202,7 +23202,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DuplicateMethod { @Test public void testAllFilesPresentInDuplicateMethod() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23362,7 +23362,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DuplicateSuper { @Test public void testAllFilesPresentInDuplicateSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23396,7 +23396,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class HiddenClass { @Test public void testAllFilesPresentInHiddenClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23425,13 +23425,2001 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia } } + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform") + @TestDataPath("$PROJECT_ROOT") + public class Multiplatform { + @Test + @TestMetadata("actualFakeOverride.kt") + public void testActualFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride.kt"); + } + + @Test + @TestMetadata("actualFakeOverrideVirtual.kt") + public void testActualFakeOverrideVirtual() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverrideVirtual.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_defaultParamsIncompatibility.kt") + public void testActualFakeOverride_defaultParamsIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_defaultParamsIncompatibility.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams.kt") + public void testActualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams.kt") + public void testActualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_substitutionFakeOverride.kt") + public void testActualFakeOverride_substitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_substitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_transitiveFakeOverrides_compatible.kt") + public void testActualFakeOverride_transitiveFakeOverrides_compatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_transitiveFakeOverrides_compatible.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_transitiveFakeOverrides_incompatible.kt") + public void testActualFakeOverride_transitiveFakeOverrides_incompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_transitiveFakeOverrides_incompatible.kt"); + } + + @Test + @TestMetadata("actualTypealiasToSpecialAnnotation.kt") + public void testActualTypealiasToSpecialAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealiasToSpecialAnnotation.kt"); + } + + @Test + @TestMetadata("actualTypealiasToSpecialAnnotation_oldLanguageVersion.kt") + public void testActualTypealiasToSpecialAnnotation_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealiasToSpecialAnnotation_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("actualTypealias_defaultParamsIncompatibility.kt") + public void testActualTypealias_defaultParamsIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealias_defaultParamsIncompatibility.kt"); + } + + @Test + public void testAllFilesPresentInMultiplatform() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgArrayVsOutArray.kt") + public void testAnnotationArgArrayVsOutArray() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsOutArray.kt"); + } + + @Test + @TestMetadata("annotationArgArrayVsVararg.kt") + public void testAnnotationArgArrayVsVararg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsVararg.kt"); + } + + @Test + @TestMetadata("annotationArgTypeAliasWithArray.kt") + public void testAnnotationArgTypeAliasWithArray() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgTypeAliasWithArray.kt"); + } + + @Test + @TestMetadata("arraySort.kt") + public void testArraySort() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/arraySort.kt"); + } + + @Test + @TestMetadata("arraySortFixed.kt") + public void testArraySortFixed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/arraySortFixed.kt"); + } + + @Test + @TestMetadata("callConflictsOnExpectAndActualWeaklyCompatible.kt") + public void testCallConflictsOnExpectAndActualWeaklyCompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/callConflictsOnExpectAndActualWeaklyCompatible.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass.kt") + public void testChangeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/changeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass.kt") + public void testChangeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/changeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass.kt"); + } + + @Test + @TestMetadata("checkNoActualForExpectInLastModule.kt") + public void testCheckNoActualForExpectInLastModule() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/checkNoActualForExpectInLastModule.kt"); + } + + @Test + @TestMetadata("defaultParams_inheritanceByDelegation_negative.kt") + public void testDefaultParams_inheritanceByDelegation_negative() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultParams_inheritanceByDelegation_negative.kt"); + } + + @Test + @TestMetadata("defaultParams_inheritanceByDelegation_positive.kt") + public void testDefaultParams_inheritanceByDelegation_positive() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultParams_inheritanceByDelegation_positive.kt"); + } + + @Test + @TestMetadata("expectAbstractToString.kt") + public void testExpectAbstractToString() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectAbstractToString.kt"); + } + + @Test + @TestMetadata("expectActualClassesAreInBetaWarning.kt") + public void testExpectActualClassesAreInBetaWarning() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBetaWarning.kt"); + } + + @Test + @TestMetadata("expectActualClassesAreInBeta_suppressWarningWithLv.kt") + public void testExpectActualClassesAreInBeta_suppressWarningWithLv() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBeta_suppressWarningWithLv.kt"); + } + + @Test + @TestMetadata("expectDataObject.kt") + public void testExpectDataObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.kt"); + } + + @Test + @TestMetadata("expectExternal.kt") + public void testExpectExternal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectExternal.kt"); + } + + @Test + @TestMetadata("expectExternal_oldLanguageVersion.kt") + public void testExpectExternal_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectExternal_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("expectInterfaceApplicability.kt") + public void testExpectInterfaceApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.kt"); + } + + @Test + @TestMetadata("expectObjectWithAbstractMember.kt") + public void testExpectObjectWithAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectObjectWithAbstractMember.kt"); + } + + @Test + @TestMetadata("expectOptInAnnotation.kt") + public void testExpectOptInAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectOptInAnnotation.kt"); + } + + @Test + @TestMetadata("expectOptInAnnotation_oldLanguageVersion.kt") + public void testExpectOptInAnnotation_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectOptInAnnotation_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("expectTailrec.kt") + public void testExpectTailrec() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectTailrec.kt"); + } + + @Test + @TestMetadata("expectTailrec_oldLanguageVersion.kt") + public void testExpectTailrec_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectTailrec_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("headerFunInNonHeaderClass.kt") + public void testHeaderFunInNonHeaderClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.kt"); + } + + @Test + @TestMetadata("implDelegatedMember.kt") + public void testImplDelegatedMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implDelegatedMember.kt"); + } + + @Test + @TestMetadata("implDynamic.kt") + public void testImplDynamic() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt"); + } + + @Test + @TestMetadata("implFakeOverride.kt") + public void testImplFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implFakeOverride.kt"); + } + + @Test + @TestMetadata("implicitActualFakeOverride_AbstractMap.kt") + public void testImplicitActualFakeOverride_AbstractMap() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_AbstractMap.kt"); + } + + @Test + @TestMetadata("implicitActualFakeOverride_simple.kt") + public void testImplicitActualFakeOverride_simple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_simple.kt"); + } + + @Test + @TestMetadata("incDecOperatorsInExpectClass.kt") + public void testIncDecOperatorsInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/incDecOperatorsInExpectClass.kt"); + } + + @Test + @TestMetadata("incompatibles.kt") + public void testIncompatibles() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/incompatibles.kt"); + } + + @Test + @TestMetadata("kt54827.kt") + public void testKt54827() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt54827.kt"); + } + + @Test + @TestMetadata("kt58153.kt") + public void testKt58153() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt58153.kt"); + } + + @Test + @TestMetadata("kt60902.kt") + public void testKt60902() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt60902.kt"); + } + + @Test + @TestMetadata("manyImplMemberNotImplemented.kt") + public void testManyImplMemberNotImplemented() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/manyImplMemberNotImplemented.kt"); + } + + @Test + @TestMetadata("manyInterfacesMemberNotImplemented.kt") + public void testManyInterfacesMemberNotImplemented() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/manyInterfacesMemberNotImplemented.kt"); + } + + @Test + @TestMetadata("modifierApplicability.kt") + public void testModifierApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); + } + + @Test + @TestMetadata("multipleExpectInterfacesImplementation.kt") + public void testMultipleExpectInterfacesImplementation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/multipleExpectInterfacesImplementation.kt"); + } + + @Test + @TestMetadata("namedArguments.kt") + public void testNamedArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); + } + + @Test + @TestMetadata("optionalExpectationDiagnostics.kt") + public void testOptionalExpectationDiagnostics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.kt"); + } + + @Test + @TestMetadata("privateTopLevelDeclarations.kt") + public void testPrivateTopLevelDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.kt"); + } + + @Test + @TestMetadata("returnTypeVsGenericsUpperBoundIncompatibility.kt") + public void testReturnTypeVsGenericsUpperBoundIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/returnTypeVsGenericsUpperBoundIncompatibility.kt"); + } + + @Test + @TestMetadata("sealedClassWithPrivateConstructor.kt") + public void testSealedClassWithPrivateConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedClassWithPrivateConstructor.kt"); + } + + @Test + @TestMetadata("sealedTypeAlias.kt") + public void testSealedTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt"); + } + + @Test + @TestMetadata("sealedTypeAliasTopLevel.kt") + public void testSealedTypeAliasTopLevel() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedTypeAliasTopLevel.kt"); + } + + @Test + @TestMetadata("smartcastOnMemberPropertyFromCommonClass.kt") + public void testSmartcastOnMemberPropertyFromCommonClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartcastOnMemberPropertyFromCommonClass.kt"); + } + + @Test + @TestMetadata("superCallDefaultArguments.kt") + public void testSuperCallDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/superCallDefaultArguments.kt"); + } + + @Test + @TestMetadata("supertypeActualizationWithAny.kt") + public void testSupertypeActualizationWithAny() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/supertypeActualizationWithAny.kt"); + } + + @Test + @TestMetadata("varSetterVisibility.kt") + public void testVarSetterVisibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.kt"); + } + + @Test + @TestMetadata("widerVisibilityInActualClassifier.kt") + public void testWiderVisibilityInActualClassifier() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibilityInActualClassifier.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal.kt") + public void testWiderVisibility_expectIsEffectivelyFinal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal_fakeOverride.kt") + public void testWiderVisibility_expectIsEffectivelyFinal_fakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_fakeOverride.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.kt") + public void testWiderVisibility_expectIsEffectivelyFinal_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectSetterIsEffectivelyFinal.kt") + public void testWiderVisibility_expectSetterIsEffectivelyFinal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectSetterIsEffectivelyFinal.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectSetterIsEffectivelyFinal_fakeOverride.kt") + public void testWiderVisibility_expectSetterIsEffectivelyFinal_fakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectSetterIsEffectivelyFinal_fakeOverride.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect") + @TestDataPath("$PROJECT_ROOT") + public class ActualAnnotationsNotMatchExpect { + @Test + @TestMetadata("actualInnerClassMissingMember.kt") + public void testActualInnerClassMissingMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/actualInnerClassMissingMember.kt"); + } + + @Test + public void testAllFilesPresentInActualAnnotationsNotMatchExpect() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgRendering.kt") + public void testAnnotationArgRendering() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgRendering.kt"); + } + + @Test + @TestMetadata("annotationArgumentsConstExpressions.kt") + public void testAnnotationArgumentsConstExpressions() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsConstExpressions.kt"); + } + + @Test + @TestMetadata("annotationArgumentsDefaults.kt") + public void testAnnotationArgumentsDefaults() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsDefaults.kt"); + } + + @Test + @TestMetadata("annotationMatching_oldLanguageVersion.kt") + public void testAnnotationMatching_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationMatching_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("annotationTarget.kt") + public void testAnnotationTarget() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTarget.kt"); + } + + @Test + @TestMetadata("annotationTypeParameters.kt") + public void testAnnotationTypeParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTypeParameters.kt"); + } + + @Test + @TestMetadata("basicOnDeclaration.kt") + public void testBasicOnDeclaration() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/basicOnDeclaration.kt"); + } + + @Test + @TestMetadata("checkDiagnosticFullText.kt") + public void testCheckDiagnosticFullText() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.kt"); + } + + @Test + @TestMetadata("classScopeInnerClasses.kt") + public void testClassScopeInnerClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeInnerClasses.kt"); + } + + @Test + @TestMetadata("classScopeViaTypealiasIncompatible.kt") + public void testClassScopeViaTypealiasIncompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeViaTypealiasIncompatible.kt"); + } + + @Test + @TestMetadata("compatibleOverrides.kt") + public void testCompatibleOverrides() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/compatibleOverrides.kt"); + } + + @Test + @TestMetadata("defaultValueParametersRendering.kt") + public void testDefaultValueParametersRendering() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/defaultValueParametersRendering.kt"); + } + + @Test + @TestMetadata("deprecatedAnnotationOnlyOnActual_useInPlatform.kt") + public void testDeprecatedAnnotationOnlyOnActual_useInPlatform() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/deprecatedAnnotationOnlyOnActual_useInPlatform.kt"); + } + + @Test + @TestMetadata("differentOrder.kt") + public void testDifferentOrder() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/differentOrder.kt"); + } + + @Test + @TestMetadata("enumEntries.kt") + public void testEnumEntries() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/enumEntries.kt"); + } + + @Test + @TestMetadata("fakeOverrides.kt") + public void testFakeOverrides() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/fakeOverrides.kt"); + } + + @Test + @TestMetadata("floatNumbersComparison.kt") + public void testFloatNumbersComparison() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/floatNumbersComparison.kt"); + } + + @Test + @TestMetadata("gettersAndSetters.kt") + public void testGettersAndSetters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/gettersAndSetters.kt"); + } + + @Test + @TestMetadata("intrinsicConstEvaluation.kt") + public void testIntrinsicConstEvaluation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/intrinsicConstEvaluation.kt"); + } + + @Test + @TestMetadata("kclassArgWithExpectClass.kt") + public void testKclassArgWithExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/kclassArgWithExpectClass.kt"); + } + + @Test + @TestMetadata("kotlinAnaloguesForJavaAnnotations.kt") + public void testKotlinAnaloguesForJavaAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/kotlinAnaloguesForJavaAnnotations.kt"); + } + + @Test + @TestMetadata("repeatableNoArg.kt") + public void testRepeatableNoArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableNoArg.kt"); + } + + @Test + @TestMetadata("repeatableWithArg.kt") + public void testRepeatableWithArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableWithArg.kt"); + } + + @Test + @TestMetadata("skippedAnnotations.kt") + public void testSkippedAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/skippedAnnotations.kt"); + } + + @Test + @TestMetadata("sourceRetentionAnnotationsWhenTypealias.kt") + public void testSourceRetentionAnnotationsWhenTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/sourceRetentionAnnotationsWhenTypealias.kt"); + } + + @Test + @TestMetadata("substitutionOverrideInTwoClasses.kt") + public void testSubstitutionOverrideInTwoClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/substitutionOverrideInTwoClasses.kt"); + } + + @Test + @TestMetadata("twoActualTypealiasesToSameClass.kt") + public void testTwoActualTypealiasesToSameClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/twoActualTypealiasesToSameClass.kt"); + } + + @Test + @TestMetadata("typeParameters.kt") + public void testTypeParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeParameters.kt"); + } + + @Test + @TestMetadata("typeUsage.kt") + public void testTypeUsage() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsage.kt"); + } + + @Test + @TestMetadata("typeUsageTypealiasInSuper.kt") + public void testTypeUsageTypealiasInSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageTypealiasInSuper.kt"); + } + + @Test + @TestMetadata("typeUsageWithImplicitType.kt") + public void testTypeUsageWithImplicitType() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithImplicitType.kt"); + } + + @Test + @TestMetadata("typeUsageWithUnresolvedReference.kt") + public void testTypeUsageWithUnresolvedReference() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithUnresolvedReference.kt"); + } + + @Test + @TestMetadata("typealias.kt") + public void testTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealias.kt"); + } + + @Test + @TestMetadata("typealiasToJavaLibrary.kt") + public void testTypealiasToJavaLibrary() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToJavaLibrary.kt"); + } + + @Test + @TestMetadata("typealiasToKtLibrary.kt") + public void testTypealiasToKtLibrary() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToKtLibrary.kt"); + } + + @Test + @TestMetadata("unresolvedReference.kt") + public void testUnresolvedReference() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/unresolvedReference.kt"); + } + + @Test + @TestMetadata("valueParameters.kt") + public void testValueParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/valueParameters.kt"); + } + + @Test + @TestMetadata("withAnnotationActualTypealias.kt") + public void testWithAnnotationActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withAnnotationActualTypealias.kt"); + } + + @Test + @TestMetadata("withOtherIncomatibilities.kt") + public void testWithOtherIncomatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withOtherIncomatibilities.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker") + @TestDataPath("$PROJECT_ROOT") + public class ActualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker { + @Test + @TestMetadata("actualTypealias.kt") + public void testActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualTypealias.kt"); + } + + @Test + @TestMetadata("actualizeFakeOverridePropertyToJavaMethod.kt") + public void testActualizeFakeOverridePropertyToJavaMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizeFakeOverridePropertyToJavaMethod.kt"); + } + + @Test + @TestMetadata("actualizePrimaryConstructorWithSecondaryConstructor.kt") + public void testActualizePrimaryConstructorWithSecondaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizePrimaryConstructorWithSecondaryConstructor.kt"); + } + + @Test + @TestMetadata("actualizeSecondaryConstructorWithPrimaryConstructor.kt") + public void testActualizeSecondaryConstructorWithPrimaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizeSecondaryConstructorWithPrimaryConstructor.kt"); + } + + @Test + public void testAllFilesPresentInActualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("changeClassTypeParameterNames.kt") + public void testChangeClassTypeParameterNames() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeClassTypeParameterNames.kt"); + } + + @Test + @TestMetadata("changeFunctionTypeParameterNamesInOverride.kt") + public void testChangeFunctionTypeParameterNamesInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeFunctionTypeParameterNamesInOverride.kt"); + } + + @Test + @TestMetadata("changeLateinitInOverride.kt") + public void testChangeLateinitInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeLateinitInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromAbstractToFinalInOverride.kt") + public void testChangeModalityFromAbstractToFinalInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToFinalInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromAbstractToOpenInOverride.kt") + public void testChangeModalityFromAbstractToOpenInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToOpenInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToAbstractInOverride.kt") + public void testChangeModalityFromOpenToAbstractInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToAbstractInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride.kt") + public void testChangeModalityFromOpenToFinalInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToFinalInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityOfSubstitutedFakeOverride.kt") + public void testChangeModalityOfSubstitutedFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfSubstitutedFakeOverride.kt"); + } + + @Test + @TestMetadata("changeModalityOfToStringInOverride.kt") + public void testChangeModalityOfToStringInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfToStringInOverride.kt"); + } + + @Test + @TestMetadata("changeParameterNameInOverride.kt") + public void testChangeParameterNameInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeParameterNameInOverride.kt"); + } + + @Test + @TestMetadata("changeSetterVisibilityInOverride.kt") + public void testChangeSetterVisibilityInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeSetterVisibilityInOverride.kt"); + } + + @Test + @TestMetadata("changeVarargModifierInOverride.kt") + public void testChangeVarargModifierInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVarargModifierInOverride.kt"); + } + + @Test + @TestMetadata("changeVisibilityInOverride.kt") + public void testChangeVisibilityInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVisibilityInOverride.kt"); + } + + @Test + @TestMetadata("covariantFunctionOverride.kt") + public void testCovariantFunctionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantFunctionOverride.kt"); + } + + @Test + @TestMetadata("covariantOverrideGenericUpperBound.kt") + public void testCovariantOverrideGenericUpperBound() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenericUpperBound.kt"); + } + + @Test + @TestMetadata("covariantOverrideGenerics.kt") + public void testCovariantOverrideGenerics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenerics.kt"); + } + + @Test + @TestMetadata("covariantPropertyOverride.kt") + public void testCovariantPropertyOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantPropertyOverride.kt"); + } + + @Test + @TestMetadata("fakeOverrideChangedToRealOverride.kt") + public void testFakeOverrideChangedToRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/fakeOverrideChangedToRealOverride.kt"); + } + + @Test + @TestMetadata("finalClassIsActualizedByOpenClass.kt") + public void testFinalClassIsActualizedByOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/finalClassIsActualizedByOpenClass.kt"); + } + + @Test + @TestMetadata("finalMethodIsActualizedByOpenMethod.kt") + public void testFinalMethodIsActualizedByOpenMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/finalMethodIsActualizedByOpenMethod.kt"); + } + + @Test + @TestMetadata("flexibleTypesMatching.kt") + public void testFlexibleTypesMatching() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/flexibleTypesMatching.kt"); + } + + @Test + @TestMetadata("injectClass.kt") + public void testInjectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectClass.kt"); + } + + @Test + @TestMetadata("injectContextReceiverOverload.kt") + public void testInjectContextReceiverOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectContextReceiverOverload.kt"); + } + + @Test + @TestMetadata("injectEmptySuperClass.kt") + public void testInjectEmptySuperClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectEmptySuperClass.kt"); + } + + @Test + @TestMetadata("injectExtensionReceiverOverload.kt") + public void testInjectExtensionReceiverOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectExtensionReceiverOverload.kt"); + } + + @Test + @TestMetadata("injectGenericUpperBoundOverload.kt") + public void testInjectGenericUpperBoundOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectGenericUpperBoundOverload.kt"); + } + + @Test + @TestMetadata("injectMethod_internalMethod.kt") + public void testInjectMethod_internalMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_internalMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_privateMethod.kt") + public void testInjectMethod_privateMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_privateMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_protectedMethod.kt") + public void testInjectMethod_protectedMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_protectedMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_publicMethod.kt") + public void testInjectMethod_publicMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_publicMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_publicMethodInJava.kt") + public void testInjectMethod_publicMethodInJava() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_publicMethodInJava.kt"); + } + + @Test + @TestMetadata("injectParameterOverload.kt") + public void testInjectParameterOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectParameterOverload.kt"); + } + + @Test + @TestMetadata("injectParameterOverloadWithGenerics.kt") + public void testInjectParameterOverloadWithGenerics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectParameterOverloadWithGenerics.kt"); + } + + @Test + @TestMetadata("injectPrimaryConstructor.kt") + public void testInjectPrimaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPrimaryConstructor.kt"); + } + + @Test + @TestMetadata("injectPrivateProperty.kt") + public void testInjectPrivateProperty() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPrivateProperty.kt"); + } + + @Test + @TestMetadata("injectProperty.kt") + public void testInjectProperty() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectProperty.kt"); + } + + @Test + @TestMetadata("injectPropertyWithTheSameSignatureAsExistingFunction.kt") + public void testInjectPropertyWithTheSameSignatureAsExistingFunction() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPropertyWithTheSameSignatureAsExistingFunction.kt"); + } + + @Test + @TestMetadata("injectPublicFakeOverrideMethod.kt") + public void testInjectPublicFakeOverrideMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPublicFakeOverrideMethod.kt"); + } + + @Test + @TestMetadata("injectSecondaryConstructor.kt") + public void testInjectSecondaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSecondaryConstructor.kt"); + } + + @Test + @TestMetadata("injectSupertype_SupertypeIsExpectActualPair.kt") + public void testInjectSupertype_SupertypeIsExpectActualPair() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSupertype_SupertypeIsExpectActualPair.kt"); + } + + @Test + @TestMetadata("injectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride.kt") + public void testInjectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride.kt"); + } + + @Test + @TestMetadata("injectVarargParameterOverload.kt") + public void testInjectVarargParameterOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectVarargParameterOverload.kt"); + } + + @Test + @TestMetadata("kt62027.kt") + public void testKt62027() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/kt62027.kt"); + } + + @Test + @TestMetadata("memberScopeMismatch_oldLanguageVersion.kt") + public void testMemberScopeMismatch_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/memberScopeMismatch_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("nestedExpectOpenClass.kt") + public void testNestedExpectOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/nestedExpectOpenClass.kt"); + } + + @Test + @TestMetadata("overloadMethodInjectedInSuper.kt") + public void testOverloadMethodInjectedInSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/overloadMethodInjectedInSuper.kt"); + } + + @Test + @TestMetadata("propertyKindOverride.kt") + public void testPropertyKindOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/propertyKindOverride.kt"); + } + + @Test + @TestMetadata("severalMismatches.kt") + public void testSeveralMismatches() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/severalMismatches.kt"); + } + + @Test + @TestMetadata("substitutedFakeOverrideChangedToRealOverride.kt") + public void testSubstitutedFakeOverrideChangedToRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/substitutedFakeOverrideChangedToRealOverride.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloActualTypealias.kt") + public void testSuperTypesAreTheSameModuloActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloActualTypealias.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloTypealias1.kt") + public void testSuperTypesAreTheSameModuloTypealias1() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloTypealias1.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloTypealias2.kt") + public void testSuperTypesAreTheSameModuloTypealias2() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloTypealias2.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper.kt") + public void testSupertypeIsExpectActual_covariantOverrideOfInjectedFromSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectMethod.kt") + public void testSupertypeIsExpectActual_injectMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectMethod.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectSupertype.kt") + public void testSupertypeIsExpectActual_injectSupertype() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectSupertype.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_simpleOverride.kt") + public void testSupertypeIsExpectActual_simpleOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_simpleOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod.kt") + public void testSupertypeIsExpectActual_supertypeIsActualTypealias_injectMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/complexMatchings") + @TestDataPath("$PROJECT_ROOT") + public class ComplexMatchings { + @Test + public void testAllFilesPresentInComplexMatchings() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/complexMatchings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectCtorlessFinalToActualObject.kt") + public void testExpectCtorlessFinalToActualObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObject.kt"); + } + + @Test + @TestMetadata("expectCtorlessFinalToActualObjectViaTypealias.kt") + public void testExpectCtorlessFinalToActualObjectViaTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObjectViaTypealias.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/defaultArguments") + @TestDataPath("$PROJECT_ROOT") + public class DefaultArguments { + @Test + public void testAllFilesPresentInDefaultArguments() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgumentEquality.kt") + public void testAnnotationArgumentEquality() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationArgumentEquality.kt"); + } + + @Test + @TestMetadata("annotations.kt") + public void testAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotations.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAlias.kt") + public void testAnnotationsViaActualTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAlias2.kt") + public void testAnnotationsViaActualTypeAlias2() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias2.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAliasExpectEnumArg.kt") + public void testAnnotationsViaActualTypeAliasExpectEnumArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAliasExpectEnumArg.kt"); + } + + @Test + @TestMetadata("companionMethodViaActualTypealias.kt") + public void testCompanionMethodViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/companionMethodViaActualTypealias.kt"); + } + + @Test + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.kt"); + } + + @Test + @TestMetadata("constructorDefaultArgsViaActualTypealias.kt") + public void testConstructorDefaultArgsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructorDefaultArgsViaActualTypealias.kt"); + } + + @Test + @TestMetadata("expectAnnotationAndInlineClassWithDefaultValue.kt") + public void testExpectAnnotationAndInlineClassWithDefaultValue() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectAnnotationAndInlineClassWithDefaultValue.kt"); + } + + @Test + @TestMetadata("expectedDeclaresDefaultArguments.kt") + public void testExpectedDeclaresDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedDeclaresDefaultArguments.kt"); + } + + @Test + @TestMetadata("expectedInheritsDefaultArguments.kt") + public void testExpectedInheritsDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedInheritsDefaultArguments.kt"); + } + + @Test + @TestMetadata("expectedVsNonExpectedWithDefaults.kt") + public void testExpectedVsNonExpectedWithDefaults() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedVsNonExpectedWithDefaults.kt"); + } + + @Test + @TestMetadata("methodDefaultArgsViaActualTypealias.kt") + public void testMethodDefaultArgsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias.kt"); + } + + @Test + @TestMetadata("methodDefaultArgsViaActualTypealias_oldLanguageVersion.kt") + public void testMethodDefaultArgsViaActualTypealias_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("nestedAnnotationClassViaActualTypealias.kt") + public void testNestedAnnotationClassViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedAnnotationClassViaActualTypealias.kt"); + } + + @Test + @TestMetadata("nestedClassMethodsViaActualTypealias.kt") + public void testNestedClassMethodsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedClassMethodsViaActualTypealias.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride") + @TestDataPath("$PROJECT_ROOT") + public class MethodDefaultArgsViaActualFakeOverride { + @Test + public void testAllFilesPresentInMethodDefaultArgsViaActualFakeOverride() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/constructor.kt"); + } + + @Test + @TestMetadata("delegation.kt") + public void testDelegation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/delegation.kt"); + } + + @Test + @TestMetadata("disabledFeature.kt") + public void testDisabledFeature() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/disabledFeature.kt"); + } + + @Test + @TestMetadata("intersectionOverride.kt") + public void testIntersectionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/intersectionOverride.kt"); + } + + @Test + @TestMetadata("nestedClass.kt") + public void testNestedClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/nestedClass.kt"); + } + + @Test + @TestMetadata("realOverride.kt") + public void testRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/realOverride.kt"); + } + + @Test + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simple.kt"); + } + + @Test + @TestMetadata("simpleIncompatible.kt") + public void testSimpleIncompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simpleIncompatible.kt"); + } + + @Test + @TestMetadata("substitutionOverride.kt") + public void testSubstitutionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/substitutionOverride.kt"); + } + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/deprecated") + @TestDataPath("$PROJECT_ROOT") + public class Deprecated { + @Test + public void testAllFilesPresentInDeprecated() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("header.kt") + public void testHeader() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/deprecated/header.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/enum") + @TestDataPath("$PROJECT_ROOT") + public class Enum { + @Test + @TestMetadata("additionalEntriesInImpl.kt") + public void testAdditionalEntriesInImpl() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/additionalEntriesInImpl.kt"); + } + + @Test + public void testAllFilesPresentInEnum() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("constructorInHeaderEnum.kt") + public void testConstructorInHeaderEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/constructorInHeaderEnum.kt"); + } + + @Test + @TestMetadata("differentEntryOrder.kt") + public void testDifferentEntryOrder() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/differentEntryOrder.kt"); + } + + @Test + @TestMetadata("enumEntryWithBody.kt") + public void testEnumEntryWithBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/enumEntryWithBody.kt"); + } + + @Test + @TestMetadata("javaEnum.kt") + public void testJavaEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt"); + } + + @Test + @TestMetadata("simpleEnum.kt") + public void testSimpleEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness") + @TestDataPath("$PROJECT_ROOT") + public class Exhaustiveness { + @Test + public void testAllFilesPresentInExhaustiveness() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("commonSealedWithPlatformInheritor.kt") + public void testCommonSealedWithPlatformInheritor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/commonSealedWithPlatformInheritor.kt"); + } + + @Test + @TestMetadata("expectEnum.kt") + public void testExpectEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectEnum.kt"); + } + + @Test + @TestMetadata("expectSealedClass.kt") + public void testExpectSealedClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedClass.kt"); + } + + @Test + @TestMetadata("expectSealedClassWithActualTypealias.kt") + public void testExpectSealedClassWithActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedClassWithActualTypealias.kt"); + } + + @Test + @TestMetadata("expectSealedInterface.kt") + public void testExpectSealedInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedInterface.kt"); + } + + @Test + @TestMetadata("kt45796.kt") + public void testKt45796() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/kt45796.kt"); + } + + @Test + @TestMetadata("sealedHierarchyInBambooMppStructure.kt") + public void testSealedHierarchyInBambooMppStructure() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/sealedHierarchyInBambooMppStructure.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/generic") + @TestDataPath("$PROJECT_ROOT") + public class Generic { + @Test + public void testAllFilesPresentInGeneric() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("functionTypeParameterBounds.kt") + public void testFunctionTypeParameterBounds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/functionTypeParameterBounds.kt"); + } + + @Test + @TestMetadata("genericMemberBounds.kt") + public void testGenericMemberBounds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/genericMemberBounds.kt"); + } + + @Test + @TestMetadata("membersInGenericClass.kt") + public void testMembersInGenericClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/membersInGenericClass.kt"); + } + + @Test + @TestMetadata("typeParameterBoundsDifferentOrderActualMissing.kt") + public void testTypeParameterBoundsDifferentOrderActualMissing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/typeParameterBoundsDifferentOrderActualMissing.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/headerClass") + @TestDataPath("$PROJECT_ROOT") + public class HeaderClass { + @Test + @TestMetadata("actualClassWithDefaultValuesInAnnotationViaTypealias.kt") + public void testActualClassWithDefaultValuesInAnnotationViaTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.kt"); + } + + @Test + @TestMetadata("actualClassWithDifferentConstructors.kt") + public void testActualClassWithDifferentConstructors() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.kt"); + } + + @Test + @TestMetadata("actualMethodInExpectClass.kt") + public void testActualMethodInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMethodInExpectClass.kt"); + } + + @Test + @TestMetadata("actualMissing.kt") + public void testActualMissing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMissing.kt"); + } + + @Test + public void testAllFilesPresentInHeaderClass() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/headerClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("baseExpectClassWithoutConstructor.kt") + public void testBaseExpectClassWithoutConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/baseExpectClassWithoutConstructor.kt"); + } + + @Test + @TestMetadata("classKinds.kt") + public void testClassKinds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/classKinds.kt"); + } + + @Test + @TestMetadata("dontOverrideMethodsFromInterfaceInCommonCode.kt") + public void testDontOverrideMethodsFromInterfaceInCommonCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/dontOverrideMethodsFromInterfaceInCommonCode.kt"); + } + + @Test + @TestMetadata("equalsOverrideInActualInterface.kt") + public void testEqualsOverrideInActualInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/equalsOverrideInActualInterface.kt"); + } + + @Test + @TestMetadata("expectClassWithExplicitAbstractMember.kt") + public void testExpectClassWithExplicitAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithExplicitAbstractMember.kt"); + } + + @Test + @TestMetadata("expectClassWithoutConstructor.kt") + public void testExpectClassWithoutConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithoutConstructor.kt"); + } + + @Test + @TestMetadata("expectDeclarationWithStrongIncompatibilities.kt") + public void testExpectDeclarationWithStrongIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.kt"); + } + + @Test + @TestMetadata("expectDeclarationWithWeakIncompatibilities.kt") + public void testExpectDeclarationWithWeakIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithWeakIncompatibilities.kt"); + } + + @Test + @TestMetadata("expectFinalActualOpen.kt") + public void testExpectFinalActualOpen() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFinalActualOpen.kt"); + } + + @Test + @TestMetadata("expectFunInterface.kt") + public void testExpectFunInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.kt"); + } + + @Test + @TestMetadata("expectedClassConstructorPropertyParameters.kt") + public void testExpectedClassConstructorPropertyParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectedClassConstructorPropertyParameters.kt"); + } + + @Test + @TestMetadata("explicitConstructorDelegation.kt") + public void testExplicitConstructorDelegation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/explicitConstructorDelegation.kt"); + } + + @Test + @TestMetadata("extendExpectedClassWithAbstractMember.kt") + public void testExtendExpectedClassWithAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithAbstractMember.kt"); + } + + @Test + @TestMetadata("extendExpectedClassWithoutExplicitOverrideOfMethod.kt") + public void testExtendExpectedClassWithoutExplicitOverrideOfMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithoutExplicitOverrideOfMethod.kt"); + } + + @Test + @TestMetadata("extraHeaderOnMembers.kt") + public void testExtraHeaderOnMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extraHeaderOnMembers.kt"); + } + + @Test + @TestMetadata("functionAndPropertyWithSameName.kt") + public void testFunctionAndPropertyWithSameName() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/functionAndPropertyWithSameName.kt"); + } + + @Test + @TestMetadata("genericClassImplTypeAlias.kt") + public void testGenericClassImplTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/genericClassImplTypeAlias.kt"); + } + + @Test + @TestMetadata("headerClassMember.kt") + public void testHeaderClassMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassMember.kt"); + } + + @Test + @TestMetadata("headerClassWithFunctionBody.kt") + public void testHeaderClassWithFunctionBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassWithFunctionBody.kt"); + } + + @Test + @TestMetadata("implDataClass.kt") + public void testImplDataClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/implDataClass.kt"); + } + + @Test + @TestMetadata("implOpenClass.kt") + public void testImplOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/implOpenClass.kt"); + } + + @Test + @TestMetadata("inheritanceByDelegationInExpectClass.kt") + public void testInheritanceByDelegationInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/inheritanceByDelegationInExpectClass.kt"); + } + + @Test + @TestMetadata("memberPropertyKinds.kt") + public void testMemberPropertyKinds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/memberPropertyKinds.kt"); + } + + @Test + @TestMetadata("modalityCheckForExplicitAndImplicitOverride.kt") + public void testModalityCheckForExplicitAndImplicitOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/modalityCheckForExplicitAndImplicitOverride.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActual.kt") + public void testMorePermissiveVisibilityOnActual() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActual.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActualViaTypeAlias_finalMember.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias_finalMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_finalMember.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActualViaTypeAlias_openMember.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias_openMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_openMember.kt"); + } + + @Test + @TestMetadata("nestedClasses.kt") + public void testNestedClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClasses.kt"); + } + + @Test + @TestMetadata("nestedClassesWithErrors.kt") + public void testNestedClassesWithErrors() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.kt"); + } + + @Test + @TestMetadata("noImplKeywordOnMember.kt") + public void testNoImplKeywordOnMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/noImplKeywordOnMember.kt"); + } + + @Test + @TestMetadata("privateMembers.kt") + public void testPrivateMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/privateMembers.kt"); + } + + @Test + @TestMetadata("simpleHeaderClass.kt") + public void testSimpleHeaderClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/simpleHeaderClass.kt"); + } + + @Test + @TestMetadata("smartCastOnExpectClass.kt") + public void testSmartCastOnExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/smartCastOnExpectClass.kt"); + } + + @Test + @TestMetadata("superClass.kt") + public void testSuperClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/superClass.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp") + @TestDataPath("$PROJECT_ROOT") + public class Hmpp { + @Test + public void testAllFilesPresentInHmpp() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("intermediateActualHasAdditionalSupertypes.kt") + public void testIntermediateActualHasAdditionalSupertypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/intermediateActualHasAdditionalSupertypes.kt"); + } + + @Test + @TestMetadata("kt57320.kt") + public void testKt57320() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/kt57320.kt"); + } + + @Test + @TestMetadata("kt-55570.kt") + public void testKt_55570() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/kt-55570.kt"); + } + + @Test + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/simple.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis") + @TestDataPath("$PROJECT_ROOT") + public class MultiplatformCompositeAnalysis { + @Test + public void testAllFilesPresentInMultiplatformCompositeAnalysis() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectAndActualInTheSameModule.kt") + public void testExpectAndActualInTheSameModule() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt"); + } + + @Test + @TestMetadata("expectAndActualInTheSameModuleIncompatibilities.kt") + public void testExpectAndActualInTheSameModuleIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.kt"); + } + + @Test + @TestMetadata("intermediateWithActualAndExpect.kt") + public void testIntermediateWithActualAndExpect() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/intermediateWithActualAndExpect.kt"); + } + + @Test + @TestMetadata("sealedInheritorsInComplexModuleStructure.kt") + public void testSealedInheritorsInComplexModuleStructure() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/sealedInheritorsInComplexModuleStructure.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching") + @TestDataPath("$PROJECT_ROOT") + public class AnnotationMatching { + @Test + public void testAllFilesPresentInAnnotationMatching() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("sourceRetentionAnnotationsWhenTypealias.kt") + public void testSourceRetentionAnnotationsWhenTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/sourceRetentionAnnotationsWhenTypealias.kt"); + } + + @Test + @TestMetadata("typealiasToJavaWithAnnotationArgument.kt") + public void testTypealiasToJavaWithAnnotationArgument() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasToJavaWithAnnotationArgument.kt"); + } + + @Test + @TestMetadata("typealiasedAnnotation.kt") + public void testTypealiasedAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotation.kt"); + } + + @Test + @TestMetadata("typealiasedAnnotationAsArgument.kt") + public void testTypealiasedAnnotationAsArgument() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotationAsArgument.kt"); + } + + @Test + @TestMetadata("typealiasedAsKClassArg.kt") + public void testTypealiasedAsKClassArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAsKClassArg.kt"); + } + } + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/inlineClasses") + @TestDataPath("$PROJECT_ROOT") + public class InlineClasses { + @Test + public void testAllFilesPresentInInlineClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectActualInlineClass.kt") + public void testExpectActualInlineClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/inlineClasses/expectActualInlineClass.kt"); + } + + @Test + @TestMetadata("jvmInlineExpectValueClass.kt") + public void testJvmInlineExpectValueClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/inlineClasses/jvmInlineExpectValueClass.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/java") + @TestDataPath("$PROJECT_ROOT") + public class Java { + @Test + public void testAllFilesPresentInJava() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/java"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("flexibleTypes.kt") + public void testFlexibleTypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt"); + } + + @Test + @TestMetadata("implicitJavaActualizationAllowed.kt") + public void testImplicitJavaActualizationAllowed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationAllowed.kt"); + } + + @Test + @TestMetadata("implicitJavaActualizationDisallowed.kt") + public void testImplicitJavaActualizationDisallowed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationDisallowed.kt"); + } + + @Test + @TestMetadata("implicitJavaActualization_multipleActuals.kt") + public void testImplicitJavaActualization_multipleActuals() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_multipleActuals.kt"); + } + + @Test + @TestMetadata("implicitJavaActualization_oldLanguageVersion.kt") + public void testImplicitJavaActualization_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("inheritedJavaMembers.kt") + public void testInheritedJavaMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/inheritedJavaMembers.kt"); + } + + @Test + @TestMetadata("parameterNames.kt") + public void testParameterNames() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/smartCasts") + @TestDataPath("$PROJECT_ROOT") + public class SmartCasts { + @Test + public void testAllFilesPresentInSmartCasts() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("kt61340_commonCode.kt") + public void testKt61340_commonCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartCasts/kt61340_commonCode.kt"); + } + + @Test + @TestMetadata("kt61340_platformCode.kt") + public void testKt61340_platformCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartCasts/kt61340_platformCode.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelFun") + @TestDataPath("$PROJECT_ROOT") + public class TopLevelFun { + @Test + public void testAllFilesPresentInTopLevelFun() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/topLevelFun"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("callHeaderFun.kt") + public void testCallHeaderFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callHeaderFun.kt"); + } + + @Test + @TestMetadata("callableReferenceOnExpectFun.kt") + public void testCallableReferenceOnExpectFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt"); + } + + @Test + @TestMetadata("conflictingHeaderDeclarations.kt") + public void testConflictingHeaderDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingHeaderDeclarations.kt"); + } + + @Test + @TestMetadata("conflictingImplDeclarations.kt") + public void testConflictingImplDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingImplDeclarations.kt"); + } + + @Test + @TestMetadata("functionModifiers.kt") + public void testFunctionModifiers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/functionModifiers.kt"); + } + + @Test + @TestMetadata("headerAndImplInDIfferentPackages.kt") + public void testHeaderAndImplInDIfferentPackages() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.kt"); + } + + @Test + @TestMetadata("headerDeclarationWithBody.kt") + public void testHeaderDeclarationWithBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.kt"); + } + + @Test + @TestMetadata("headerWithoutImpl.kt") + public void testHeaderWithoutImpl() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerWithoutImpl.kt"); + } + + @Test + @TestMetadata("implDeclarationWithoutBody.kt") + public void testImplDeclarationWithoutBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/implDeclarationWithoutBody.kt"); + } + + @Test + @TestMetadata("implWithoutHeader.kt") + public void testImplWithoutHeader() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/implWithoutHeader.kt"); + } + + @Test + @TestMetadata("inlineFun.kt") + public void testInlineFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/inlineFun.kt"); + } + + @Test + @TestMetadata("simpleHeaderFun.kt") + public void testSimpleHeaderFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/simpleHeaderFun.kt"); + } + + @Test + @TestMetadata("valueParameterModifiers.kt") + public void testValueParameterModifiers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty") + @TestDataPath("$PROJECT_ROOT") + public class TopLevelProperty { + @Test + public void testAllFilesPresentInTopLevelProperty() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("differentKindsOfProperties.kt") + public void testDifferentKindsOfProperties() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.kt"); + } + + @Test + @TestMetadata("simpleHeaderVar.kt") + public void testSimpleHeaderVar() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/simpleHeaderVar.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/typealias") + @TestDataPath("$PROJECT_ROOT") + public class Typealias { + @Test + @TestMetadata("actualTypealiasToNothing.kt") + public void testActualTypealiasToNothing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNothing_oldLanguageVersion.kt") + public void testActualTypealiasToNothing_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNullableType.kt") + public void testActualTypealiasToNullableType() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNullableType.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNullableType_oldLanguageVersion.kt") + public void testActualTypealiasToNullableType_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNullableType_oldLanguageVersion.kt"); + } + + @Test + public void testAllFilesPresentInTypealias() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + } + } + @Nested @TestMetadata("compiler/testData/diagnostics/tests/namedArguments") @TestDataPath("$PROJECT_ROOT") public class NamedArguments { @Test public void testAllFilesPresentInNamedArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23530,7 +25518,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class MixedNamedPosition { @Test public void testAllFilesPresentInMixedNamedPosition() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23577,7 +25565,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NullabilityAndSmartCasts { @Test public void testAllFilesPresentInNullabilityAndSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23821,7 +25809,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NullableTypes { @Test public void testAllFilesPresentInNullableTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23945,7 +25933,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Numbers { @Test public void testAllFilesPresentInNumbers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24039,7 +26027,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Objects { @Test public void testAllFilesPresentInObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24132,7 +26120,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Kt21515 { @Test public void testAllFilesPresentInKt21515() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24293,7 +26281,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OperatorRem { @Test public void testAllFilesPresentInOperatorRem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24411,7 +26399,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OperatorsOverloading { @Test public void testAllFilesPresentInOperatorsOverloading() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24564,7 +26552,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24599,7 +26587,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Overload { @Test public void testAllFilesPresentInOverload() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24812,7 +26800,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NoConflictingOverloadsWithDeprecated { @Test public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24919,7 +26907,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25288,7 +27276,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ClashesOnInheritance { @Test public void testAllFilesPresentInClashesOnInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25382,7 +27370,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DerivedClasses { @Test public void testAllFilesPresentInDerivedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25428,7 +27416,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ParameterNames { @Test public void testAllFilesPresentInParameterNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25492,7 +27480,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25527,7 +27515,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ParenthesizedTypes { @Test public void testAllFilesPresentInParenthesizedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25555,7 +27543,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PlatformTypes { @Test public void testAllFilesPresentInPlatformTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25690,7 +27678,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CommonSupertype { @Test public void testAllFilesPresentInCommonSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25748,7 +27736,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class GenericVarianceViolation { @Test public void testAllFilesPresentInGenericVarianceViolation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25836,7 +27824,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class MethodCall { @Test public void testAllFilesPresentInMethodCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25966,7 +27954,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NotNullTypeParameter { @Test public void testAllFilesPresentInNotNullTypeParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26024,7 +28012,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NullabilityWarnings { @Test public void testAllFilesPresentInNullabilityWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26220,7 +28208,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26434,7 +28422,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TypeEnhancement { @Test public void testAllFilesPresentInTypeEnhancement() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26475,7 +28463,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class PrivateInFile { @Test public void testAllFilesPresentInPrivateInFile() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26509,7 +28497,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26572,7 +28560,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26588,7 +28576,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class InferenceFromGetters { @Test public void testAllFilesPresentInInferenceFromGetters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26665,7 +28653,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26735,7 +28723,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26757,7 +28745,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInReassignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26821,7 +28809,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInRecovery() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26855,7 +28843,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Redeclarations { @Test public void testAllFilesPresentInRedeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -27056,7 +29044,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ShadowedExtension { @Test public void testAllFilesPresentInShadowedExtension() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -27151,7 +29139,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28126,7 +30114,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Kt7585 { @Test public void testAllFilesPresentInKt7585() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28155,7 +30143,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Resolve { @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28416,7 +30404,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class DslMarker { @Test public void testAllFilesPresentInDslMarker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28594,7 +30582,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28813,7 +30801,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Errors { @Test public void testAllFilesPresentInErrors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28872,7 +30860,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28936,7 +30924,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class NoCandidates { @Test public void testAllFilesPresentInNoCandidates() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28964,7 +30952,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OverloadConflicts { @Test public void testAllFilesPresentInOverloadConflicts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29106,7 +31094,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Priority { @Test public void testAllFilesPresentInPriority() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29200,7 +31188,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SpecialConstructions { @Test public void testAllFilesPresentInSpecialConstructions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29247,7 +31235,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SafeCalls { @Test public void testAllFilesPresentInSafeCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29269,7 +31257,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SamConversions { @Test public void testAllFilesPresentInSamConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29441,7 +31429,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Scopes { @Test public void testAllFilesPresentInScopes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29696,7 +31684,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ClassHeader { @Test public void testAllFilesPresentInClassHeader() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29790,7 +31778,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29883,7 +31871,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30018,7 +32006,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInCompanionObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30066,7 +32054,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ProtectedVisibility { @Test public void testAllFilesPresentInProtectedVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30184,7 +32172,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class VariantProjections { @Test public void testAllFilesPresentInVariantProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/variantProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/variantProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30219,7 +32207,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInScript() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30331,7 +32319,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Sealed { @Test public void testAllFilesPresentInSealed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30634,7 +32622,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Interfaces { @Test public void testAllFilesPresentInInterfaces() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30669,7 +32657,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SecondaryConstructors { @Test public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30966,7 +32954,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInHeaderCallChecker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31067,7 +33055,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SenselessComparison { @Test public void testAllFilesPresentInSenselessComparison() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31095,7 +33083,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Shadowing { @Test public void testAllFilesPresentInShadowing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31183,7 +33171,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32002,7 +33990,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Castchecks { @Test public void testAllFilesPresentInCastchecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32060,7 +34048,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Elvis { @Test public void testAllFilesPresentInElvis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32088,7 +34076,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32206,7 +34194,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class IntersectionScope { @Test public void testAllFilesPresentInIntersectionScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32312,7 +34300,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Loops { @Test public void testAllFilesPresentInLoops() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32652,7 +34640,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ObjectLiterals { @Test public void testAllFilesPresentInObjectLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32716,7 +34704,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInPublicVals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32792,7 +34780,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Safecalls { @Test public void testAllFilesPresentInSafecalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32988,7 +34976,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33202,7 +35190,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Varnotnull { @Test public void testAllFilesPresentInVarnotnull() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33531,7 +35519,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SourceCompatibility { @Test public void testAllFilesPresentInSourceCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33552,7 +35540,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ApiVersion { @Test public void testAllFilesPresentInApiVersion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33629,7 +35617,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33669,7 +35657,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Subtyping { @Test public void testAllFilesPresentInSubtyping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33817,7 +35805,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Suppress { @Test public void testAllFilesPresentInSuppress() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -33826,7 +35814,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class AllWarnings { @Test public void testAllFilesPresentInAllWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33896,7 +35884,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ManyWarnings { @Test public void testAllFilesPresentInManyWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33960,7 +35948,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class OneWarning { @Test public void testAllFilesPresentInOneWarning() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34049,7 +36037,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34161,7 +36149,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Syntax { @Test public void testAllFilesPresentInSyntax() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34189,7 +36177,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SyntheticExtensions { @Test public void testAllFilesPresentInSyntheticExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -34204,7 +36192,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInJavaProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34406,7 +36394,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SamAdapters { @Test public void testAllFilesPresentInSamAdapters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34507,7 +36495,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TargetedBuiltIns { @Test public void testAllFilesPresentInTargetedBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34552,7 +36540,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class BackwardCompatibility { @Test public void testAllFilesPresentInBackwardCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34605,7 +36593,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TestWithModifiedMockJdk { @Test public void testAllFilesPresentInTestWithModifiedMockJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34633,7 +36621,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TestsWithExplicitApi { @Test public void testAllFilesPresentInTestsWithExplicitApi() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34721,7 +36709,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TestsWithJava17 { @Test public void testAllFilesPresentInTestsWithJava17() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -34730,7 +36718,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class JvmRecord { @Test public void testAllFilesPresentInJvmRecord() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34812,7 +36800,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class SealedClasses { @Test public void testAllFilesPresentInSealedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34853,7 +36841,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ThisAndSuper { @Test public void testAllFilesPresentInThisAndSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34964,7 +36952,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnqualifiedSuper { @Test public void testAllFilesPresentInUnqualifiedSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35053,7 +37041,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TraitWithRequired { @Test public void testAllFilesPresentInTraitWithRequired() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35075,7 +37063,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35271,7 +37259,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInTypealias() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35905,7 +37893,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnderscoresInNumericLiterals { @Test public void testAllFilesPresentInUnderscoresInNumericLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35921,7 +37909,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35937,7 +37925,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnitConversion { @Test public void testAllFilesPresentInUnitConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36007,7 +37995,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class UnsignedTypes { @Test public void testAllFilesPresentInUnsignedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36082,7 +38070,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Conversions { @Test public void testAllFilesPresentInConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36135,7 +38123,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class ValueClasses { @Test public void testAllFilesPresentInValueClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36331,7 +38319,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Varargs { @Test public void testAllFilesPresentInVarargs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36557,7 +38545,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class Variance { @Test public void testAllFilesPresentInVariance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36644,7 +38632,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInPrivateToThis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36697,7 +38685,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia @Test public void testAllFilesPresentInVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36893,7 +38881,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class WarningsForBreakingChanges { @Test public void testAllFilesPresentInWarningsForBreakingChanges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -36902,7 +38890,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36931,7 +38919,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class When { @Test public void testAllFilesPresentInWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -37462,7 +39450,7 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia public class WithSubjectVariable { @Test public void testAllFilesPresentInWithSubjectVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java index a06ebb1340c..20b3dfdec02 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java @@ -60,7 +60,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInTests() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -1521,7 +1521,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2238,7 +2238,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class AnnotationParameterMustBeConstant { @Test public void testAllFilesPresentInAnnotationParameterMustBeConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2308,7 +2308,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FunctionalTypes { @Test public void testAllFilesPresentInFunctionalTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2342,7 +2342,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Options { @Test public void testAllFilesPresentInOptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2465,7 +2465,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInTargets() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2602,7 +2602,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Parameters { @Test public void testAllFilesPresentInParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2653,7 +2653,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Expressions { @Test public void testAllFilesPresentInExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2868,7 +2868,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Rendering { @Test public void testAllFilesPresentInRendering() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -2950,7 +2950,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3056,7 +3056,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TypeUse { @Test public void testAllFilesPresentInTypeUse() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3114,7 +3114,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class WithUseSiteTarget { @Test public void testAllFilesPresentInWithUseSiteTarget() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3293,7 +3293,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3524,7 +3524,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ProhibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor { @Test public void testAllFilesPresentInProhibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField/prohibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField/prohibitMissedMustBeInitializedWhenThereIsNoPrimaryConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3643,7 +3643,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3652,7 +3652,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OneParameter { @Test public void testAllFilesPresentInOneParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3661,7 +3661,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OneTypeVariable { @Test public void testAllFilesPresentInOneTypeVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -3670,7 +3670,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OneTypeInfoOrigin { @Test public void testAllFilesPresentInOneTypeInfoOrigin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3685,7 +3685,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SourceSinkFeedContexts { @Test public void testAllFilesPresentInSourceSinkFeedContexts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3707,7 +3707,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TargetTypes { @Test public void testAllFilesPresentInTargetTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -3745,7 +3745,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4126,7 +4126,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInAdapted() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4148,7 +4148,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4278,7 +4278,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4588,7 +4588,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Generic { @Test public void testAllFilesPresentInGeneric() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4718,7 +4718,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -4842,7 +4842,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5146,7 +5146,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Unsupported { @Test public void testAllFilesPresentInUnsupported() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5211,7 +5211,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Cast { @Test public void testAllFilesPresentInCast() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5616,7 +5616,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Bare { @Test public void testAllFilesPresentInBare() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5746,7 +5746,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NeverSucceeds { @Test public void testAllFilesPresentInNeverSucceeds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5787,7 +5787,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CheckArguments { @Test public void testAllFilesPresentInCheckArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5893,7 +5893,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ClassLiteral { @Test public void testAllFilesPresentInClassLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -5999,7 +5999,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ClassObjects { @Test public void testAllFilesPresentInClassObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6159,7 +6159,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CollectionLiterals { @Test public void testAllFilesPresentInCollectionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6235,7 +6235,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ConstantEvaluator { @Test public void testAllFilesPresentInConstantEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -6244,7 +6244,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Constant { @Test public void testAllFilesPresentInConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6398,7 +6398,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class IsPure { @Test public void testAllFilesPresentInIsPure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6438,7 +6438,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UsesVariableAsConstant { @Test public void testAllFilesPresentInUsesVariableAsConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6485,7 +6485,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInConstructorConsistency() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -6657,7 +6657,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Contracts { @Test public void testAllFilesPresentInContracts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -6672,7 +6672,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInNeg() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/neg"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/neg"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } } @@ -6694,7 +6694,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInPos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/pos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/contracts/pos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } } } @@ -6729,7 +6729,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInControlFlowAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7386,7 +7386,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DeadCode { @Test public void testAllFilesPresentInDeadCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7564,7 +7564,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DefiniteReturn { @Test public void testAllFilesPresentInDefiniteReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7616,7 +7616,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnnecessaryLateinit { @Test public void testAllFilesPresentInUnnecessaryLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -7699,7 +7699,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ControlStructures { @Test public void testAllFilesPresentInControlStructures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8045,7 +8045,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Coroutines { @Test public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8090,7 +8090,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8112,7 +8112,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SuspendFunctionAsSupertype { @Test public void testAllFilesPresentInSuspendFunctionAsSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -8121,7 +8121,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class KSuspendFunctionN { @Test public void testAllFilesPresentInKSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8161,7 +8161,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Simple { @Test public void testAllFilesPresentInSimple() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8201,7 +8201,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SuspendFunctionN { @Test public void testAllFilesPresentInSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8243,7 +8243,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CyclicHierarchy { @Test public void testAllFilesPresentInCyclicHierarchy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8342,7 +8342,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class WithCompanion { @Test public void testAllFilesPresentInWithCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8425,7 +8425,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DataClasses { @Test public void testAllFilesPresentInDataClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8645,7 +8645,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DataFlow { @Test public void testAllFilesPresentInDataFlow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8690,7 +8690,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Assignment { @Test public void testAllFilesPresentInAssignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8730,7 +8730,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -8813,7 +8813,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DataFlowInfoTraversal { @Test public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9134,7 +9134,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Smartcasts { @Test public void testAllFilesPresentInSmartcasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9157,7 +9157,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DataObjects { @Test public void testAllFilesPresentInDataObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9173,7 +9173,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DeclarationChecks { @Test public void testAllFilesPresentInDeclarationChecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9410,7 +9410,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DestructuringDeclarations { @Test public void testAllFilesPresentInDestructuringDeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9510,7 +9510,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FiniteBoundRestriction { @Test public void testAllFilesPresentInFiniteBoundRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9538,7 +9538,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NonExpansiveInheritanceRestriction { @Test public void testAllFilesPresentInNonExpansiveInheritanceRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9567,7 +9567,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9607,7 +9607,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -9892,7 +9892,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10106,7 +10106,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ProvideDelegate { @Test public void testAllFilesPresentInProvideDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10231,7 +10231,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10324,7 +10324,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Clashes { @Test public void testAllFilesPresentInClashes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10358,7 +10358,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CovariantOverrides { @Test public void testAllFilesPresentInCovariantOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10398,7 +10398,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInMemberHidesSupertypeOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10493,7 +10493,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Deparenthesize { @Test public void testAllFilesPresentInDeparenthesize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10539,7 +10539,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Deprecated { @Test public void testAllFilesPresentInDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10800,7 +10800,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DeprecatedSinceKotlin { @Test public void testAllFilesPresentInDeprecatedSinceKotlin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10865,7 +10865,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DuplicateJvmSignature { @Test public void testAllFilesPresentInDuplicateJvmSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10898,7 +10898,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInAccidentalOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -10992,7 +10992,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Bridges { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11020,7 +11020,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Erasure { @Test public void testAllFilesPresentInErasure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11132,7 +11132,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FinalMembersFromBuiltIns { @Test public void testAllFilesPresentInFinalMembersFromBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11154,7 +11154,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FunctionAndProperty { @Test public void testAllFilesPresentInFunctionAndProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11278,7 +11278,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SpecialNames { @Test public void testAllFilesPresentInSpecialNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11342,7 +11342,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11388,7 +11388,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Synthesized { @Test public void testAllFilesPresentInSynthesized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11404,7 +11404,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TraitImpl { @Test public void testAllFilesPresentInTraitImpl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11439,7 +11439,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DynamicTypes { @Test public void testAllFilesPresentInDynamicTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11485,7 +11485,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -11866,7 +11866,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Entries { @Test public void testAllFilesPresentInEntries() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12056,7 +12056,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inner { @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12139,7 +12139,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Evaluate { @Test public void testAllFilesPresentInEvaluate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12292,7 +12292,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12309,7 +12309,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Exceptions { @Test public void testAllFilesPresentInExceptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12343,7 +12343,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ExplicitDefinitelyNotNullableViaIntersection { @Test public void testAllFilesPresentInExplicitDefinitelyNotNullableViaIntersection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12431,7 +12431,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Exposed { @Test public void testAllFilesPresentInExposed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12633,7 +12633,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Extensions { @Test public void testAllFilesPresentInExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12744,7 +12744,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ContextReceivers { @Test public void testAllFilesPresentInContextReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -12999,7 +12999,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FromKEEP { @Test public void testAllFilesPresentInFromKEEP() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13089,7 +13089,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class External { @Test public void testAllFilesPresentInExternal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13105,7 +13105,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FieldRename { @Test public void testAllFilesPresentInFieldRename() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13157,7 +13157,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13257,7 +13257,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FunctionAsExpression { @Test public void testAllFilesPresentInFunctionAsExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13369,7 +13369,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FunctionLiterals { @Test public void testAllFilesPresentInFunctionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13576,7 +13576,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DestructuringInLambdas { @Test public void testAllFilesPresentInDestructuringInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13646,7 +13646,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Return { @Test public void testAllFilesPresentInReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -13831,7 +13831,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Generics { @Test public void testAllFilesPresentInGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14092,7 +14092,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CapturedParameters { @Test public void testAllFilesPresentInCapturedParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14138,7 +14138,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CyclicBounds { @Test public void testAllFilesPresentInCyclicBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14160,7 +14160,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class InnerClasses { @Test public void testAllFilesPresentInInnerClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14331,7 +14331,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ImplicitArguments { @Test public void testAllFilesPresentInImplicitArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14396,7 +14396,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class MultipleBoundsMemberScope { @Test public void testAllFilesPresentInMultipleBoundsMemberScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14448,7 +14448,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Nullability { @Test public void testAllFilesPresentInNullability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14578,7 +14578,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInProjectionsScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14756,7 +14756,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class StarProjections { @Test public void testAllFilesPresentInStarProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14802,7 +14802,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TpAsReified { @Test public void testAllFilesPresentInTpAsReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14896,7 +14896,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class VarProjection { @Test public void testAllFilesPresentInVarProjection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -14931,7 +14931,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15349,7 +15349,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class IncompleteCode { @Test public void testAllFilesPresentInIncompleteCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15490,7 +15490,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DiagnosticWithSyntaxError { @Test public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -15609,7 +15609,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16428,7 +16428,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16671,7 +16671,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16687,7 +16687,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class StubTypes { @Test public void testAllFilesPresentInStubTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16770,7 +16770,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -16798,7 +16798,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17078,7 +17078,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInCoercionToUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17184,7 +17184,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CommonSystem { @Test public void testAllFilesPresentInCommonSystem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17356,7 +17356,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Completion { @Test public void testAllFilesPresentInCompletion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17467,7 +17467,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PostponedArgumentsAnalysis { @Test public void testAllFilesPresentInPostponedArgumentsAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17538,7 +17538,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -17710,7 +17710,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class EmptyIntersectionTypes { @Test public void testAllFilesPresentInEmptyIntersectionTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18074,7 +18074,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Forks { @Test public void testAllFilesPresentInForks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18102,7 +18102,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18196,7 +18196,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NothingType { @Test public void testAllFilesPresentInNothingType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18380,7 +18380,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PublicApproximation { @Test public void testAllFilesPresentInPublicApproximation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18468,7 +18468,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class RecursiveCalls { @Test public void testAllFilesPresentInRecursiveCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18484,7 +18484,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class RecursiveLocalFuns { @Test public void testAllFilesPresentInRecursiveLocalFuns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18518,7 +18518,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class RecursiveTypes { @Test public void testAllFilesPresentInRecursiveTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18611,7 +18611,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SelfTypes { @Test public void testAllFilesPresentInSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -18620,7 +18620,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DisabledInferenceOnSelfTypes { @Test public void testAllFilesPresentInDisabledInferenceOnSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18648,7 +18648,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class EnabledInferenceOnSelfTypes { @Test public void testAllFilesPresentInEnabledInferenceOnSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -18678,7 +18678,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19126,7 +19126,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ReportingImprovements { @Test public void testAllFilesPresentInReportingImprovements() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19208,7 +19208,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19290,7 +19290,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UpperBounds { @Test public void testAllFilesPresentInUpperBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19367,7 +19367,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Infos { @Test public void testAllFilesPresentInInfos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19389,7 +19389,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inline { @Test public void testAllFilesPresentInInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19734,7 +19734,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BinaryExpressions { @Test public void testAllFilesPresentInBinaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19792,7 +19792,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19910,7 +19910,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NonPublicMember { @Test public void testAllFilesPresentInNonPublicMember() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -19986,7 +19986,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Property { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20020,7 +20020,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20036,7 +20036,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnaryExpressions { @Test public void testAllFilesPresentInUnaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20065,7 +20065,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20291,7 +20291,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20570,7 +20570,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20641,7 +20641,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class IntegerLiterals { @Test public void testAllFilesPresentInIntegerLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -20705,7 +20705,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInJ_k() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21332,7 +21332,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BrokenCode { @Test public void testAllFilesPresentInBrokenCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21354,7 +21354,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CollectionOverrides { @Test public void testAllFilesPresentInCollectionOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21472,7 +21472,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Deprecations { @Test public void testAllFilesPresentInDeprecations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21512,7 +21512,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class GenericConstructor { @Test public void testAllFilesPresentInGenericConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21576,7 +21576,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PolymorphicSignature { @Test public void testAllFilesPresentInPolymorphicSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21598,7 +21598,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PrimitiveOverrides { @Test public void testAllFilesPresentInPrimitiveOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21626,7 +21626,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PrimitiveOverridesWithInlineClass { @Test public void testAllFilesPresentInPrimitiveOverridesWithInlineClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21642,7 +21642,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Properties { @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21706,7 +21706,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21812,7 +21812,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SamByProjectedType { @Test public void testAllFilesPresentInSamByProjectedType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21852,7 +21852,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SignatureAnnotations { @Test public void testAllFilesPresentInSignatureAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21874,7 +21874,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SpecialBuiltIns { @Test public void testAllFilesPresentInSpecialBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -21902,7 +21902,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Types { @Test public void testAllFilesPresentInTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22027,7 +22027,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInJava8Overrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22091,7 +22091,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Javac { @Test public void testAllFilesPresentInJavac() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22106,7 +22106,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class FieldsResolution { @Test public void testAllFilesPresentInFieldsResolution() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22188,7 +22188,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22300,7 +22300,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22412,7 +22412,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inners { @Test public void testAllFilesPresentInInners() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22464,7 +22464,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22504,7 +22504,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22557,7 +22557,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Labels { @Test public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22645,7 +22645,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Lateinit { @Test public void testAllFilesPresentInLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22672,7 +22672,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22701,7 +22701,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Library { @Test public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22723,7 +22723,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class LocalClasses { @Test public void testAllFilesPresentInLocalClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22745,7 +22745,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Modifiers { @Test public void testAllFilesPresentInModifiers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -22862,7 +22862,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Const { @Test public void testAllFilesPresentInConst() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23010,7 +23010,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OperatorInfix { @Test public void testAllFilesPresentInOperatorInfix() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23039,7 +23039,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Multimodule { @Test public void testAllFilesPresentInMultimodule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23114,7 +23114,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DuplicateClass { @Test public void testAllFilesPresentInDuplicateClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23202,7 +23202,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DuplicateMethod { @Test public void testAllFilesPresentInDuplicateMethod() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23362,7 +23362,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DuplicateSuper { @Test public void testAllFilesPresentInDuplicateSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23396,7 +23396,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class HiddenClass { @Test public void testAllFilesPresentInHiddenClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23425,13 +23425,2001 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated } } + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform") + @TestDataPath("$PROJECT_ROOT") + public class Multiplatform { + @Test + @TestMetadata("actualFakeOverride.kt") + public void testActualFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride.kt"); + } + + @Test + @TestMetadata("actualFakeOverrideVirtual.kt") + public void testActualFakeOverrideVirtual() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverrideVirtual.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_defaultParamsIncompatibility.kt") + public void testActualFakeOverride_defaultParamsIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_defaultParamsIncompatibility.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams.kt") + public void testActualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_paramsAreCompatibleViaSharedMethodWithDefaultParams.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams.kt") + public void testActualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_paramsAreCompatibleViaTransitiveSharedMethodWithDefaultParams.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_substitutionFakeOverride.kt") + public void testActualFakeOverride_substitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_substitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_transitiveFakeOverrides_compatible.kt") + public void testActualFakeOverride_transitiveFakeOverrides_compatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_transitiveFakeOverrides_compatible.kt"); + } + + @Test + @TestMetadata("actualFakeOverride_transitiveFakeOverrides_incompatible.kt") + public void testActualFakeOverride_transitiveFakeOverrides_incompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualFakeOverride_transitiveFakeOverrides_incompatible.kt"); + } + + @Test + @TestMetadata("actualTypealiasToSpecialAnnotation.kt") + public void testActualTypealiasToSpecialAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealiasToSpecialAnnotation.kt"); + } + + @Test + @TestMetadata("actualTypealiasToSpecialAnnotation_oldLanguageVersion.kt") + public void testActualTypealiasToSpecialAnnotation_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealiasToSpecialAnnotation_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("actualTypealias_defaultParamsIncompatibility.kt") + public void testActualTypealias_defaultParamsIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualTypealias_defaultParamsIncompatibility.kt"); + } + + @Test + public void testAllFilesPresentInMultiplatform() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgArrayVsOutArray.kt") + public void testAnnotationArgArrayVsOutArray() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsOutArray.kt"); + } + + @Test + @TestMetadata("annotationArgArrayVsVararg.kt") + public void testAnnotationArgArrayVsVararg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsVararg.kt"); + } + + @Test + @TestMetadata("annotationArgTypeAliasWithArray.kt") + public void testAnnotationArgTypeAliasWithArray() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/annotationArgTypeAliasWithArray.kt"); + } + + @Test + @TestMetadata("arraySort.kt") + public void testArraySort() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/arraySort.kt"); + } + + @Test + @TestMetadata("arraySortFixed.kt") + public void testArraySortFixed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/arraySortFixed.kt"); + } + + @Test + @TestMetadata("callConflictsOnExpectAndActualWeaklyCompatible.kt") + public void testCallConflictsOnExpectAndActualWeaklyCompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/callConflictsOnExpectAndActualWeaklyCompatible.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass.kt") + public void testChangeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/changeModalityFromOpenToFinalInOverride_finalExpectClass_finalActualClass.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass.kt") + public void testChangeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/changeModalityFromOpenToFinalInOverride_finalExpectClass_openActualClass.kt"); + } + + @Test + @TestMetadata("checkNoActualForExpectInLastModule.kt") + public void testCheckNoActualForExpectInLastModule() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/checkNoActualForExpectInLastModule.kt"); + } + + @Test + @TestMetadata("defaultParams_inheritanceByDelegation_negative.kt") + public void testDefaultParams_inheritanceByDelegation_negative() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultParams_inheritanceByDelegation_negative.kt"); + } + + @Test + @TestMetadata("defaultParams_inheritanceByDelegation_positive.kt") + public void testDefaultParams_inheritanceByDelegation_positive() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultParams_inheritanceByDelegation_positive.kt"); + } + + @Test + @TestMetadata("expectAbstractToString.kt") + public void testExpectAbstractToString() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectAbstractToString.kt"); + } + + @Test + @TestMetadata("expectActualClassesAreInBetaWarning.kt") + public void testExpectActualClassesAreInBetaWarning() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBetaWarning.kt"); + } + + @Test + @TestMetadata("expectActualClassesAreInBeta_suppressWarningWithLv.kt") + public void testExpectActualClassesAreInBeta_suppressWarningWithLv() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBeta_suppressWarningWithLv.kt"); + } + + @Test + @TestMetadata("expectDataObject.kt") + public void testExpectDataObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.kt"); + } + + @Test + @TestMetadata("expectExternal.kt") + public void testExpectExternal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectExternal.kt"); + } + + @Test + @TestMetadata("expectExternal_oldLanguageVersion.kt") + public void testExpectExternal_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectExternal_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("expectInterfaceApplicability.kt") + public void testExpectInterfaceApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.kt"); + } + + @Test + @TestMetadata("expectObjectWithAbstractMember.kt") + public void testExpectObjectWithAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectObjectWithAbstractMember.kt"); + } + + @Test + @TestMetadata("expectOptInAnnotation.kt") + public void testExpectOptInAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectOptInAnnotation.kt"); + } + + @Test + @TestMetadata("expectOptInAnnotation_oldLanguageVersion.kt") + public void testExpectOptInAnnotation_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectOptInAnnotation_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("expectTailrec.kt") + public void testExpectTailrec() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectTailrec.kt"); + } + + @Test + @TestMetadata("expectTailrec_oldLanguageVersion.kt") + public void testExpectTailrec_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectTailrec_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("headerFunInNonHeaderClass.kt") + public void testHeaderFunInNonHeaderClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.kt"); + } + + @Test + @TestMetadata("implDelegatedMember.kt") + public void testImplDelegatedMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implDelegatedMember.kt"); + } + + @Test + @TestMetadata("implDynamic.kt") + public void testImplDynamic() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt"); + } + + @Test + @TestMetadata("implFakeOverride.kt") + public void testImplFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implFakeOverride.kt"); + } + + @Test + @TestMetadata("implicitActualFakeOverride_AbstractMap.kt") + public void testImplicitActualFakeOverride_AbstractMap() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_AbstractMap.kt"); + } + + @Test + @TestMetadata("implicitActualFakeOverride_simple.kt") + public void testImplicitActualFakeOverride_simple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_simple.kt"); + } + + @Test + @TestMetadata("incDecOperatorsInExpectClass.kt") + public void testIncDecOperatorsInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/incDecOperatorsInExpectClass.kt"); + } + + @Test + @TestMetadata("incompatibles.kt") + public void testIncompatibles() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/incompatibles.kt"); + } + + @Test + @TestMetadata("kt54827.kt") + public void testKt54827() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt54827.kt"); + } + + @Test + @TestMetadata("kt58153.kt") + public void testKt58153() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt58153.kt"); + } + + @Test + @TestMetadata("kt60902.kt") + public void testKt60902() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/kt60902.kt"); + } + + @Test + @TestMetadata("manyImplMemberNotImplemented.kt") + public void testManyImplMemberNotImplemented() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/manyImplMemberNotImplemented.kt"); + } + + @Test + @TestMetadata("manyInterfacesMemberNotImplemented.kt") + public void testManyInterfacesMemberNotImplemented() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/manyInterfacesMemberNotImplemented.kt"); + } + + @Test + @TestMetadata("modifierApplicability.kt") + public void testModifierApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); + } + + @Test + @TestMetadata("multipleExpectInterfacesImplementation.kt") + public void testMultipleExpectInterfacesImplementation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/multipleExpectInterfacesImplementation.kt"); + } + + @Test + @TestMetadata("namedArguments.kt") + public void testNamedArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); + } + + @Test + @TestMetadata("optionalExpectationDiagnostics.kt") + public void testOptionalExpectationDiagnostics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.kt"); + } + + @Test + @TestMetadata("privateTopLevelDeclarations.kt") + public void testPrivateTopLevelDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.kt"); + } + + @Test + @TestMetadata("returnTypeVsGenericsUpperBoundIncompatibility.kt") + public void testReturnTypeVsGenericsUpperBoundIncompatibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/returnTypeVsGenericsUpperBoundIncompatibility.kt"); + } + + @Test + @TestMetadata("sealedClassWithPrivateConstructor.kt") + public void testSealedClassWithPrivateConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedClassWithPrivateConstructor.kt"); + } + + @Test + @TestMetadata("sealedTypeAlias.kt") + public void testSealedTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt"); + } + + @Test + @TestMetadata("sealedTypeAliasTopLevel.kt") + public void testSealedTypeAliasTopLevel() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/sealedTypeAliasTopLevel.kt"); + } + + @Test + @TestMetadata("smartcastOnMemberPropertyFromCommonClass.kt") + public void testSmartcastOnMemberPropertyFromCommonClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartcastOnMemberPropertyFromCommonClass.kt"); + } + + @Test + @TestMetadata("superCallDefaultArguments.kt") + public void testSuperCallDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/superCallDefaultArguments.kt"); + } + + @Test + @TestMetadata("supertypeActualizationWithAny.kt") + public void testSupertypeActualizationWithAny() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/supertypeActualizationWithAny.kt"); + } + + @Test + @TestMetadata("varSetterVisibility.kt") + public void testVarSetterVisibility() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.kt"); + } + + @Test + @TestMetadata("widerVisibilityInActualClassifier.kt") + public void testWiderVisibilityInActualClassifier() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibilityInActualClassifier.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal.kt") + public void testWiderVisibility_expectIsEffectivelyFinal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal_fakeOverride.kt") + public void testWiderVisibility_expectIsEffectivelyFinal_fakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_fakeOverride.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.kt") + public void testWiderVisibility_expectIsEffectivelyFinal_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectSetterIsEffectivelyFinal.kt") + public void testWiderVisibility_expectSetterIsEffectivelyFinal() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectSetterIsEffectivelyFinal.kt"); + } + + @Test + @TestMetadata("widerVisibility_expectSetterIsEffectivelyFinal_fakeOverride.kt") + public void testWiderVisibility_expectSetterIsEffectivelyFinal_fakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectSetterIsEffectivelyFinal_fakeOverride.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect") + @TestDataPath("$PROJECT_ROOT") + public class ActualAnnotationsNotMatchExpect { + @Test + @TestMetadata("actualInnerClassMissingMember.kt") + public void testActualInnerClassMissingMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/actualInnerClassMissingMember.kt"); + } + + @Test + public void testAllFilesPresentInActualAnnotationsNotMatchExpect() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgRendering.kt") + public void testAnnotationArgRendering() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgRendering.kt"); + } + + @Test + @TestMetadata("annotationArgumentsConstExpressions.kt") + public void testAnnotationArgumentsConstExpressions() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsConstExpressions.kt"); + } + + @Test + @TestMetadata("annotationArgumentsDefaults.kt") + public void testAnnotationArgumentsDefaults() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsDefaults.kt"); + } + + @Test + @TestMetadata("annotationMatching_oldLanguageVersion.kt") + public void testAnnotationMatching_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationMatching_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("annotationTarget.kt") + public void testAnnotationTarget() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTarget.kt"); + } + + @Test + @TestMetadata("annotationTypeParameters.kt") + public void testAnnotationTypeParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTypeParameters.kt"); + } + + @Test + @TestMetadata("basicOnDeclaration.kt") + public void testBasicOnDeclaration() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/basicOnDeclaration.kt"); + } + + @Test + @TestMetadata("checkDiagnosticFullText.kt") + public void testCheckDiagnosticFullText() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.kt"); + } + + @Test + @TestMetadata("classScopeInnerClasses.kt") + public void testClassScopeInnerClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeInnerClasses.kt"); + } + + @Test + @TestMetadata("classScopeViaTypealiasIncompatible.kt") + public void testClassScopeViaTypealiasIncompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeViaTypealiasIncompatible.kt"); + } + + @Test + @TestMetadata("compatibleOverrides.kt") + public void testCompatibleOverrides() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/compatibleOverrides.kt"); + } + + @Test + @TestMetadata("defaultValueParametersRendering.kt") + public void testDefaultValueParametersRendering() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/defaultValueParametersRendering.kt"); + } + + @Test + @TestMetadata("deprecatedAnnotationOnlyOnActual_useInPlatform.kt") + public void testDeprecatedAnnotationOnlyOnActual_useInPlatform() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/deprecatedAnnotationOnlyOnActual_useInPlatform.kt"); + } + + @Test + @TestMetadata("differentOrder.kt") + public void testDifferentOrder() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/differentOrder.kt"); + } + + @Test + @TestMetadata("enumEntries.kt") + public void testEnumEntries() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/enumEntries.kt"); + } + + @Test + @TestMetadata("fakeOverrides.kt") + public void testFakeOverrides() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/fakeOverrides.kt"); + } + + @Test + @TestMetadata("floatNumbersComparison.kt") + public void testFloatNumbersComparison() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/floatNumbersComparison.kt"); + } + + @Test + @TestMetadata("gettersAndSetters.kt") + public void testGettersAndSetters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/gettersAndSetters.kt"); + } + + @Test + @TestMetadata("intrinsicConstEvaluation.kt") + public void testIntrinsicConstEvaluation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/intrinsicConstEvaluation.kt"); + } + + @Test + @TestMetadata("kclassArgWithExpectClass.kt") + public void testKclassArgWithExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/kclassArgWithExpectClass.kt"); + } + + @Test + @TestMetadata("kotlinAnaloguesForJavaAnnotations.kt") + public void testKotlinAnaloguesForJavaAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/kotlinAnaloguesForJavaAnnotations.kt"); + } + + @Test + @TestMetadata("repeatableNoArg.kt") + public void testRepeatableNoArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableNoArg.kt"); + } + + @Test + @TestMetadata("repeatableWithArg.kt") + public void testRepeatableWithArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableWithArg.kt"); + } + + @Test + @TestMetadata("skippedAnnotations.kt") + public void testSkippedAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/skippedAnnotations.kt"); + } + + @Test + @TestMetadata("sourceRetentionAnnotationsWhenTypealias.kt") + public void testSourceRetentionAnnotationsWhenTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/sourceRetentionAnnotationsWhenTypealias.kt"); + } + + @Test + @TestMetadata("substitutionOverrideInTwoClasses.kt") + public void testSubstitutionOverrideInTwoClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/substitutionOverrideInTwoClasses.kt"); + } + + @Test + @TestMetadata("twoActualTypealiasesToSameClass.kt") + public void testTwoActualTypealiasesToSameClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/twoActualTypealiasesToSameClass.kt"); + } + + @Test + @TestMetadata("typeParameters.kt") + public void testTypeParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeParameters.kt"); + } + + @Test + @TestMetadata("typeUsage.kt") + public void testTypeUsage() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsage.kt"); + } + + @Test + @TestMetadata("typeUsageTypealiasInSuper.kt") + public void testTypeUsageTypealiasInSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageTypealiasInSuper.kt"); + } + + @Test + @TestMetadata("typeUsageWithImplicitType.kt") + public void testTypeUsageWithImplicitType() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithImplicitType.kt"); + } + + @Test + @TestMetadata("typeUsageWithUnresolvedReference.kt") + public void testTypeUsageWithUnresolvedReference() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithUnresolvedReference.kt"); + } + + @Test + @TestMetadata("typealias.kt") + public void testTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealias.kt"); + } + + @Test + @TestMetadata("typealiasToJavaLibrary.kt") + public void testTypealiasToJavaLibrary() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToJavaLibrary.kt"); + } + + @Test + @TestMetadata("typealiasToKtLibrary.kt") + public void testTypealiasToKtLibrary() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToKtLibrary.kt"); + } + + @Test + @TestMetadata("unresolvedReference.kt") + public void testUnresolvedReference() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/unresolvedReference.kt"); + } + + @Test + @TestMetadata("valueParameters.kt") + public void testValueParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/valueParameters.kt"); + } + + @Test + @TestMetadata("withAnnotationActualTypealias.kt") + public void testWithAnnotationActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withAnnotationActualTypealias.kt"); + } + + @Test + @TestMetadata("withOtherIncomatibilities.kt") + public void testWithOtherIncomatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withOtherIncomatibilities.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker") + @TestDataPath("$PROJECT_ROOT") + public class ActualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker { + @Test + @TestMetadata("actualTypealias.kt") + public void testActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualTypealias.kt"); + } + + @Test + @TestMetadata("actualizeFakeOverridePropertyToJavaMethod.kt") + public void testActualizeFakeOverridePropertyToJavaMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizeFakeOverridePropertyToJavaMethod.kt"); + } + + @Test + @TestMetadata("actualizePrimaryConstructorWithSecondaryConstructor.kt") + public void testActualizePrimaryConstructorWithSecondaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizePrimaryConstructorWithSecondaryConstructor.kt"); + } + + @Test + @TestMetadata("actualizeSecondaryConstructorWithPrimaryConstructor.kt") + public void testActualizeSecondaryConstructorWithPrimaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/actualizeSecondaryConstructorWithPrimaryConstructor.kt"); + } + + @Test + public void testAllFilesPresentInActualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("changeClassTypeParameterNames.kt") + public void testChangeClassTypeParameterNames() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeClassTypeParameterNames.kt"); + } + + @Test + @TestMetadata("changeFunctionTypeParameterNamesInOverride.kt") + public void testChangeFunctionTypeParameterNamesInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeFunctionTypeParameterNamesInOverride.kt"); + } + + @Test + @TestMetadata("changeLateinitInOverride.kt") + public void testChangeLateinitInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeLateinitInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromAbstractToFinalInOverride.kt") + public void testChangeModalityFromAbstractToFinalInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToFinalInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromAbstractToOpenInOverride.kt") + public void testChangeModalityFromAbstractToOpenInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToOpenInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToAbstractInOverride.kt") + public void testChangeModalityFromOpenToAbstractInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToAbstractInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityFromOpenToFinalInOverride.kt") + public void testChangeModalityFromOpenToFinalInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToFinalInOverride.kt"); + } + + @Test + @TestMetadata("changeModalityOfSubstitutedFakeOverride.kt") + public void testChangeModalityOfSubstitutedFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfSubstitutedFakeOverride.kt"); + } + + @Test + @TestMetadata("changeModalityOfToStringInOverride.kt") + public void testChangeModalityOfToStringInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfToStringInOverride.kt"); + } + + @Test + @TestMetadata("changeParameterNameInOverride.kt") + public void testChangeParameterNameInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeParameterNameInOverride.kt"); + } + + @Test + @TestMetadata("changeSetterVisibilityInOverride.kt") + public void testChangeSetterVisibilityInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeSetterVisibilityInOverride.kt"); + } + + @Test + @TestMetadata("changeVarargModifierInOverride.kt") + public void testChangeVarargModifierInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVarargModifierInOverride.kt"); + } + + @Test + @TestMetadata("changeVisibilityInOverride.kt") + public void testChangeVisibilityInOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVisibilityInOverride.kt"); + } + + @Test + @TestMetadata("covariantFunctionOverride.kt") + public void testCovariantFunctionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantFunctionOverride.kt"); + } + + @Test + @TestMetadata("covariantOverrideGenericUpperBound.kt") + public void testCovariantOverrideGenericUpperBound() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenericUpperBound.kt"); + } + + @Test + @TestMetadata("covariantOverrideGenerics.kt") + public void testCovariantOverrideGenerics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenerics.kt"); + } + + @Test + @TestMetadata("covariantPropertyOverride.kt") + public void testCovariantPropertyOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantPropertyOverride.kt"); + } + + @Test + @TestMetadata("fakeOverrideChangedToRealOverride.kt") + public void testFakeOverrideChangedToRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/fakeOverrideChangedToRealOverride.kt"); + } + + @Test + @TestMetadata("finalClassIsActualizedByOpenClass.kt") + public void testFinalClassIsActualizedByOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/finalClassIsActualizedByOpenClass.kt"); + } + + @Test + @TestMetadata("finalMethodIsActualizedByOpenMethod.kt") + public void testFinalMethodIsActualizedByOpenMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/finalMethodIsActualizedByOpenMethod.kt"); + } + + @Test + @TestMetadata("flexibleTypesMatching.kt") + public void testFlexibleTypesMatching() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/flexibleTypesMatching.kt"); + } + + @Test + @TestMetadata("injectClass.kt") + public void testInjectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectClass.kt"); + } + + @Test + @TestMetadata("injectContextReceiverOverload.kt") + public void testInjectContextReceiverOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectContextReceiverOverload.kt"); + } + + @Test + @TestMetadata("injectEmptySuperClass.kt") + public void testInjectEmptySuperClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectEmptySuperClass.kt"); + } + + @Test + @TestMetadata("injectExtensionReceiverOverload.kt") + public void testInjectExtensionReceiverOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectExtensionReceiverOverload.kt"); + } + + @Test + @TestMetadata("injectGenericUpperBoundOverload.kt") + public void testInjectGenericUpperBoundOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectGenericUpperBoundOverload.kt"); + } + + @Test + @TestMetadata("injectMethod_internalMethod.kt") + public void testInjectMethod_internalMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_internalMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_privateMethod.kt") + public void testInjectMethod_privateMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_privateMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_protectedMethod.kt") + public void testInjectMethod_protectedMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_protectedMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_publicMethod.kt") + public void testInjectMethod_publicMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_publicMethod.kt"); + } + + @Test + @TestMetadata("injectMethod_publicMethodInJava.kt") + public void testInjectMethod_publicMethodInJava() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectMethod_publicMethodInJava.kt"); + } + + @Test + @TestMetadata("injectParameterOverload.kt") + public void testInjectParameterOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectParameterOverload.kt"); + } + + @Test + @TestMetadata("injectParameterOverloadWithGenerics.kt") + public void testInjectParameterOverloadWithGenerics() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectParameterOverloadWithGenerics.kt"); + } + + @Test + @TestMetadata("injectPrimaryConstructor.kt") + public void testInjectPrimaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPrimaryConstructor.kt"); + } + + @Test + @TestMetadata("injectPrivateProperty.kt") + public void testInjectPrivateProperty() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPrivateProperty.kt"); + } + + @Test + @TestMetadata("injectProperty.kt") + public void testInjectProperty() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectProperty.kt"); + } + + @Test + @TestMetadata("injectPropertyWithTheSameSignatureAsExistingFunction.kt") + public void testInjectPropertyWithTheSameSignatureAsExistingFunction() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPropertyWithTheSameSignatureAsExistingFunction.kt"); + } + + @Test + @TestMetadata("injectPublicFakeOverrideMethod.kt") + public void testInjectPublicFakeOverrideMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectPublicFakeOverrideMethod.kt"); + } + + @Test + @TestMetadata("injectSecondaryConstructor.kt") + public void testInjectSecondaryConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSecondaryConstructor.kt"); + } + + @Test + @TestMetadata("injectSupertype_SupertypeIsExpectActualPair.kt") + public void testInjectSupertype_SupertypeIsExpectActualPair() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSupertype_SupertypeIsExpectActualPair.kt"); + } + + @Test + @TestMetadata("injectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride.kt") + public void testInjectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectSupertype_SupertypeIsExpectActualPair_transitiveFakeOverride.kt"); + } + + @Test + @TestMetadata("injectVarargParameterOverload.kt") + public void testInjectVarargParameterOverload() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/injectVarargParameterOverload.kt"); + } + + @Test + @TestMetadata("kt62027.kt") + public void testKt62027() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/kt62027.kt"); + } + + @Test + @TestMetadata("memberScopeMismatch_oldLanguageVersion.kt") + public void testMemberScopeMismatch_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/memberScopeMismatch_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("nestedExpectOpenClass.kt") + public void testNestedExpectOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/nestedExpectOpenClass.kt"); + } + + @Test + @TestMetadata("overloadMethodInjectedInSuper.kt") + public void testOverloadMethodInjectedInSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/overloadMethodInjectedInSuper.kt"); + } + + @Test + @TestMetadata("propertyKindOverride.kt") + public void testPropertyKindOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/propertyKindOverride.kt"); + } + + @Test + @TestMetadata("severalMismatches.kt") + public void testSeveralMismatches() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/severalMismatches.kt"); + } + + @Test + @TestMetadata("substitutedFakeOverrideChangedToRealOverride.kt") + public void testSubstitutedFakeOverrideChangedToRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/substitutedFakeOverrideChangedToRealOverride.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloActualTypealias.kt") + public void testSuperTypesAreTheSameModuloActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloActualTypealias.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloTypealias1.kt") + public void testSuperTypesAreTheSameModuloTypealias1() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloTypealias1.kt"); + } + + @Test + @TestMetadata("superTypesAreTheSameModuloTypealias2.kt") + public void testSuperTypesAreTheSameModuloTypealias2() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/superTypesAreTheSameModuloTypealias2.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper.kt") + public void testSupertypeIsExpectActual_covariantOverrideOfInjectedFromSuper() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_covariantOverrideOfInjectedFromSuper_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectMethod.kt") + public void testSupertypeIsExpectActual_injectMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectMethod.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectSupertype.kt") + public void testSupertypeIsExpectActual_injectSupertype() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectSupertype.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectSupertype_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_simpleOverride.kt") + public void testSupertypeIsExpectActual_simpleOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_simpleOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_simpleOverride_transitiveSubstitutionFakeOverride.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod.kt") + public void testSupertypeIsExpectActual_supertypeIsActualTypealias_injectMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod.kt"); + } + + @Test + @TestMetadata("supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride.kt") + public void testSupertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/complexMatchings") + @TestDataPath("$PROJECT_ROOT") + public class ComplexMatchings { + @Test + public void testAllFilesPresentInComplexMatchings() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/complexMatchings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectCtorlessFinalToActualObject.kt") + public void testExpectCtorlessFinalToActualObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObject.kt"); + } + + @Test + @TestMetadata("expectCtorlessFinalToActualObjectViaTypealias.kt") + public void testExpectCtorlessFinalToActualObjectViaTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObjectViaTypealias.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/defaultArguments") + @TestDataPath("$PROJECT_ROOT") + public class DefaultArguments { + @Test + public void testAllFilesPresentInDefaultArguments() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/defaultArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("annotationArgumentEquality.kt") + public void testAnnotationArgumentEquality() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationArgumentEquality.kt"); + } + + @Test + @TestMetadata("annotations.kt") + public void testAnnotations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotations.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAlias.kt") + public void testAnnotationsViaActualTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAlias2.kt") + public void testAnnotationsViaActualTypeAlias2() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias2.kt"); + } + + @Test + @TestMetadata("annotationsViaActualTypeAliasExpectEnumArg.kt") + public void testAnnotationsViaActualTypeAliasExpectEnumArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAliasExpectEnumArg.kt"); + } + + @Test + @TestMetadata("companionMethodViaActualTypealias.kt") + public void testCompanionMethodViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/companionMethodViaActualTypealias.kt"); + } + + @Test + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.kt"); + } + + @Test + @TestMetadata("constructorDefaultArgsViaActualTypealias.kt") + public void testConstructorDefaultArgsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructorDefaultArgsViaActualTypealias.kt"); + } + + @Test + @TestMetadata("expectAnnotationAndInlineClassWithDefaultValue.kt") + public void testExpectAnnotationAndInlineClassWithDefaultValue() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectAnnotationAndInlineClassWithDefaultValue.kt"); + } + + @Test + @TestMetadata("expectedDeclaresDefaultArguments.kt") + public void testExpectedDeclaresDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedDeclaresDefaultArguments.kt"); + } + + @Test + @TestMetadata("expectedInheritsDefaultArguments.kt") + public void testExpectedInheritsDefaultArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedInheritsDefaultArguments.kt"); + } + + @Test + @TestMetadata("expectedVsNonExpectedWithDefaults.kt") + public void testExpectedVsNonExpectedWithDefaults() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectedVsNonExpectedWithDefaults.kt"); + } + + @Test + @TestMetadata("methodDefaultArgsViaActualTypealias.kt") + public void testMethodDefaultArgsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias.kt"); + } + + @Test + @TestMetadata("methodDefaultArgsViaActualTypealias_oldLanguageVersion.kt") + public void testMethodDefaultArgsViaActualTypealias_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("nestedAnnotationClassViaActualTypealias.kt") + public void testNestedAnnotationClassViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedAnnotationClassViaActualTypealias.kt"); + } + + @Test + @TestMetadata("nestedClassMethodsViaActualTypealias.kt") + public void testNestedClassMethodsViaActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedClassMethodsViaActualTypealias.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride") + @TestDataPath("$PROJECT_ROOT") + public class MethodDefaultArgsViaActualFakeOverride { + @Test + public void testAllFilesPresentInMethodDefaultArgsViaActualFakeOverride() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/constructor.kt"); + } + + @Test + @TestMetadata("delegation.kt") + public void testDelegation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/delegation.kt"); + } + + @Test + @TestMetadata("disabledFeature.kt") + public void testDisabledFeature() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/disabledFeature.kt"); + } + + @Test + @TestMetadata("intersectionOverride.kt") + public void testIntersectionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/intersectionOverride.kt"); + } + + @Test + @TestMetadata("nestedClass.kt") + public void testNestedClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/nestedClass.kt"); + } + + @Test + @TestMetadata("realOverride.kt") + public void testRealOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/realOverride.kt"); + } + + @Test + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simple.kt"); + } + + @Test + @TestMetadata("simpleIncompatible.kt") + public void testSimpleIncompatible() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simpleIncompatible.kt"); + } + + @Test + @TestMetadata("substitutionOverride.kt") + public void testSubstitutionOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/substitutionOverride.kt"); + } + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/deprecated") + @TestDataPath("$PROJECT_ROOT") + public class Deprecated { + @Test + public void testAllFilesPresentInDeprecated() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/deprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("header.kt") + public void testHeader() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/deprecated/header.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/enum") + @TestDataPath("$PROJECT_ROOT") + public class Enum { + @Test + @TestMetadata("additionalEntriesInImpl.kt") + public void testAdditionalEntriesInImpl() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/additionalEntriesInImpl.kt"); + } + + @Test + public void testAllFilesPresentInEnum() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/enum"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("constructorInHeaderEnum.kt") + public void testConstructorInHeaderEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/constructorInHeaderEnum.kt"); + } + + @Test + @TestMetadata("differentEntryOrder.kt") + public void testDifferentEntryOrder() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/differentEntryOrder.kt"); + } + + @Test + @TestMetadata("enumEntryWithBody.kt") + public void testEnumEntryWithBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/enumEntryWithBody.kt"); + } + + @Test + @TestMetadata("javaEnum.kt") + public void testJavaEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt"); + } + + @Test + @TestMetadata("simpleEnum.kt") + public void testSimpleEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness") + @TestDataPath("$PROJECT_ROOT") + public class Exhaustiveness { + @Test + public void testAllFilesPresentInExhaustiveness() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("commonSealedWithPlatformInheritor.kt") + public void testCommonSealedWithPlatformInheritor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/commonSealedWithPlatformInheritor.kt"); + } + + @Test + @TestMetadata("expectEnum.kt") + public void testExpectEnum() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectEnum.kt"); + } + + @Test + @TestMetadata("expectSealedClass.kt") + public void testExpectSealedClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedClass.kt"); + } + + @Test + @TestMetadata("expectSealedClassWithActualTypealias.kt") + public void testExpectSealedClassWithActualTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedClassWithActualTypealias.kt"); + } + + @Test + @TestMetadata("expectSealedInterface.kt") + public void testExpectSealedInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/expectSealedInterface.kt"); + } + + @Test + @TestMetadata("kt45796.kt") + public void testKt45796() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/kt45796.kt"); + } + + @Test + @TestMetadata("sealedHierarchyInBambooMppStructure.kt") + public void testSealedHierarchyInBambooMppStructure() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/exhaustiveness/sealedHierarchyInBambooMppStructure.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/generic") + @TestDataPath("$PROJECT_ROOT") + public class Generic { + @Test + public void testAllFilesPresentInGeneric() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/generic"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("functionTypeParameterBounds.kt") + public void testFunctionTypeParameterBounds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/functionTypeParameterBounds.kt"); + } + + @Test + @TestMetadata("genericMemberBounds.kt") + public void testGenericMemberBounds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/genericMemberBounds.kt"); + } + + @Test + @TestMetadata("membersInGenericClass.kt") + public void testMembersInGenericClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/membersInGenericClass.kt"); + } + + @Test + @TestMetadata("typeParameterBoundsDifferentOrderActualMissing.kt") + public void testTypeParameterBoundsDifferentOrderActualMissing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/generic/typeParameterBoundsDifferentOrderActualMissing.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/headerClass") + @TestDataPath("$PROJECT_ROOT") + public class HeaderClass { + @Test + @TestMetadata("actualClassWithDefaultValuesInAnnotationViaTypealias.kt") + public void testActualClassWithDefaultValuesInAnnotationViaTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.kt"); + } + + @Test + @TestMetadata("actualClassWithDifferentConstructors.kt") + public void testActualClassWithDifferentConstructors() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.kt"); + } + + @Test + @TestMetadata("actualMethodInExpectClass.kt") + public void testActualMethodInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMethodInExpectClass.kt"); + } + + @Test + @TestMetadata("actualMissing.kt") + public void testActualMissing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMissing.kt"); + } + + @Test + public void testAllFilesPresentInHeaderClass() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/headerClass"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("baseExpectClassWithoutConstructor.kt") + public void testBaseExpectClassWithoutConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/baseExpectClassWithoutConstructor.kt"); + } + + @Test + @TestMetadata("classKinds.kt") + public void testClassKinds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/classKinds.kt"); + } + + @Test + @TestMetadata("dontOverrideMethodsFromInterfaceInCommonCode.kt") + public void testDontOverrideMethodsFromInterfaceInCommonCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/dontOverrideMethodsFromInterfaceInCommonCode.kt"); + } + + @Test + @TestMetadata("equalsOverrideInActualInterface.kt") + public void testEqualsOverrideInActualInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/equalsOverrideInActualInterface.kt"); + } + + @Test + @TestMetadata("expectClassWithExplicitAbstractMember.kt") + public void testExpectClassWithExplicitAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithExplicitAbstractMember.kt"); + } + + @Test + @TestMetadata("expectClassWithoutConstructor.kt") + public void testExpectClassWithoutConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithoutConstructor.kt"); + } + + @Test + @TestMetadata("expectDeclarationWithStrongIncompatibilities.kt") + public void testExpectDeclarationWithStrongIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.kt"); + } + + @Test + @TestMetadata("expectDeclarationWithWeakIncompatibilities.kt") + public void testExpectDeclarationWithWeakIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithWeakIncompatibilities.kt"); + } + + @Test + @TestMetadata("expectFinalActualOpen.kt") + public void testExpectFinalActualOpen() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFinalActualOpen.kt"); + } + + @Test + @TestMetadata("expectFunInterface.kt") + public void testExpectFunInterface() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.kt"); + } + + @Test + @TestMetadata("expectedClassConstructorPropertyParameters.kt") + public void testExpectedClassConstructorPropertyParameters() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectedClassConstructorPropertyParameters.kt"); + } + + @Test + @TestMetadata("explicitConstructorDelegation.kt") + public void testExplicitConstructorDelegation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/explicitConstructorDelegation.kt"); + } + + @Test + @TestMetadata("extendExpectedClassWithAbstractMember.kt") + public void testExtendExpectedClassWithAbstractMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithAbstractMember.kt"); + } + + @Test + @TestMetadata("extendExpectedClassWithoutExplicitOverrideOfMethod.kt") + public void testExtendExpectedClassWithoutExplicitOverrideOfMethod() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithoutExplicitOverrideOfMethod.kt"); + } + + @Test + @TestMetadata("extraHeaderOnMembers.kt") + public void testExtraHeaderOnMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/extraHeaderOnMembers.kt"); + } + + @Test + @TestMetadata("functionAndPropertyWithSameName.kt") + public void testFunctionAndPropertyWithSameName() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/functionAndPropertyWithSameName.kt"); + } + + @Test + @TestMetadata("genericClassImplTypeAlias.kt") + public void testGenericClassImplTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/genericClassImplTypeAlias.kt"); + } + + @Test + @TestMetadata("headerClassMember.kt") + public void testHeaderClassMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassMember.kt"); + } + + @Test + @TestMetadata("headerClassWithFunctionBody.kt") + public void testHeaderClassWithFunctionBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassWithFunctionBody.kt"); + } + + @Test + @TestMetadata("implDataClass.kt") + public void testImplDataClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/implDataClass.kt"); + } + + @Test + @TestMetadata("implOpenClass.kt") + public void testImplOpenClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/implOpenClass.kt"); + } + + @Test + @TestMetadata("inheritanceByDelegationInExpectClass.kt") + public void testInheritanceByDelegationInExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/inheritanceByDelegationInExpectClass.kt"); + } + + @Test + @TestMetadata("memberPropertyKinds.kt") + public void testMemberPropertyKinds() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/memberPropertyKinds.kt"); + } + + @Test + @TestMetadata("modalityCheckForExplicitAndImplicitOverride.kt") + public void testModalityCheckForExplicitAndImplicitOverride() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/modalityCheckForExplicitAndImplicitOverride.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActual.kt") + public void testMorePermissiveVisibilityOnActual() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActual.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActualViaTypeAlias_finalMember.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias_finalMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_finalMember.kt"); + } + + @Test + @TestMetadata("morePermissiveVisibilityOnActualViaTypeAlias_openMember.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias_openMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_openMember.kt"); + } + + @Test + @TestMetadata("nestedClasses.kt") + public void testNestedClasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClasses.kt"); + } + + @Test + @TestMetadata("nestedClassesWithErrors.kt") + public void testNestedClassesWithErrors() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.kt"); + } + + @Test + @TestMetadata("noImplKeywordOnMember.kt") + public void testNoImplKeywordOnMember() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/noImplKeywordOnMember.kt"); + } + + @Test + @TestMetadata("privateMembers.kt") + public void testPrivateMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/privateMembers.kt"); + } + + @Test + @TestMetadata("simpleHeaderClass.kt") + public void testSimpleHeaderClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/simpleHeaderClass.kt"); + } + + @Test + @TestMetadata("smartCastOnExpectClass.kt") + public void testSmartCastOnExpectClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/smartCastOnExpectClass.kt"); + } + + @Test + @TestMetadata("superClass.kt") + public void testSuperClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/superClass.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp") + @TestDataPath("$PROJECT_ROOT") + public class Hmpp { + @Test + public void testAllFilesPresentInHmpp() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("intermediateActualHasAdditionalSupertypes.kt") + public void testIntermediateActualHasAdditionalSupertypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/intermediateActualHasAdditionalSupertypes.kt"); + } + + @Test + @TestMetadata("kt57320.kt") + public void testKt57320() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/kt57320.kt"); + } + + @Test + @TestMetadata("kt-55570.kt") + public void testKt_55570() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/kt-55570.kt"); + } + + @Test + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/simple.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis") + @TestDataPath("$PROJECT_ROOT") + public class MultiplatformCompositeAnalysis { + @Test + public void testAllFilesPresentInMultiplatformCompositeAnalysis() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectAndActualInTheSameModule.kt") + public void testExpectAndActualInTheSameModule() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt"); + } + + @Test + @TestMetadata("expectAndActualInTheSameModuleIncompatibilities.kt") + public void testExpectAndActualInTheSameModuleIncompatibilities() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.kt"); + } + + @Test + @TestMetadata("intermediateWithActualAndExpect.kt") + public void testIntermediateWithActualAndExpect() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/intermediateWithActualAndExpect.kt"); + } + + @Test + @TestMetadata("sealedInheritorsInComplexModuleStructure.kt") + public void testSealedInheritorsInComplexModuleStructure() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/sealedInheritorsInComplexModuleStructure.kt"); + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching") + @TestDataPath("$PROJECT_ROOT") + public class AnnotationMatching { + @Test + public void testAllFilesPresentInAnnotationMatching() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("sourceRetentionAnnotationsWhenTypealias.kt") + public void testSourceRetentionAnnotationsWhenTypealias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/sourceRetentionAnnotationsWhenTypealias.kt"); + } + + @Test + @TestMetadata("typealiasToJavaWithAnnotationArgument.kt") + public void testTypealiasToJavaWithAnnotationArgument() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasToJavaWithAnnotationArgument.kt"); + } + + @Test + @TestMetadata("typealiasedAnnotation.kt") + public void testTypealiasedAnnotation() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotation.kt"); + } + + @Test + @TestMetadata("typealiasedAnnotationAsArgument.kt") + public void testTypealiasedAnnotationAsArgument() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotationAsArgument.kt"); + } + + @Test + @TestMetadata("typealiasedAsKClassArg.kt") + public void testTypealiasedAsKClassArg() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAsKClassArg.kt"); + } + } + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/inlineClasses") + @TestDataPath("$PROJECT_ROOT") + public class InlineClasses { + @Test + public void testAllFilesPresentInInlineClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/inlineClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("expectActualInlineClass.kt") + public void testExpectActualInlineClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/inlineClasses/expectActualInlineClass.kt"); + } + + @Test + @TestMetadata("jvmInlineExpectValueClass.kt") + public void testJvmInlineExpectValueClass() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/inlineClasses/jvmInlineExpectValueClass.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/java") + @TestDataPath("$PROJECT_ROOT") + public class Java { + @Test + public void testAllFilesPresentInJava() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/java"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("flexibleTypes.kt") + public void testFlexibleTypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt"); + } + + @Test + @TestMetadata("implicitJavaActualizationAllowed.kt") + public void testImplicitJavaActualizationAllowed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationAllowed.kt"); + } + + @Test + @TestMetadata("implicitJavaActualizationDisallowed.kt") + public void testImplicitJavaActualizationDisallowed() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationDisallowed.kt"); + } + + @Test + @TestMetadata("implicitJavaActualization_multipleActuals.kt") + public void testImplicitJavaActualization_multipleActuals() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_multipleActuals.kt"); + } + + @Test + @TestMetadata("implicitJavaActualization_oldLanguageVersion.kt") + public void testImplicitJavaActualization_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("inheritedJavaMembers.kt") + public void testInheritedJavaMembers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/inheritedJavaMembers.kt"); + } + + @Test + @TestMetadata("parameterNames.kt") + public void testParameterNames() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/smartCasts") + @TestDataPath("$PROJECT_ROOT") + public class SmartCasts { + @Test + public void testAllFilesPresentInSmartCasts() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("kt61340_commonCode.kt") + public void testKt61340_commonCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartCasts/kt61340_commonCode.kt"); + } + + @Test + @TestMetadata("kt61340_platformCode.kt") + public void testKt61340_platformCode() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/smartCasts/kt61340_platformCode.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelFun") + @TestDataPath("$PROJECT_ROOT") + public class TopLevelFun { + @Test + public void testAllFilesPresentInTopLevelFun() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/topLevelFun"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("callHeaderFun.kt") + public void testCallHeaderFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callHeaderFun.kt"); + } + + @Test + @TestMetadata("callableReferenceOnExpectFun.kt") + public void testCallableReferenceOnExpectFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt"); + } + + @Test + @TestMetadata("conflictingHeaderDeclarations.kt") + public void testConflictingHeaderDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingHeaderDeclarations.kt"); + } + + @Test + @TestMetadata("conflictingImplDeclarations.kt") + public void testConflictingImplDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingImplDeclarations.kt"); + } + + @Test + @TestMetadata("functionModifiers.kt") + public void testFunctionModifiers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/functionModifiers.kt"); + } + + @Test + @TestMetadata("headerAndImplInDIfferentPackages.kt") + public void testHeaderAndImplInDIfferentPackages() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.kt"); + } + + @Test + @TestMetadata("headerDeclarationWithBody.kt") + public void testHeaderDeclarationWithBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.kt"); + } + + @Test + @TestMetadata("headerWithoutImpl.kt") + public void testHeaderWithoutImpl() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerWithoutImpl.kt"); + } + + @Test + @TestMetadata("implDeclarationWithoutBody.kt") + public void testImplDeclarationWithoutBody() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/implDeclarationWithoutBody.kt"); + } + + @Test + @TestMetadata("implWithoutHeader.kt") + public void testImplWithoutHeader() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/implWithoutHeader.kt"); + } + + @Test + @TestMetadata("inlineFun.kt") + public void testInlineFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/inlineFun.kt"); + } + + @Test + @TestMetadata("simpleHeaderFun.kt") + public void testSimpleHeaderFun() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/simpleHeaderFun.kt"); + } + + @Test + @TestMetadata("valueParameterModifiers.kt") + public void testValueParameterModifiers() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty") + @TestDataPath("$PROJECT_ROOT") + public class TopLevelProperty { + @Test + public void testAllFilesPresentInTopLevelProperty() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + + @Test + @TestMetadata("differentKindsOfProperties.kt") + public void testDifferentKindsOfProperties() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.kt"); + } + + @Test + @TestMetadata("simpleHeaderVar.kt") + public void testSimpleHeaderVar() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/simpleHeaderVar.kt"); + } + } + + @Nested + @TestMetadata("compiler/testData/diagnostics/tests/multiplatform/typealias") + @TestDataPath("$PROJECT_ROOT") + public class Typealias { + @Test + @TestMetadata("actualTypealiasToNothing.kt") + public void testActualTypealiasToNothing() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNothing_oldLanguageVersion.kt") + public void testActualTypealiasToNothing_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing_oldLanguageVersion.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNullableType.kt") + public void testActualTypealiasToNullableType() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNullableType.kt"); + } + + @Test + @TestMetadata("actualTypealiasToNullableType_oldLanguageVersion.kt") + public void testActualTypealiasToNullableType_oldLanguageVersion() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNullableType_oldLanguageVersion.kt"); + } + + @Test + public void testAllFilesPresentInTypealias() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + } + } + } + @Nested @TestMetadata("compiler/testData/diagnostics/tests/namedArguments") @TestDataPath("$PROJECT_ROOT") public class NamedArguments { @Test public void testAllFilesPresentInNamedArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23530,7 +25518,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class MixedNamedPosition { @Test public void testAllFilesPresentInMixedNamedPosition() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23577,7 +25565,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NullabilityAndSmartCasts { @Test public void testAllFilesPresentInNullabilityAndSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23821,7 +25809,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NullableTypes { @Test public void testAllFilesPresentInNullableTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -23945,7 +25933,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Numbers { @Test public void testAllFilesPresentInNumbers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24039,7 +26027,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Objects { @Test public void testAllFilesPresentInObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24132,7 +26120,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Kt21515 { @Test public void testAllFilesPresentInKt21515() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24293,7 +26281,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OperatorRem { @Test public void testAllFilesPresentInOperatorRem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24411,7 +26399,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OperatorsOverloading { @Test public void testAllFilesPresentInOperatorsOverloading() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24564,7 +26552,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24599,7 +26587,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Overload { @Test public void testAllFilesPresentInOverload() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24812,7 +26800,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NoConflictingOverloadsWithDeprecated { @Test public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -24919,7 +26907,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25288,7 +27276,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ClashesOnInheritance { @Test public void testAllFilesPresentInClashesOnInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25382,7 +27370,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DerivedClasses { @Test public void testAllFilesPresentInDerivedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25428,7 +27416,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ParameterNames { @Test public void testAllFilesPresentInParameterNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25492,7 +27480,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25527,7 +27515,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ParenthesizedTypes { @Test public void testAllFilesPresentInParenthesizedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25555,7 +27543,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PlatformTypes { @Test public void testAllFilesPresentInPlatformTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25690,7 +27678,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CommonSupertype { @Test public void testAllFilesPresentInCommonSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25748,7 +27736,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class GenericVarianceViolation { @Test public void testAllFilesPresentInGenericVarianceViolation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25836,7 +27824,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class MethodCall { @Test public void testAllFilesPresentInMethodCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -25966,7 +27954,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NotNullTypeParameter { @Test public void testAllFilesPresentInNotNullTypeParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26024,7 +28012,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NullabilityWarnings { @Test public void testAllFilesPresentInNullabilityWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26220,7 +28208,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26434,7 +28422,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TypeEnhancement { @Test public void testAllFilesPresentInTypeEnhancement() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26475,7 +28463,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class PrivateInFile { @Test public void testAllFilesPresentInPrivateInFile() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26509,7 +28497,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26572,7 +28560,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26588,7 +28576,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class InferenceFromGetters { @Test public void testAllFilesPresentInInferenceFromGetters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26665,7 +28653,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26735,7 +28723,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26757,7 +28745,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInReassignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26821,7 +28809,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInRecovery() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -26855,7 +28843,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Redeclarations { @Test public void testAllFilesPresentInRedeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -27056,7 +29044,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ShadowedExtension { @Test public void testAllFilesPresentInShadowedExtension() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -27151,7 +29139,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28126,7 +30114,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Kt7585 { @Test public void testAllFilesPresentInKt7585() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28155,7 +30143,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Resolve { @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28416,7 +30404,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class DslMarker { @Test public void testAllFilesPresentInDslMarker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28594,7 +30582,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28813,7 +30801,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Errors { @Test public void testAllFilesPresentInErrors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28872,7 +30860,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28936,7 +30924,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class NoCandidates { @Test public void testAllFilesPresentInNoCandidates() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -28964,7 +30952,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OverloadConflicts { @Test public void testAllFilesPresentInOverloadConflicts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29106,7 +31094,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Priority { @Test public void testAllFilesPresentInPriority() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29200,7 +31188,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SpecialConstructions { @Test public void testAllFilesPresentInSpecialConstructions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29247,7 +31235,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SafeCalls { @Test public void testAllFilesPresentInSafeCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29269,7 +31257,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SamConversions { @Test public void testAllFilesPresentInSamConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29441,7 +31429,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Scopes { @Test public void testAllFilesPresentInScopes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29696,7 +31684,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ClassHeader { @Test public void testAllFilesPresentInClassHeader() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29790,7 +31778,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -29883,7 +31871,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30018,7 +32006,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInCompanionObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30066,7 +32054,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ProtectedVisibility { @Test public void testAllFilesPresentInProtectedVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30184,7 +32172,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class VariantProjections { @Test public void testAllFilesPresentInVariantProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/variantProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/variantProjections"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30219,7 +32207,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInScript() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30331,7 +32319,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Sealed { @Test public void testAllFilesPresentInSealed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30634,7 +32622,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Interfaces { @Test public void testAllFilesPresentInInterfaces() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30669,7 +32657,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SecondaryConstructors { @Test public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -30966,7 +32954,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInHeaderCallChecker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31067,7 +33055,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SenselessComparison { @Test public void testAllFilesPresentInSenselessComparison() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31095,7 +33083,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Shadowing { @Test public void testAllFilesPresentInShadowing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -31183,7 +33171,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32002,7 +33990,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Castchecks { @Test public void testAllFilesPresentInCastchecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32060,7 +34048,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Elvis { @Test public void testAllFilesPresentInElvis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32088,7 +34076,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32206,7 +34194,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class IntersectionScope { @Test public void testAllFilesPresentInIntersectionScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32312,7 +34300,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Loops { @Test public void testAllFilesPresentInLoops() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32652,7 +34640,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ObjectLiterals { @Test public void testAllFilesPresentInObjectLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32716,7 +34704,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInPublicVals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32792,7 +34780,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Safecalls { @Test public void testAllFilesPresentInSafecalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -32988,7 +34976,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33202,7 +35190,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Varnotnull { @Test public void testAllFilesPresentInVarnotnull() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33531,7 +35519,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SourceCompatibility { @Test public void testAllFilesPresentInSourceCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33552,7 +35540,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ApiVersion { @Test public void testAllFilesPresentInApiVersion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33629,7 +35617,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33669,7 +35657,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Subtyping { @Test public void testAllFilesPresentInSubtyping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33817,7 +35805,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Suppress { @Test public void testAllFilesPresentInSuppress() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -33826,7 +35814,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class AllWarnings { @Test public void testAllFilesPresentInAllWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33896,7 +35884,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ManyWarnings { @Test public void testAllFilesPresentInManyWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -33960,7 +35948,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class OneWarning { @Test public void testAllFilesPresentInOneWarning() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34049,7 +36037,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34161,7 +36149,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Syntax { @Test public void testAllFilesPresentInSyntax() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34189,7 +36177,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SyntheticExtensions { @Test public void testAllFilesPresentInSyntheticExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -34204,7 +36192,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInJavaProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34406,7 +36394,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SamAdapters { @Test public void testAllFilesPresentInSamAdapters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34507,7 +36495,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TargetedBuiltIns { @Test public void testAllFilesPresentInTargetedBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34552,7 +36540,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class BackwardCompatibility { @Test public void testAllFilesPresentInBackwardCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34605,7 +36593,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TestWithModifiedMockJdk { @Test public void testAllFilesPresentInTestWithModifiedMockJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34633,7 +36621,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TestsWithExplicitApi { @Test public void testAllFilesPresentInTestsWithExplicitApi() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34721,7 +36709,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TestsWithJava17 { @Test public void testAllFilesPresentInTestsWithJava17() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -34730,7 +36718,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class JvmRecord { @Test public void testAllFilesPresentInJvmRecord() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34812,7 +36800,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class SealedClasses { @Test public void testAllFilesPresentInSealedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34853,7 +36841,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ThisAndSuper { @Test public void testAllFilesPresentInThisAndSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -34964,7 +36952,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnqualifiedSuper { @Test public void testAllFilesPresentInUnqualifiedSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35053,7 +37041,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TraitWithRequired { @Test public void testAllFilesPresentInTraitWithRequired() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35075,7 +37063,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35271,7 +37259,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInTypealias() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35905,7 +37893,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnderscoresInNumericLiterals { @Test public void testAllFilesPresentInUnderscoresInNumericLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35921,7 +37909,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -35937,7 +37925,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnitConversion { @Test public void testAllFilesPresentInUnitConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36007,7 +37995,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class UnsignedTypes { @Test public void testAllFilesPresentInUnsignedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36082,7 +38070,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Conversions { @Test public void testAllFilesPresentInConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36135,7 +38123,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class ValueClasses { @Test public void testAllFilesPresentInValueClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36331,7 +38319,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Varargs { @Test public void testAllFilesPresentInVarargs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36557,7 +38545,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class Variance { @Test public void testAllFilesPresentInVariance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36644,7 +38632,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInPrivateToThis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36697,7 +38685,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated @Test public void testAllFilesPresentInVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36893,7 +38881,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class WarningsForBreakingChanges { @Test public void testAllFilesPresentInWarningsForBreakingChanges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Nested @@ -36902,7 +38890,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -36931,7 +38919,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class When { @Test public void testAllFilesPresentInWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test @@ -37462,7 +39450,7 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated public class WithSubjectVariable { @Test public void testAllFilesPresentInWithSubjectVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); } @Test diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/actualInnerClassMissingMember.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/actualInnerClassMissingMember.ll.kt new file mode 100644 index 00000000000..66d03881844 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/actualInnerClassMissingMember.ll.kt @@ -0,0 +1,21 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class A { + class B { + @Ann + fun foo() + fun missingOnActual() + } +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +class AImpl { + class B { + fun foo() {} + } +} + +actual typealias A = AImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgRendering.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgRendering.ll.kt new file mode 100644 index 00000000000..5cca8ea1bde --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgRendering.ll.kt @@ -0,0 +1,22 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) +expect annotation class Ann + +@Target(AnnotationTarget.TYPE, AnnotationTarget.FUNCTION) +annotation class Ann2(val s: String) + +@Ann2("1" + "2") +expect fun stringConcat() + +expect fun onType(): @Ann2("") Any? + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual annotation class Ann + +actual fun stringConcat() {} + +// Not reported in K1, because supported starting from K2 +actual fun onType(): Any? = null diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsConstExpressions.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsConstExpressions.ll.kt new file mode 100644 index 00000000000..49ce13342d6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsConstExpressions.ll.kt @@ -0,0 +1,138 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +package test + +import kotlin.reflect.KClass + +annotation class ClassArgAnn(val clazz: KClass<*>) + +class ClassForReference { + class ClassForReference +} + +@ClassArgAnn(ClassForReference::class) +expect fun getClassExpression() + +@ClassArgAnn(ClassForReference.ClassForReference::class) +expect fun differentClassesWithSameName() + +annotation class StringArgAnn(val s: String) + +@StringArgAnn("1.9") +expect fun stringConstant() + +@StringArgAnn("1" + ".9") +expect fun stringConcatentation() + +object Constants { + const val STR = "1" +} + +@StringArgAnn(Constants.STR) +expect fun constantFromInsideObject() + +@StringArgAnn(Constants.STR + ".9") +expect fun stringConcatentationWithProperty() + +enum class MyEnum { FOO, BAR } + +annotation class EnumArgAnn(val e: MyEnum) + +@EnumArgAnn(MyEnum.FOO) +expect fun enumArg() + +annotation class VarargAnn(vararg val strings: String) + +@VarargAnn("foo", "bar") +expect fun varargInAnnotation() + +@VarargAnn(*["foo", "bar"]) +expect fun varargInAnnotationWithArraySpread() + +annotation class ArrayArgAnn(val strings: Array) + +@ArrayArgAnn(["foo", "bar"]) +expect fun arrayInAnnotation() + +@ArrayArgAnn(["foo", "bar"]) +expect fun arrayInAnnotationNotMatch() + +annotation class NestedAnnArg(val text: String, vararg val children: NestedAnnArg) + +@NestedAnnArg( + text = "root", + NestedAnnArg("1"), + NestedAnnArg("2", + NestedAnnArg("2.1"), + NestedAnnArg("2.2") + ) +) +expect fun complexNestedAnnotations() + +@NestedAnnArg( + text = "root", + NestedAnnArg("1"), + NestedAnnArg("2", + NestedAnnArg("2.1"), + NestedAnnArg("2.2") + ) +) +expect fun complexNestedAnnotationsNotMatch() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +package test + +@ClassArgAnn(ClassForReference::class) +actual fun getClassExpression() {} + +@ClassArgAnn(ClassForReference::class) +actual fun differentClassesWithSameName() {} + +@StringArgAnn("1.9") +actual fun stringConstant() {} + +@StringArgAnn("1.9") +actual fun stringConcatentation() {} + +@StringArgAnn("1") +actual fun constantFromInsideObject() {} + +@StringArgAnn("1.9") +actual fun stringConcatentationWithProperty() {} + +@EnumArgAnn(MyEnum.FOO) +actual fun enumArg() {} + +@VarargAnn("foo", "bar") +actual fun varargInAnnotation() {} + +@VarargAnn("foo", "bar") +actual fun varargInAnnotationWithArraySpread() {} + +@ArrayArgAnn(arrayOf("foo", "bar")) +actual fun arrayInAnnotation() {} + +@ArrayArgAnn(["foo"]) +actual fun arrayInAnnotationNotMatch() {} + +@NestedAnnArg( + text = "root", + NestedAnnArg("1"), + NestedAnnArg("2", + NestedAnnArg("2.1"), + NestedAnnArg("2.2") + ) +) +actual fun complexNestedAnnotations() {} + +@NestedAnnArg( + text = "root", + NestedAnnArg("1"), + NestedAnnArg("2", + NestedAnnArg("2.1"), + NestedAnnArg("DIFFERENT") + ) +) +actual fun complexNestedAnnotationsNotMatch() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsDefaults.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsDefaults.ll.kt new file mode 100644 index 00000000000..be1daa3a13e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationArgumentsDefaults.ll.kt @@ -0,0 +1,11 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann(val p: String = "") +@Ann("") +expect fun explicitDefaultArgument() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +// No special handling for this case +@Ann +actual fun explicitDefaultArgument() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTarget.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTarget.ll.kt new file mode 100644 index 00000000000..577a9ce58b7 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTarget.ll.kt @@ -0,0 +1,33 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) +expect annotation class ExpectIsSubsetOfActual + +@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) +expect annotation class ExpectIsSubsetOfActualDifferentOrder + +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) +expect annotation class MoreTargetsOnExpect + +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) +expect annotation class RepeatedTargetsInExpect + +@Target(allowedTargets = []) +expect annotation class EmptyTargetsActual + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.CLASS) +actual annotation class ExpectIsSubsetOfActual + +@Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.CLASS) +actual annotation class ExpectIsSubsetOfActualDifferentOrder + +@Target(AnnotationTarget.FUNCTION) +actual annotation class MoreTargetsOnExpect + +@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS, AnnotationTarget.TYPEALIAS) +actual annotation class RepeatedTargetsInExpect + +@Target(AnnotationTarget.FUNCTION) +actual annotation class EmptyTargetsActual diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTypeParameters.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTypeParameters.ll.kt new file mode 100644 index 00000000000..a4f45fad3c5 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/annotationTypeParameters.ll.kt @@ -0,0 +1,101 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +class A +class B +private object FakeA { + class A +} + +@Ann +expect fun sameTypeParam() + +@Ann +expect fun differentTypeParam() + +@Ann +expect fun differentWithSameName() + +@Ann +expect fun nonNullvsNull() + +@Ann> +expect fun differentVariance() + +@Ann> +expect fun varianceVsNoVariance() + +@Ann> +expect fun sameVariance() + +@Ann> +expect fun startProjection() + +annotation class ComplexNested( + vararg val anns: ComplexNested<*>, +) + +@ComplexNested( + ComplexNested(), + ComplexNested(), +) +expect fun complexSame() + +@ComplexNested( + ComplexNested(), + ComplexNested(), +) +expect fun complexDiffer() + +annotation class NestedWithSameTypeArgument( + vararg val anns: NestedWithSameTypeArgument +) + +@NestedWithSameTypeArgument( + NestedWithSameTypeArgument() +) +expect fun explicitVsInfered() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@Ann +actual fun sameTypeParam() {} + +@Ann +actual fun differentTypeParam() {} + +@Ann +actual fun differentWithSameName() {} + +@Ann +actual fun nonNullvsNull() {} + +@Ann> +actual fun differentVariance() {} + +@Ann> +actual fun varianceVsNoVariance() {} + +@Ann> +actual fun sameVariance() {} + +@Ann> +actual fun startProjection() {} + +@ComplexNested( + ComplexNested(), + ComplexNested(), +) +actual fun complexSame() {} + +@ComplexNested( + ComplexNested(), + ComplexNested(), +) +actual fun complexDiffer() {} + +@NestedWithSameTypeArgument( + NestedWithSameTypeArgument() +) +actual fun explicitVsInfered() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/basicOnDeclaration.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/basicOnDeclaration.ll.kt new file mode 100644 index 00000000000..24b5ad2d430 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/basicOnDeclaration.ll.kt @@ -0,0 +1,41 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +@Ann +expect class AnnotationMatching + +@Ann +expect class AnnotationOnExpectOnly + +expect class AnnotationOnActualOnly + +expect class AnnotationInside { + @Ann + fun matches() + + @Ann + fun onlyOnExpect() + + fun onlyOnActual() +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@Ann +actual class AnnotationMatching + +actual class AnnotationOnExpectOnly + +@Ann +actual class AnnotationOnActualOnly + +actual class AnnotationInside { + @Ann + actual fun matches() {} + + actual fun onlyOnExpect() {} + + @Ann + actual fun onlyOnActual() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.fir.diag.txt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.fir.diag.txt new file mode 100644 index 00000000000..65032dfacd0 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.fir.diag.txt @@ -0,0 +1,26 @@ +/jvm.kt:(106,113): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'class OnClass : Any' must be present with the same arguments on actual 'class OnClass : Any', otherwise they might behave incorrectly. + +/jvm.kt:(154,162): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'fun onMember(): Unit' must be present with the same arguments on actual 'fun onMember(): Unit', otherwise they might behave incorrectly. + +/jvm.kt:(212,224): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'class ViaTypealias : Any' must be present with the same arguments on actual 'class ViaTypealiasImpl : Any', otherwise they might behave incorrectly. + +/jvm.kt:(317,340): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'fun foo(): Unit' must be present with the same arguments on actual 'fun foo(): Unit', otherwise they might behave incorrectly. + +/jvm.kt:(405,421): warning: Annotation `@WithArg(s = String(str))` has different arguments on actual declaration: `@WithArg(s = String(other str))`. +All annotations from expect 'fun withDifferentArg(): Unit' must be present with the same arguments on actual 'fun withDifferentArg(): Unit', otherwise they might behave incorrectly. + +/jvm.kt:(439,451): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'fun inValueParam(arg: String): Unit' must be present with the same arguments on actual 'fun inValueParam(arg: String): Unit', otherwise they might behave incorrectly. + +/jvm.kt:(484,495): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'fun inTypeParam(): Unit' must be present with the same arguments on actual 'fun inTypeParam(): Unit', otherwise they might behave incorrectly. + +/jvm.kt:(513,521): warning: Annotation `@PROPERTY_GETTER:Ann()` is missing on actual declaration. +All annotations from expect 'val onGetter: String get(): String' must be present with the same arguments on actual 'val onGetter: String get(): String', otherwise they might behave incorrectly. + +/jvm.kt:(547,553): warning: Annotation `@Ann()` is missing on actual declaration. +All annotations from expect 'fun onType(param: @Ann() Any): Unit' must be present with the same arguments on actual 'fun onType(param: Any): Unit', otherwise they might behave incorrectly. diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.kt new file mode 100644 index 00000000000..8afbc683967 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/checkDiagnosticFullText.ll.kt @@ -0,0 +1,71 @@ +// RENDER_DIAGNOSTICS_FULL_TEXT +// MODULE: m1-common +// FILE: common.kt +@Target( + AnnotationTarget.FUNCTION, + AnnotationTarget.CLASS, + AnnotationTarget.VALUE_PARAMETER, + AnnotationTarget.TYPE_PARAMETER, + AnnotationTarget.PROPERTY_GETTER, + AnnotationTarget.PROPERTY_SETTER, + AnnotationTarget.TYPE, +) +annotation class Ann + +@Ann +expect class OnClass + +expect class OnMember { + @Ann + fun onMember() +} + +@Ann +expect class ViaTypealias + +expect class MemberScopeViaTypealias { + @Ann + fun foo() +} + +annotation class WithArg(val s: String) + +@WithArg("str") +expect fun withDifferentArg() + +expect fun inValueParam(@Ann arg: String) + +expect fun <@Ann T> inTypeParam() + +@get:Ann +expect val onGetter: String + +expect fun onType(param: @Ann Any) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual class OnClass + +actual class OnMember { + actual fun onMember() {} +} + +class ViaTypealiasImpl + +actual typealias ViaTypealias = ViaTypealiasImpl + +class MemberScopeViaTypealiasImpl { + fun foo() {} +} +actual typealias MemberScopeViaTypealias = MemberScopeViaTypealiasImpl + +@WithArg("other str") +actual fun withDifferentArg() {} + +actual fun inValueParam(arg: String) {} + +actual fun inTypeParam() {} + +actual val onGetter: String = "" + +actual fun onType(param: Any) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeInnerClasses.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeInnerClasses.ll.kt new file mode 100644 index 00000000000..6ca419d53e3 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeInnerClasses.ll.kt @@ -0,0 +1,22 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class A { + class B { + class C { + @Ann + fun foo() + } + } +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual class A { + actual class B { + actual class C { + actual fun foo() {} + } + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeViaTypealiasIncompatible.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeViaTypealiasIncompatible.ll.kt new file mode 100644 index 00000000000..0e2b21d8da9 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/classScopeViaTypealiasIncompatible.ll.kt @@ -0,0 +1,28 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class WeakIncompatibility { + @Ann + fun foo(p: String) +} + +expect class StrongIncompatibility { + @Ann + fun foo(p: Int) +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +class WeakIncompatibilityImpl { + fun foo(differentName: String) {} +} + +// TODO: Duplicated diagnostic will be fixed in KT-62559 +actual typealias WeakIncompatibility = WeakIncompatibilityImpl + +class StrongIncompatibilityImpl { + fun foo(p: String) {} // Different param type +} + +actual typealias StrongIncompatibility = StrongIncompatibilityImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/compatibleOverrides.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/compatibleOverrides.ll.kt new file mode 100644 index 00000000000..4f2604e7185 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/compatibleOverrides.ll.kt @@ -0,0 +1,18 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class CompatibleOverrides { + fun foo() + + @Ann + fun foo(withArg: Any) +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual class CompatibleOverrides { + actual fun foo() {} + + actual fun foo(withArg: Any) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/defaultValueParametersRendering.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/defaultValueParametersRendering.ll.kt new file mode 100644 index 00000000000..ec40c3c504b --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/defaultValueParametersRendering.ll.kt @@ -0,0 +1,10 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +@Ann +expect fun foo(p: Array = arrayOf()) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun = ...): Unit; fun foo(p: Array): Unit; Annotation `@Ann()` is missing on actual declaration")!>foo(p: Array) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/differentOrder.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/differentOrder.ll.kt new file mode 100644 index 00000000000..f7c74f21805 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/differentOrder.ll.kt @@ -0,0 +1,31 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann1 +annotation class Ann2 + +@Ann1 +@Ann2 +expect class AnnotationOrder + +annotation class Ann3(vararg val numbers: Int) + +@Ann3(1, 2) +expect class ValuesOrderInsideAnnotationArgument + +annotation class Ann4(val arg1: String, val arg2: String) + +@Ann4(arg1 = "1", arg2 = "2") +expect fun differentArgumentsOrder() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +@Ann2 +@Ann1 +actual class AnnotationOrder + +@Ann3(2, 1) +actual class ValuesOrderInsideAnnotationArgument + +@Ann4(arg2 = "2", arg1 = "1") +actual fun differentArgumentsOrder() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/enumEntries.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/enumEntries.ll.kt new file mode 100644 index 00000000000..d7fb6c9d32e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/enumEntries.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect enum class E { + @Ann + FOO, + MISSING_ON_ACTUAL +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual enum class E { + FOO +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/fakeOverrides.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/fakeOverrides.ll.kt new file mode 100644 index 00000000000..e53379cda2d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/fakeOverrides.ll.kt @@ -0,0 +1,31 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +abstract class A { + @Ann + open fun noAnnotationOnActual() {} +} + +expect class FakeOverrideExpect : A + +interface I { + fun noAnnotationOnActual() +} + +expect class FakeOverrideActual : I { + @Ann + override fun noAnnotationOnActual() +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual class FakeOverrideExpect : A() { + override fun noAnnotationOnActual() {} +} + +abstract class Intermediate : I { + override fun noAnnotationOnActual() {} +} + +actual class FakeOverrideActual : Intermediate(), I diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/floatNumbersComparison.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/floatNumbersComparison.ll.kt new file mode 100644 index 00000000000..6496873cb1d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/floatNumbersComparison.ll.kt @@ -0,0 +1,11 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann(val p: Double) + +@Ann(0.3) +expect fun floatNumbersComparison() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@Ann(0.1 + 0.1 + 0.1) +actual fun floatNumbersComparison() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/gettersAndSetters.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/gettersAndSetters.ll.kt new file mode 100644 index 00000000000..7726ef94f3d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/gettersAndSetters.ll.kt @@ -0,0 +1,42 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER) +annotation class Ann + +expect val onGetter: String + @Ann get + +expect val onGetterImplicit: String + @Ann get + +@get:Ann +expect val onGetterWithExplicitTarget: String + +@get:Ann +expect val explicitTargetMatchesWithoutTarget: String + +@get:Ann +expect val setOnPropertyWithoutTargetNotMatch: String + +expect var onSetter: String + @Ann set + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual val onGetter: String + get() = "" + +actual val onGetterImplicit: String = "" + +actual val onGetterWithExplicitTarget: String + get() = "" + +actual val explicitTargetMatchesWithoutTarget: String + @Ann get() = "" + +@Ann +actual val setOnPropertyWithoutTargetNotMatch: String = "" + +actual var onSetter: String + get() = "" + set(_) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/intrinsicConstEvaluation.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/intrinsicConstEvaluation.ll.kt new file mode 100644 index 00000000000..d32bcdf3ba5 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/intrinsicConstEvaluation.ll.kt @@ -0,0 +1,22 @@ +// !LANGUAGE: +IntrinsicConstEvaluation +// MODULE: m1-common +// FILE: common.kt +enum class MyEnum { + FOO +} + +annotation class Ann(val p: String) + +@Ann("FOO") +expect fun matching() + +@Ann("not FOO") +expect fun nonMatching() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@Ann(MyEnum.FOO.name) +actual fun matching() {} + +@Ann(MyEnum.FOO.name) +actual fun nonMatching() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableWithArg.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableWithArg.ll.kt new file mode 100644 index 00000000000..5f385812990 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/repeatableWithArg.ll.kt @@ -0,0 +1,40 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +@Repeatable +annotation class AnnWithArg(val s: String) + +@AnnWithArg(s = "1") +@AnnWithArg(s = "2") +expect fun diffentOrder() + +@AnnWithArg(s = "1") +@AnnWithArg(s = "2") +@AnnWithArg(s = "3") +expect fun withDifferentArgLessOnActual() + +@AnnWithArg(s = "1") +@AnnWithArg(s = "3") +expect fun withDifferentArgLessOnExpect() + +@AnnWithArg(s = "1") +@AnnWithArg(s = "1") +expect fun withSameArgLessOnActual() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +@AnnWithArg(s = "1") +@AnnWithArg(s = "2") +actual fun diffentOrder() {} + +@AnnWithArg(s = "1") +@AnnWithArg(s = "3") +actual fun withDifferentArgLessOnActual() {} + +@AnnWithArg(s = "1") +@AnnWithArg(s = "2") +@AnnWithArg(s = "3") +actual fun withDifferentArgLessOnExpect() {} + +@AnnWithArg(s = "1") +actual fun withSameArgLessOnActual() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/skippedAnnotations.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/skippedAnnotations.ll.kt new file mode 100644 index 00000000000..4a6dd11f197 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/skippedAnnotations.ll.kt @@ -0,0 +1,36 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +package kotlin + +@OptIn(ExperimentalMultiplatform::class) +@OptionalExpectation +expect annotation class OptionalExpectationOnExpectOnly + +@RequiresOptIn +annotation class MyOptIn + +@SinceKotlin("1.8") +@Deprecated(message = "Some text") +@DeprecatedSinceKotlin("1.8") +@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") +@MyOptIn +@WasExperimental(MyOptIn::class) +@kotlin.internal.RequireKotlin(version = "1.8") +@OptIn(MyOptIn::class) +expect fun skippedAnnotationsOnExpectOnly() + +@OptIn(ExperimentalMultiplatform::class) +@kotlin.jvm.ImplicitlyActualizedByJvmDeclaration +expect class ImplicitlyActualizedByJvmDeclarationOnExpectOnly + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +package kotlin + +@OptIn(ExperimentalMultiplatform::class) +actual annotation class OptionalExpectationOnExpectOnly + +actual fun skippedAnnotationsOnExpectOnly() {} + +actual class ImplicitlyActualizedByJvmDeclarationOnExpectOnly diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/sourceRetentionAnnotationsWhenTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/sourceRetentionAnnotationsWhenTypealias.ll.kt new file mode 100644 index 00000000000..d55ccc08beb --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/sourceRetentionAnnotationsWhenTypealias.ll.kt @@ -0,0 +1,25 @@ +// WITH_STDLIB +// DIAGNOSTICS: -ACTUAL_TYPEALIAS_TO_SPECIAL_ANNOTATION +// MODULE: m1-common +// FILE: common.kt +@Retention(AnnotationRetention.SOURCE) +annotation class Ann + +@Ann +expect class SourceAvailable { + @Ann + fun foo() +} + +@Ann +expect annotation class FromLib + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +class SourceAvailableImpl { + fun foo() {} +} + +actual typealias SourceAvailable = SourceAvailableImpl + +actual typealias FromLib = kotlin.SinceKotlin diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/substitutionOverrideInTwoClasses.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/substitutionOverrideInTwoClasses.ll.kt new file mode 100644 index 00000000000..9dce5ad1acd --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/substitutionOverrideInTwoClasses.ll.kt @@ -0,0 +1,24 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class WithAnn { + @Ann + fun foo(p: String) +} + +expect class WithoutAnn { + fun foo(p: String) +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +abstract class Parent { + open fun foo(p: T) {} +} + +abstract class Intermediate : Parent() + +actual class WithAnn : Intermediate() + +actual class WithoutAnn : Intermediate() diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/twoActualTypealiasesToSameClass.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/twoActualTypealiasesToSameClass.ll.kt new file mode 100644 index 00000000000..fd9c26265db --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/twoActualTypealiasesToSameClass.ll.kt @@ -0,0 +1,21 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +expect class WithAnn { + @Ann + fun foo() +} + +expect class WithoutAnn { + fun foo() +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +class Impl { + fun foo() {} +} + +actual typealias WithAnn = Impl +actual typealias WithoutAnn = Impl diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeParameters.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeParameters.ll.kt new file mode 100644 index 00000000000..19ca74cabb2 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeParameters.ll.kt @@ -0,0 +1,34 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.TYPE_PARAMETER) +annotation class Ann + +expect fun <@Ann A> inMethod() + +expect fun inMethodTwoParams() + +expect class InClass<@Ann A> + +expect class ViaTypealias<@Ann A> + +expect class TypealiasParamNotAccepted<@Ann A> + +expect fun <@Ann A, @Ann B> withIncompatibility() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun inMethod() {} + +actual fun <@Ann A, B> inMethodTwoParams() {} + +actual class InClass + +class ViaTypealiasImpl<@Ann A> + +actual typealias ViaTypealias = ViaTypealiasImpl + +class TypealiasParamNotAcceptedImpl + +actual typealias TypealiasParamNotAccepted<@Ann A> = TypealiasParamNotAcceptedImpl + +actual fun withIncompatibility() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsage.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsage.ll.kt new file mode 100644 index 00000000000..a0c748ce2ca --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsage.ll.kt @@ -0,0 +1,106 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.TYPE) +annotation class Ann + +expect fun valueParameterType(arg: @Ann String) + +expect fun returnType(): @Ann String + +expect fun methodTypeParamBound() + +expect class OnClassTypeParamBound + +expect fun typeParamBoundInWhere() where T : @Ann Any + +interface I1 +interface I2 + +expect fun severalBounds() where T : I1, T : @Ann I2 + +expect fun severalBoundsDifferentOrder() where T : I2, T : @Ann I1 + +expect fun lessTypeParamBoundsOnActual() where T : I1, T : @Ann I2 + +expect fun @Ann Any.onReceiver() + +expect class OnClassSuper : @Ann I1 + +expect class OnClassSuperDifferentOrder : I1, @Ann I2 + +expect class OnClassSuperMoreOnActual : @Ann I2 + +interface I3 + +expect class OnClassSuperTypeParams : I3<@Ann T> + +expect fun deepInParamsTypes(arg: I3>) + +interface I4 + +expect fun starProjection(arg: I4<*, @Ann Any>) + +expect fun typeArgWithVariance(t: I3) + +class WithNested { + inner class Nested +} + +expect fun qualifierPartsMatching(arg: WithNested.Nested<@Ann String>) + +expect fun qualifierPartsNonMatching(arg: WithNested.Nested<@Ann String>) + +expect fun funTypeVsUserType(arg: () -> @Ann String) + +expect fun funcTypeReturnType(arg: () -> @Ann Any) + +expect fun funcTypeReceiverType(arg: @Ann Any.() -> Unit) + +expect fun funcTypeArgType(arg: (arg: @Ann Any) -> Unit) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun valueParameterType(arg: String) {} + +actual fun returnType(): String = "" + +actual fun methodTypeParamBound() {} + +actual class OnClassTypeParamBound + +actual fun typeParamBoundInWhere() where T : Any {} + +actual fun severalBounds() where T : I1, T : I2 {} + +actual fun severalBoundsDifferentOrder() where T : @Ann I1, T : I2 {} + +actual fun lessTypeParamBoundsOnActual() where T : @Ann I2 {} + +actual fun Any.onReceiver() {} + +actual class OnClassSuper : I1 + +actual class OnClassSuperDifferentOrder : @Ann I2, I1 + +actual class OnClassSuperMoreOnActual : I1, I2 + +actual class OnClassSuperTypeParams : I3 + +actual fun deepInParamsTypes(arg: I3>) {} + +actual fun starProjection(arg: I4<*, Any>) {} + +actual fun typeArgWithVariance(t: I3) {} + +actual fun qualifierPartsMatching(arg: WithNested.Nested<@Ann String>) {} + +actual fun qualifierPartsNonMatching(arg: WithNested<@Ann String>.Nested) {} + +actual fun funTypeVsUserType(arg: kotlin.jvm.functions.Function0) {} + +actual fun funcTypeReturnType(arg: () -> Any) {} + +actual fun funcTypeReceiverType(arg: Any.() -> Unit) {} + +actual fun funcTypeArgType(arg: (arg: Any) -> Unit) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageTypealiasInSuper.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageTypealiasInSuper.ll.kt new file mode 100644 index 00000000000..283e777561c --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageTypealiasInSuper.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.TYPE) +annotation class Ann + +interface I + +expect class Foo: @Ann I + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +typealias ITypealias = I + +actual class Foo : ITypealias diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithImplicitType.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithImplicitType.ll.kt new file mode 100644 index 00000000000..d244739065e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithImplicitType.ll.kt @@ -0,0 +1,10 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.TYPE) +annotation class Ann + +expect fun foo(): @Ann Int + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun foo() = 1 diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithUnresolvedReference.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithUnresolvedReference.ll.kt new file mode 100644 index 00000000000..323478de54e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typeUsageWithUnresolvedReference.ll.kt @@ -0,0 +1,10 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.TYPE) +annotation class Ann + +expect fun foo() + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun Unresolved> foo() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealias.ll.kt new file mode 100644 index 00000000000..0ed804dfefe --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealias.ll.kt @@ -0,0 +1,87 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +@Target( + AnnotationTarget.TYPEALIAS, + AnnotationTarget.CLASS, + AnnotationTarget.FUNCTION, + AnnotationTarget.PROPERTY, + AnnotationTarget.PROPERTY_GETTER, + AnnotationTarget.PROPERTY_SETTER, + AnnotationTarget.CONSTRUCTOR, +) +annotation class Ann + +@Ann +expect class KtTypealiasNotMatch + +@Ann +expect class AnnotationsNotConsideredOnTypealias + +annotation class ComplexAnn(val s: String) + +expect class MethodsInsideTypealias { + @Ann + fun foo() +} + +expect class ValueInsideTypealias { + @Ann + val value: String +} + +expect class ConstructorInsideTypealias @Ann constructor() + +expect class MethodWithComplexAnnInsideTypealias { + @ComplexAnn("1" + "2") + fun withComplexAnn() +} + +expect class InnerClassInsideTypealias { + class Foo { + @Ann + fun foo() + } +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +class KtTypealiasNotMatchImpl + +actual typealias KtTypealiasNotMatch = KtTypealiasNotMatchImpl + +class AnnotationsNotConsideredOnTypealiasImpl + +@Ann +actual typealias AnnotationsNotConsideredOnTypealias = AnnotationsNotConsideredOnTypealiasImpl + +class MethodsInsideTypealiasImpl { + fun foo() {} +} + +actual typealias MethodsInsideTypealias = MethodsInsideTypealiasImpl + +class ValueInsideTypealiasImpl { + val value: String = "" +} + +actual typealias ValueInsideTypealias = ValueInsideTypealiasImpl + +class ConstructorInsideTypealiasImpl + +actual typealias ConstructorInsideTypealias = ConstructorInsideTypealiasImpl + +class MethodWithComplexAnnInsideTypealiasImpl { + @ComplexAnn("13") + fun withComplexAnn() {} +} + +actual typealias MethodWithComplexAnnInsideTypealias = MethodWithComplexAnnInsideTypealiasImpl + +class InnerClassInsideTypealiasImpl { + class Foo { + fun foo() {} + } +} + +actual typealias InnerClassInsideTypealias = InnerClassInsideTypealiasImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToJavaLibrary.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToJavaLibrary.ll.kt new file mode 100644 index 00000000000..5a4948d1a74 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToJavaLibrary.ll.kt @@ -0,0 +1,14 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt +@Retention(AnnotationRetention.SOURCE) +expect annotation class MyDeprecatedNotMatch + +@Retention(AnnotationRetention.RUNTIME) +expect annotation class MyDeprecatedMatch + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual typealias MyDeprecatedNotMatch = java.lang.Deprecated + +actual typealias MyDeprecatedMatch = java.lang.Deprecated diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToKtLibrary.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToKtLibrary.ll.kt new file mode 100644 index 00000000000..2a47de49a2d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/typealiasToKtLibrary.ll.kt @@ -0,0 +1,43 @@ +// WITH_STDLIB +// DIAGNOSTICS: -ACTUAL_TYPEALIAS_TO_SPECIAL_ANNOTATION, -ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_MEMBERS_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING, -ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_SUPERTYPES_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING +// MODULE: m1-common +// FILE: common.kt +@Target( + AnnotationTarget.CLASS, + AnnotationTarget.FUNCTION, + AnnotationTarget.PROPERTY, + AnnotationTarget.ANNOTATION_CLASS, + AnnotationTarget.CONSTRUCTOR, + AnnotationTarget.PROPERTY_SETTER, + AnnotationTarget.PROPERTY_GETTER, + AnnotationTarget.TYPEALIAS, + AnnotationTarget.TYPE, // added target +) +expect annotation class MyDeprecatedNotMatch + +@Target( + AnnotationTarget.CLASS, + AnnotationTarget.FUNCTION, + AnnotationTarget.PROPERTY, + AnnotationTarget.ANNOTATION_CLASS, + AnnotationTarget.CONSTRUCTOR, + AnnotationTarget.PROPERTY_SETTER, + AnnotationTarget.PROPERTY_GETTER, + AnnotationTarget.TYPEALIAS +) +expect annotation class MyDeprecatedMatch + +annotation class Ann(val s: String) + +expect abstract class MyAbstractIterator { + @Ann("something" + "complex") + fun hasNext(): Boolean +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual typealias MyDeprecatedNotMatch = kotlin.Deprecated + +actual typealias MyDeprecatedMatch = kotlin.Deprecated + +actual typealias MyAbstractIterator = AbstractIterator diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/valueParameters.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/valueParameters.ll.kt new file mode 100644 index 00000000000..d7c5cc481eb --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/valueParameters.ll.kt @@ -0,0 +1,18 @@ +// MODULE: m1-common +// FILE: common.kt +@Target(AnnotationTarget.VALUE_PARAMETER) +annotation class Ann + +expect fun inMethod(@Ann arg: String) + +expect class InConstructor(@Ann arg: String) + +expect fun withIncopatibility(@Ann p1: String, @Ann p2: String) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun inMethod(arg: String) {} + +actual class InConstructor actual constructor(arg: String) {} + +actual fun withIncopatibility(p1: String) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withOtherIncomatibilities.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withOtherIncomatibilities.ll.kt new file mode 100644 index 00000000000..8848a429978 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualAnnotationsNotMatchExpect/withOtherIncomatibilities.ll.kt @@ -0,0 +1,19 @@ +// MODULE: m1-common +// FILE: common.kt +annotation class Ann + +@Ann +expect inline fun hasWeakIncompatibility() + +@Ann +expect fun hasStrongIncompatibility(arg: Int) + +expect fun hasStrongIncompatibility(arg: Double) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual fun hasWeakIncompatibility() {} + +actual fun hasStrongIncompatibility(arg: Any?) {} + +actual fun hasStrongIncompatibility(arg: Double) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeFunctionTypeParameterNamesInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeFunctionTypeParameterNamesInOverride.ll.kt new file mode 100644 index 00000000000..9f01c201355 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeFunctionTypeParameterNamesInOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo(t: T) {} +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override fun foo(t: R) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeLateinitInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeLateinitInOverride.ll.kt new file mode 100644 index 00000000000..7453bd4f69e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeLateinitInOverride.ll.kt @@ -0,0 +1,20 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open var red1: String = "" + open lateinit var red2: String + open lateinit var green: String +} + +expect open class Foo : Base { +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override lateinit var red1: String + override var red2: String = "" + override lateinit var green: String +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToFinalInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToFinalInOverride.ll.kt new file mode 100644 index 00000000000..1224bfa64d6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToFinalInOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +interface Base { + fun foo() +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base { + final override fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToOpenInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToOpenInOverride.ll.kt new file mode 100644 index 00000000000..378a3e3a5b2 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromAbstractToOpenInOverride.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt +interface Base { + fun foo() +} +expect open class Foo() : Base + + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +// Mismatched scope must be reported here. But it's false negative checker in K1. +// For some reason, K1 says that modality of `exect_Foo.foo` is `abstract`. +// https://youtrack.jetbrains.com/issue/KT-59739 +actual open class Foo : Base { + override fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToAbstractInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToAbstractInOverride.ll.kt new file mode 100644 index 00000000000..59275dc00c5 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToAbstractInOverride.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt +interface Base { + fun foo() {} +} +expect abstract class Foo() : Base + + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual abstract class Foo : Base { + abstract override fun foo() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToFinalInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToFinalInOverride.ll.kt new file mode 100644 index 00000000000..5fcc8f7e000 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityFromOpenToFinalInOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo() {} +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + final override fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfSubstitutedFakeOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfSubstitutedFakeOverride.ll.kt new file mode 100644 index 00000000000..afe583b5f93 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfSubstitutedFakeOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo(t: T) {} +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + final override fun foo(t: String) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfToStringInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfToStringInOverride.ll.kt new file mode 100644 index 00000000000..64aacecc60f --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeModalityOfToStringInOverride.ll.kt @@ -0,0 +1,11 @@ +// MODULE: m1-common +// FILE: common.kt + +expect open class Foo + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo { + final override fun toString() = "Foo" +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeParameterNameInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeParameterNameInOverride.ll.kt new file mode 100644 index 00000000000..d0e00538386 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeParameterNameInOverride.ll.kt @@ -0,0 +1,34 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo(param: Int) {} +} + +expect open class Foo1 : Base +expect open class Foo2 : Base +expect open class Foo3 { + open fun foo(param: Int) +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo1 : Base() { + override fun foo(paramNameChanged: Int) {} +} + +actual typealias Foo2 = Foo2Java +actual typealias Foo3 = Foo3Java + +// FILE: Foo2Java.java + +public class Foo2Java extends Base { + @Override + public void foo(int paramNameChanged) {} +} + +// FILE: Foo3Java.java +public class Foo3Java { + public void foo(int paramNameChanged) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeSetterVisibilityInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeSetterVisibilityInOverride.ll.kt new file mode 100644 index 00000000000..964d3653e30 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeSetterVisibilityInOverride.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open var foo: String = "" + protected set +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override var foo: String = "" + public set +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVarargModifierInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVarargModifierInOverride.ll.kt new file mode 100644 index 00000000000..800468af7a7 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVarargModifierInOverride.ll.kt @@ -0,0 +1,16 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo(vararg bar: Int) {} +} + +expect open class Foo : Base { +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override fun foo(bar: IntArray) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVisibilityInOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVisibilityInOverride.ll.kt new file mode 100644 index 00000000000..eb4bdb07bff --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/changeVisibilityInOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + protected open fun foo() {} +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + public override fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantFunctionOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantFunctionOverride.ll.kt new file mode 100644 index 00000000000..1004c75aaf4 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantFunctionOverride.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open val foo: String = "" + open fun foo(): Any = "" +} + +expect open class Foo : Base { +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override fun foo(): String = "" +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenericUpperBound.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenericUpperBound.ll.kt new file mode 100644 index 00000000000..df9db6e8949 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenericUpperBound.ll.kt @@ -0,0 +1,18 @@ +// MODULE: m1-common +// FILE: common.kt + +interface I + +open class Base { + open fun foo(): I = null!! +} + +expect open class Foo : Base { +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override fun foo(): T = null!! +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenerics.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenerics.ll.kt new file mode 100644 index 00000000000..9259c7d1a6c --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantOverrideGenerics.ll.kt @@ -0,0 +1,16 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open fun foo(): R = null!! +} + +expect open class Foo : Base { +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override fun foo(): F = null!! +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantPropertyOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantPropertyOverride.ll.kt new file mode 100644 index 00000000000..1c5a1354042 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/covariantPropertyOverride.ll.kt @@ -0,0 +1,16 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open val foo: Any = "" + open fun foo(): String = "" +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override val foo: String = "" +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/flexibleTypesMatching.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/flexibleTypesMatching.ll.kt new file mode 100644 index 00000000000..261b9aadbaf --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/flexibleTypesMatching.ll.kt @@ -0,0 +1,33 @@ +// MODULE: m1-common +// FILE: common.kt + +expect open class Base { + open fun foo(): MutableList +} + +expect open class Foo : Base { + +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual typealias Base = BaseJava + +actual open class Foo : Base() { + // K1 doesn't report a diagnostic here because when it compares scopes it sees flexible type + // K2 will likely report a diagnostic here + // I don't think we can fix this 'K1 green -> K2 red'. It must be a rare case anyway. + override fun foo(): List { + return super.foo() + } +} + +// FILE: BaseJava.java +import java.util.List; + +public class BaseJava { + public List foo() { + return null; + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/propertyKindOverride.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/propertyKindOverride.ll.kt new file mode 100644 index 00000000000..acab3021d6d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/propertyKindOverride.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base { + open val foo: Int = 1 +} + +expect open class Foo : Base + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + override var foo: Int = 1 +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/severalMismatches.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/severalMismatches.ll.kt new file mode 100644 index 00000000000..42f73030563 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/actualClassifierMustHasTheSameMembersAsNonFinalExpectClassifierChecker/severalMismatches.ll.kt @@ -0,0 +1,29 @@ +// MODULE: m1-common +// FILE: common.kt + +open class Base() { + open fun overrideReturnType(): Any = "" + open fun overrideModality1(): Any = "" + open fun overrideModality2(): Any = "" + protected open fun overrideVisibility(): Any = "" +} + +expect open class Foo : Base { + fun existingMethod() + val existingParam: Int +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual open class Foo : Base() { + actual fun existingMethod() {} + actual val existingParam: Int = 904 + + fun injectedMethod() {} + val injectedProperty: Int = 42 + override fun overrideReturnType(): String = "" + final override fun overrideModality1(): Any = "" + final override fun overrideModality2(): Any = "" + public override fun overrideVisibility(): Any = "" +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsVararg.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsVararg.ll.kt new file mode 100644 index 00000000000..45cfd950feb --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/annotationArgArrayVsVararg.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +expect annotation class A(vararg val x: String) + +@A("abc", "foo", "bar") +fun test() {} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +actual annotation class A(val x: Array) + +@A("abc", "foo", "bar") +fun test2() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/annotationArgTypeAliasWithArray.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/annotationArgTypeAliasWithArray.ll.kt new file mode 100644 index 00000000000..497a656f41c --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/annotationArgTypeAliasWithArray.ll.kt @@ -0,0 +1,35 @@ +// ISSUES: KT-61100, KT-59561 +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt + +expect enum class Mode { + Throughput, AverageTime +} + +expect annotation class BenchmarkMode(vararg val value: Mode) + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +actual typealias Mode = mypackage.Mode + + +actual typealias BenchmarkMode = mypackage.BenchmarkMode + +// FILE: mypackage/Mode.java + +package mypackage; + +public enum Mode { + Throughput, AverageTime +} + +// FILE: mypackage/BenchmarkMode.java + +package mypackage; + +public @interface BenchmarkMode { + + Mode[] value(); +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/checkNoActualForExpectInLastModule.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/checkNoActualForExpectInLastModule.ll.kt new file mode 100644 index 00000000000..d0d72bc1d38 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/checkNoActualForExpectInLastModule.ll.kt @@ -0,0 +1,4 @@ +// ISSUE: KT-58483 +// MODULE: jvm +// FILE: jvm.kt +expect class A diff --git a/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObject.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObject.ll.kt new file mode 100644 index 00000000000..445277cc495 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObject.ll.kt @@ -0,0 +1,47 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class E01 +expect class E02() +expect open class E03 + +expect class E04 { + constructor() +} + +expect class E05(e: E01) +expect class E06 { + constructor(e: E02) +} + +expect interface I01 + +expect class M01 { + fun foo() +} + +expect enum class ENUM01 + +expect annotation class ANNO01 + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual object E01 +actual object E02 +actual object E03 + +actual object E04 + +actual object E05 +actual object E06 + +actual object I01 + +actual object M01 { + actual fun foo() {} +} + +actual object ENUM01 + +actual object ANNO01 diff --git a/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObjectViaTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObjectViaTypealias.ll.kt new file mode 100644 index 00000000000..7d234dd7a51 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/complexMatchings/expectCtorlessFinalToActualObjectViaTypealias.ll.kt @@ -0,0 +1,49 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class E01 +expect class E02() +expect open class E03 + +expect class E04 { + constructor() +} + +expect class E05(e: E01) +expect class E06 { + constructor(e: E02) +} + +expect interface I01 + +expect class M01 { + fun foo() +} + +expect enum class ENUM01 + +expect annotation class ANNO01 + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +object ActualObject { + fun foo() {} +} + +actual typealias E01 = ActualObject +actual typealias E02 = ActualObject +actual typealias E03 = ActualObject + +actual typealias E04 = ActualObject + +actual typealias E05 = ActualObject +actual typealias E06 = ActualObject + +actual typealias I01 = ActualObject + +actual typealias M01 = ActualObject + +actual typealias ENUM01 = ActualObject + +actual typealias ANNO01 = ActualObject diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotations.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotations.ll.kt new file mode 100644 index 00000000000..e06dfd57f0e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotations.ll.kt @@ -0,0 +1,33 @@ +// FIR_IDENTICAL +// MODULE: m1-common +// FILE: common.kt + +expect annotation class A1(val x: Int, val y: String = "OK") + +expect annotation class A2(val x: Int = 42, val y: String = "OK") + +expect annotation class A3(val x: Int, val y: String) + +expect annotation class A4(val x: Int = 42, val y: String) + +expect annotation class A5(val x: Int = 42, val y: String) + +@A1(0) +@A2 +@A3(0, "") +@A4(0, "") +@A5(0, "") +fun test() {} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual annotation class A1(actual val x: Int, actual val y: String) + +actual annotation class A2(actual val x: Int, actual val y: String = "OK") + +actual annotation class A3(actual val x: Int = 42, actual val y: String = "OK") + +actual annotation class A4(actual val x: Int, actual val y: String = "OK") + +actual annotation class A5(actual val x: Int = 239, actual val y: String = "OK") diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias.ll.kt new file mode 100644 index 00000000000..564fefc15a3 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAlias.ll.kt @@ -0,0 +1,63 @@ +// MODULE: m1-common +// FILE: common.kt + +expect annotation class A1(val x: Int, val y: String = "OK") + +expect annotation class A2(val x: Int = 42, val y: String = "OK") + +expect annotation class A3(val x: Int, val y: String) + +expect annotation class A4(val x: Int = 42, val y: String) + +expect annotation class A5(val x: Int = 42, val y: String) + +@A1(0) +@A2 +@A3(0, "") +@A4(0, "") +@A5(0, "") +fun test() {} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual typealias A1 = J1 +actual typealias A2 = J2 +actual typealias A3 = J3 +actual typealias A4 = J4 +actual typealias A5 = J5 + +// FILE: J1.java + +public @interface J1 { + int x(); + String y(); +} + +// FILE: J2.java + +public @interface J2 { + int x(); + String y() default "OK"; +} + +// FILE: J3.java + +public @interface J3 { + int x() default 42; + String y() default "OK"; +} + +// FILE: J4.java + +public @interface J4 { + int x(); + String y() default "OK"; +} + +// FILE: J5.java + +public @interface J5 { + int x() default 239; + String y() default "OK"; +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAliasExpectEnumArg.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAliasExpectEnumArg.ll.kt new file mode 100644 index 00000000000..50a41ee878f --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/annotationsViaActualTypeAliasExpectEnumArg.ll.kt @@ -0,0 +1,27 @@ +// MODULE: m1-common +// FILE: common.kt +expect enum class E { + FOO, BAR +} + +expect annotation class Matching(val e: E = E.FOO) + +expect annotation class NonMatching(val e: E = E.BAR) + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +actual typealias E = EJava +actual typealias Matching = AJava +actual typealias NonMatching = AJava + +// FILE: EJava.java +public enum EJava { + FOO, BAR; + + EJava() {} +} + +// FILE: AJava.java +public @interface AJava { + EJava e() default EJava.FOO; +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/delegation.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/delegation.ll.kt new file mode 100644 index 00000000000..b0bb1f98550 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/delegation.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt +expect class Foo { + fun foo(param: Int = 1) +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +interface Base { + fun foo(p: Int) +} + +object BaseImpl : Base { + override fun foo(p: Int) {} +} + +actual class Foo : Base by BaseImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simpleIncompatible.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simpleIncompatible.ll.kt new file mode 100644 index 00000000000..ee329c2bf1d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualFakeOverride/simpleIncompatible.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt +expect class Foo { + fun foo(param: Int = 1) + fun missingOnActual() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +open class Base { + fun foo(param: Int) {} +} + +actual class Foo : Base() diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias.ll.kt new file mode 100644 index 00000000000..ee7e7cb8f2d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/methodDefaultArgsViaActualTypealias.ll.kt @@ -0,0 +1,49 @@ +// !DIAGNOSTICS: -ACTUAL_WITHOUT_EXPECT +// MODULE: m1-common +// FILE: common.kt +expect class A { + fun foo(p1: String = "common", p2: String = "common", p3: String) +} + +expect class B { + fun foo(s: String) +} + +interface I { + fun methodWithDefaultArg(s: String = "common") +} + +expect class WithDefaultArgFromSuper : I { + override fun methodWithDefaultArg(s: String) +} + +expect open class WithIncompatibility { + fun foo(p: String = "common") +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +class AImpl { + fun foo(p1: String = "impl", p2: String = "impl", p3: String) {} +} + +actual typealias A = AImpl + +class BImpl { + fun foo(s: String = "impl") {} +} + +actual typealias B = BImpl + +class WithDefaultArgFromSuperImpl : I { + override fun methodWithDefaultArg(s: String) {} +} + +actual typealias WithDefaultArgFromSuper = WithDefaultArgFromSuperImpl + +class WithIncompatibilityImpl { + fun foo(p: String) {} +} + +actual typealias WithIncompatibility = WithIncompatibilityImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedAnnotationClassViaActualTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedAnnotationClassViaActualTypealias.ll.kt new file mode 100644 index 00000000000..8534be0c5bf --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/defaultArguments/nestedAnnotationClassViaActualTypealias.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt +expect class DefaultArgsInNestedClass { + annotation class Nested(val p: String = "") +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +class DefaultArgsInNestedClassImpl { + annotation class Nested(val p: String = "") +} + +// Incompatible because of bug KT-31636 +actual typealias DefaultArgsInNestedClass = DefaultArgsInNestedClassImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/constructorInHeaderEnum.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/constructorInHeaderEnum.ll.kt new file mode 100644 index 00000000000..6797b88127c --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/constructorInHeaderEnum.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt + +expect enum class En(x: Int) { + E1, + E2(42), + ; + + constructor(s: String) +} + +expect enum class En2 { + E1() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/enumEntryWithBody.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/enumEntryWithBody.ll.kt new file mode 100644 index 00000000000..49277f563dd --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/enumEntryWithBody.ll.kt @@ -0,0 +1,10 @@ +// MODULE: m1-common +// FILE: common.kt + +expect enum class En { + E1, + E2 { + fun foo() = "" + }, + E3 { }; +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/expectExternal.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/expectExternal.ll.kt new file mode 100644 index 00000000000..d94c059c7c6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/expectExternal.ll.kt @@ -0,0 +1,38 @@ +// MODULE: m1-common +// FILE: common.kt + +expect external fun foo() +expect fun bar() + +expect external var prop: String + +expect var getAndSet: String + external get + external set + +external expect val explicitGetter: String + external get + +expect external class A { + external fun foo() + fun bar() +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual external fun foo() +actual external fun bar() + +actual external var prop: String + +actual var getAndSet: String + external get + external set + +actual external val explicitGetter: String + external get + +actual class A { + actual external fun foo() + actual external fun bar() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.ll.kt new file mode 100644 index 00000000000..ddbb5306b87 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.ll.kt @@ -0,0 +1,24 @@ +// MODULE: m1-common +// FILE: common.kt +// TODO: .fir.kt version is just a stub. +expect interface My { + open fun openFunPositive() + open fun openFunNegative() + abstract fun abstractFun() + + open val openValPositive: Int + open val openValNegative: Int + abstract val abstractVal: Int +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual interface My { + actual fun openFunPositive() = Unit + actual fun openFunNegative() + actual fun abstractFun() + + actual val openValPositive: Int get() = 0 + actual val openValNegative: Int + actual val abstractVal: Int +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/generic/typeParameterBoundsDifferentOrderActualMissing.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/generic/typeParameterBoundsDifferentOrderActualMissing.ll.kt new file mode 100644 index 00000000000..0fd78e30919 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/generic/typeParameterBoundsDifferentOrderActualMissing.ll.kt @@ -0,0 +1,12 @@ +// MODULE: m1-common +// FILE: common.kt + +interface A +interface B + +expect fun List.foo() where T : A, T : B + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +fun List.foo() where T : B, T : A {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.ll.kt new file mode 100644 index 00000000000..6fcdfffd316 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.ll.kt @@ -0,0 +1,47 @@ +// MODULE: m1-common +// FILE: common.kt + +expect annotation class Foo1 +expect annotation class Foo2 +expect annotation class Foo3 +expect annotation class Foo4 +expect annotation class Foo5() +expect annotation class Foo6() +expect annotation class Foo7() + +@Foo1 +fun foo() {} + +@Foo5 +fun bar() {} + +// MODULE: m2-jvm()()(m1-common) + +// FILE: Bar1.java + +public @interface Bar1 { + String value() default ""; +} + +// FILE: Bar2.java + +public @interface Bar2 { + String value() default ""; + String path(); +} + +// FILE: jvm.kt + +actual typealias Foo1 = Bar1 + +actual typealias Foo4 = Bar2 + +actual annotation class Foo2(val p: String = "default") + +actual annotation class Foo3(val a: String = "a", val b: String = "b") + +actual annotation class Foo5 + +actual annotation class Foo6(val s: String = "value") + +actual typealias Foo7 = Bar2 diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.ll.kt new file mode 100644 index 00000000000..e7e31564b6a --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.ll.kt @@ -0,0 +1,54 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo1 +expect class Foo2 +expect class Foo3 + +expect class Bar1() +expect class Bar2() +expect class Bar3() +expect class Bar4() +expect class Bar5() +expect class Bar6() +expect class Bar7(s: String) + +// MODULE: m2-jvm()()(m1-common) + +// FILE: JavaFoo.java + +public class JavaFoo { + public JavaFoo(int i) {} +} + +// FILE: JavaBar.java + +public class JavaBar { + public JavaBar(int i) {} +} + +// FILE: jvm.kt + +actual class Foo1(val s: String) +actual class Foo2(val p: String = "value", i: Int) +actual typealias Foo3 = JavaFoo + +actual class Bar1(val s: String) +actual class Bar2(val p: String = "value", i: Int) +actual typealias Bar3 = JavaBar +actual class Bar4(val s: String) { + constructor() : this("") +} + +actual class Bar5 { + actual constructor() + constructor(s: String) +} + +class Bar6 { + actual constructor() +} + +actual class Bar7 actual constructor(s: String) { + constructor() : this("") +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/equalsOverrideInActualInterface.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/equalsOverrideInActualInterface.ll.kt new file mode 100644 index 00000000000..2a725f1ac29 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/equalsOverrideInActualInterface.ll.kt @@ -0,0 +1,7 @@ +// MODULE: m1-common +expect interface Base + +// MODULE: m1-jvm()()(m1-common) +actual interface Base { + override fun equals(other: Any?): Boolean +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithExplicitAbstractMember.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithExplicitAbstractMember.ll.kt new file mode 100644 index 00000000000..68cb5fee75f --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectClassWithExplicitAbstractMember.ll.kt @@ -0,0 +1,22 @@ +// MODULE: m1-common +// FILE: common.kt + +interface Foo { + fun foo() +} + +expect class NonAbstractClass : Foo { + abstract fun bar() + + abstract val baz: Int + + abstract override fun foo() +} + +expect abstract class AbstractClass : Foo { + abstract fun bar() + + abstract val baz: Int + + abstract override fun foo() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.ll.kt new file mode 100644 index 00000000000..33e4e77f005 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.ll.kt @@ -0,0 +1,32 @@ +// !DIAGNOSTICS: -UNUSED_PARAMETER +// MODULE: m1-common +// FILE: common.kt + +expect fun foo1(x: Int) +expect fun foo2(x: Int) + +expect class NoArgConstructor() + +expect fun foo3(): Int +expect fun foo4(): Int + +// MODULE: m2-jvm()()(m1-common) + +// FILE: jvm.kt + +actual fun foo1(x: Int) {} + +fun foo1(x: Int, y: Int) {} +fun foo1(x: String) {} + +fun foo2(x: Int, y: Int) {} +fun foo2(x: String) {} + +actual fun foo3(): String = "" +fun foo4(x: Int): String = "" + +actual class NoArgConstructor { + actual constructor() + actual constructor(x: Int) + constructor(x: String) +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithWeakIncompatibilities.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithWeakIncompatibilities.ll.kt new file mode 100644 index 00000000000..2064b039f68 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithWeakIncompatibilities.ll.kt @@ -0,0 +1,27 @@ +// !DIAGNOSTICS: -UNUSED_PARAMETER +// MODULE: m1-common +// FILE: common.kt + +expect class Foo1 +expect class Foo2 + +expect fun foo2(): Int + +expect val s: String + +expect open class Foo3 + +// MODULE: m2-jvm()()(m1-common) + +// FILE: jvm.kt + +interface Foo1 +actual interface Foo2 + +actual var s: String = "value" + +fun foo2(): Int = 0 + +actual class Foo3 + +class Foo3 diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.ll.kt new file mode 100644 index 00000000000..1982e2dcdc2 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.ll.kt @@ -0,0 +1,67 @@ +// MODULE: m1-common +// FILE: common.kt + +expect fun interface F1 { + fun run() +} + +expect fun interface F2 { + fun run() +} + +expect fun interface F3 { + fun run() +} + +expect interface F4 { + fun run() +} + +expect fun interface F5 { + fun run() +} + +expect fun interface F6 { + fun run() +} + +expect fun interface F7 { + fun run() +} + +// MODULE: m2-jvm()()(m1-common) + +// FILE: NotSam.java +public interface NotSam { + void run(); + void somehtingElse(); +} + +// FILE: main.kt +actual fun interface F1 { + actual fun run() +} + +actual interface F2 { + actual fun run() +} + +actual typealias F3 = java.lang.Runnable + +actual fun interface F4 { + actual fun run() +} + +fun interface F5Typealias { + fun run() +} + +actual typealias F5 = F5Typealias + +interface F6Typealias { + fun run() +} + +actual typealias F6 = F6Typealias + +actual typealias F7 = NotSam diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/explicitConstructorDelegation.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/explicitConstructorDelegation.ll.kt new file mode 100644 index 00000000000..3fe9c4e0f72 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/explicitConstructorDelegation.ll.kt @@ -0,0 +1,13 @@ +// MODULE: m1-common +// FILE: common.kt +expect open class A { + constructor(s: String) + + constructor(n: Number) : this("A") +} + +expect class B : A { + constructor(i: Int) + + constructor() : super("B") +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithAbstractMember.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithAbstractMember.ll.kt new file mode 100644 index 00000000000..44b93bf4283 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/extendExpectedClassWithAbstractMember.ll.kt @@ -0,0 +1,71 @@ +// MODULE: m1-common +// FILE: common.kt + +expect abstract class BaseA() { + abstract fun foo() +} +expect open class BaseAImpl() : BaseA + +class DerivedA1 : BaseAImpl() +class DerivedA2 : BaseAImpl() { + override fun foo() = super.foo() +} + + + +expect interface BaseB { + fun foo() +} +expect open class BaseBImpl() : BaseB + +class DerivedB1 : BaseBImpl() +class DerivedB2 : BaseBImpl() { + override fun foo() = super.foo() +} + + + +expect interface BaseC { + fun foo() +} +expect abstract class BaseCImpl() : BaseC + +class DerivedC1 : BaseCImpl() +class DerivedC2 : BaseCImpl() { + override fun foo() = super.foo() +} + + + +expect interface BaseD { + fun foo() +} +abstract class BaseDImpl() : BaseD { + fun bar() = super.foo() +} + + + +expect interface BaseE { + fun foo() +} +sealed class BaseEImpl() : BaseE { + fun bar() = super.foo() +} + + + +expect interface BaseF { + fun foo() +} +expect class BaseFImpl() : BaseF + + + +expect abstract class BaseG() { + abstract fun foo() +} +expect open class BaseGImpl() : BaseG { + override fun foo() +} +class DerivedG1 : BaseGImpl() diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/genericClassImplTypeAlias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/genericClassImplTypeAlias.ll.kt new file mode 100644 index 00000000000..0bb134ba6ea --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/genericClassImplTypeAlias.ll.kt @@ -0,0 +1,37 @@ +// !DIAGNOSTICS: -ACTUAL_WITHOUT_EXPECT +// MODULE: m1-common +// FILE: common.kt + +expect class C1 +expect interface C2 +expect interface C3 +expect interface C4 +expect interface C5 +expect interface C6 +expect interface C7 +expect interface C8 +expect interface C9 +expect interface C10 + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +class A> +class B + +actual typealias C1 = String +actual typealias C2 = List +actual typealias C3 = List +actual typealias C4 = MutableMap +actual typealias C5 = MutableMap +actual typealias C51 = MutableMap +actual typealias C52 = MutableMap +actual typealias C53 = A> +actual typealias C54 = B> +actual typealias C6 = MutableList +actual typealias C7 = MutableList +actual typealias C8 = MutableList<*> +actual typealias C9 = MutableList + +typealias Tmp = MutableList +actual typealias C10 = Tmp diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassWithFunctionBody.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassWithFunctionBody.ll.kt new file mode 100644 index 00000000000..168dc2aebd8 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/headerClassWithFunctionBody.ll.kt @@ -0,0 +1,24 @@ +// IGNORE_REVERSED_RESOLVE +// MODULE: m1-common +// FILE: common.kt +expect class Foo { + init { + "no" + } + + constructor(s: String) { + "no" + } + + constructor() : this("no") + + val prop: String = "no" + + var getSet: String + get() = "no" + set(value) {} + + fun functionWithBody(x: Int): Int { + return x + 1 + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/inheritanceByDelegationInExpectClass.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/inheritanceByDelegationInExpectClass.ll.kt new file mode 100644 index 00000000000..87070ad9553 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/inheritanceByDelegationInExpectClass.ll.kt @@ -0,0 +1,9 @@ +// MODULE: m1-common +// FILE: common.kt + +interface A + +class B : A +expect class Foo(b: B) : A by b + +expect class Bar : A by B() diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/memberPropertyKinds.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/memberPropertyKinds.ll.kt new file mode 100644 index 00000000000..e091de9a449 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/memberPropertyKinds.ll.kt @@ -0,0 +1,30 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo { + val justVal: String + var justVar: String + + val String.extensionVal: Unit + var T.genericExtensionVar: T + + val valWithGet: String + get + var varWithGetSet: String + get set + + val backingFieldVal: String = "no" + var backingFieldVar: String = "no" + + val customAccessorVal: String + get() = "no" + var customAccessorVar: String + get() = "no" + set(value) {} + + lateinit var lateinitVar: String + + val delegated: String by Delegate +} + +object Delegate { operator fun getValue(x: Any?, y: Any?): String = "" } diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActual.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActual.ll.kt new file mode 100644 index 00000000000..a8576266986 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActual.ll.kt @@ -0,0 +1,38 @@ +// !DIAGNOSTICS: -UNUSED_PARAMETER +// MODULE: m1-common +// FILE: common.kt + +expect open class Container { + fun publicFun() + + internal fun internalFun1() + internal fun internalFun2() + internal fun internalFun3() + + protected fun protectedFun1() + protected fun protectedFun2() + protected fun protectedFun3() + + open internal fun openInternalFun() + open fun openPublicFun() +} + +// MODULE: m2-jvm()()(m1-common) + +// FILE: jvm.kt + +actual open class Container { + actual fun publicFun() {} // OK: public -> public + + actual fun internalFun1() {} // OK: internal -> public + actual internal fun internalFun2() {} // OK: internal -> internal + + actual fun protectedFun1() {} // OK: protected -> public + actual protected fun protectedFun2() {} // OK: protected -> protected + + actual internal fun protectedFun3() {} // BAD: protected -> internal + actual protected fun internalFun3() {} // BAD: internal -> protected + + actual open fun openInternalFun() {} // BAD: internal+open -> public + actual internal fun openPublicFun() {} // BAD: open+public -> internal +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_openMember.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_openMember.ll.kt new file mode 100644 index 00000000000..eb3e248b151 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias_openMember.ll.kt @@ -0,0 +1,21 @@ +// !DIAGNOSTICS: -UNUSED_PARAMETER +// MODULE: m1-common +// FILE: common.kt + +expect open class Container { + internal open fun internalFun() +} + +// MODULE: m2-jvm()()(m1-common) + +// FILE: foo/Foo.java + +package foo; + +public class Foo { + public void internalFun() {} +} + +// FILE: jvm.kt + +actual typealias Container = foo.Foo diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.ll.kt new file mode 100644 index 00000000000..5990a0538bf --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.ll.kt @@ -0,0 +1,45 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class B { + class N { + fun body() {} + expect fun extraHeader() + } +} + +expect class C { + expect class N + expect enum class E + expect inner class I +} + +expect class D { + class N +} + +expect class E { + class N +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +actual class B { + actual class N { + actual fun body() {} + actual fun extraHeader() {} + } +} + +actual class C { + actual class N + actual enum class E + actual inner class I +} + +actual class D + +actual class E { + class N +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/noImplKeywordOnMember.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/noImplKeywordOnMember.ll.kt new file mode 100644 index 00000000000..538fbf91710 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/noImplKeywordOnMember.ll.kt @@ -0,0 +1,15 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo { + fun bar(): String + fun bas(f: Int) +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual class Foo { + fun bar(): String = "bar" + fun bas(g: Int) {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/smartCastOnExpectClass.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/smartCastOnExpectClass.ll.kt new file mode 100644 index 00000000000..7661dd8c085 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/smartCastOnExpectClass.ll.kt @@ -0,0 +1,12 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo { // also, it's important that Foo doesn't override equals + fun foo() +} + +fun check(x1: Foo, x: Any) { + if (x1 == x) { + x.foo() + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/superClass.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/superClass.ll.kt new file mode 100644 index 00000000000..0e66fb047af --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/superClass.ll.kt @@ -0,0 +1,28 @@ +// MODULE: m1-common +// FILE: common.kt + +interface I +open class C +interface J + +expect class Foo : I, C, J + +expect class Bar : C() + +expect class WithExplicitPrimaryConstructor() : C() + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +actual class Foo : I, C(), J + +actual class Bar + +actual class WithExplicitPrimaryConstructor : C() + +// MODULE: m3-js()()(m1-common) +// FILE: js.kt +actual class Foo : I, J, C() + +actual class Bar : C() + +actual class WithExplicitPrimaryConstructor : C() diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/intermediateActualHasAdditionalSupertypes.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/intermediateActualHasAdditionalSupertypes.ll.kt new file mode 100644 index 00000000000..00a23bfaed3 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/intermediateActualHasAdditionalSupertypes.ll.kt @@ -0,0 +1,30 @@ +// ISSUE: KT-57369 + +// MODULE: common +// TARGET_PLATFORM: Common +interface CompletionHandler { + fun foo() +} + +expect class CompletionHandlerBase() + +fun invokeOnCompletion(handler: CompletionHandler) {} + +// MODULE: intermediate()()(common) +// TARGET_PLATFORM: Common +// actual has an additional super type +actual class CompletionHandlerBase : CompletionHandler { + override fun foo() {} +} + +fun cancelFutureOnCompletionAlt(handlerBase: CompletionHandlerBase) { + invokeOnCompletion(handlerBase) + handlerBase.foo() +} + +// MODULE: main()()(common, intermediate) +// the order of dependencies is important to reproduce KT-57369 +fun cancelFutureOnCompletion(handlerBase: CompletionHandlerBase) { + invokeOnCompletion(handlerBase) + handlerBase.foo() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/kt57320.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/kt57320.ll.kt new file mode 100644 index 00000000000..71c9a8060e1 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/kt57320.ll.kt @@ -0,0 +1,42 @@ +// !LANGUAGE: +MultiPlatformProjects + +// MODULE: common +// TARGET_PLATFORM: Common + +// FILE: StringValue.kt +expect class StringValue + +expect fun StringValue.plus(other: String): StringValue + +// MODULE: commonJS()()(common) +// TARGET_PLATFORM: JS + +// FILE: StringValueJs.kt +actual class StringValue(val value: String) + +actual fun StringValue.plus(other: String) = StringValue(this.value + other) + +// MODULE: intermediate()()(common) +// TARGET_PLATFORM: Common + +// FILE: StringDemoInterface.kt +expect interface StringDemoInterface + +interface KotlinXStringDemoInterface { + val value: String +} + +expect fun StringDemoInterface.plusK(): String + +// MODULE: js()()(common, intermediate) +// TARGET_PLATFORM: JS + +// FILE: StringDemoInterfaceJs.kt +actual typealias StringDemoInterface = KotlinXStringDemoInterface + +actual fun StringDemoInterface.; The following declaration is incompatible because return type is different: expect fun StringDemoInterface.plusK(): String")!>plusK() = StringValue(value).plus("K").value + +// FILE: main.kt +class StringDemo(override val value: String) : StringDemoInterface + +fun box() = StringDemo("O").plusK() diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/sourceRetentionAnnotationsWhenTypealias.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/sourceRetentionAnnotationsWhenTypealias.ll.kt new file mode 100644 index 00000000000..8e1fa87e5f3 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/sourceRetentionAnnotationsWhenTypealias.ll.kt @@ -0,0 +1,15 @@ +// FIR_IDENTICAL +// WITH_STDLIB +// MODULE: common +// TARGET_PLATFORM: Common +expect annotation class Ann() // No @Retention SOURCE set + +@Ann +expect annotation class CommonVolatile + +// MODULE: main()()(common) +// TARGET_PLATFORM: JVM +@Retention(AnnotationRetention.SOURCE) +actual annotation class Ann + +actual typealias CommonVolatile = kotlin.jvm.Volatile diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasToJavaWithAnnotationArgument.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasToJavaWithAnnotationArgument.ll.kt new file mode 100644 index 00000000000..22ab5dd7bc4 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasToJavaWithAnnotationArgument.ll.kt @@ -0,0 +1,19 @@ +// This test is for the case when expect annotation is FirAnnotationCall and actual annotation is not FirAnnotationCall +// MODULE: common +// TARGET_PLATFORM: Common +expect annotation class Ann(val p: Int) + +@Ann(p = 1) +expect class Foo + +// MODULE: main()()(common) +// TARGET_PLATFORM: JVM +// FILE: Foo.kt +actual annotation class Ann actual constructor(actual val p: Int) + +actual typealias Foo = FooImpl + +// FILE: FooImpl.java +@Ann(p = 2) +public class FooImpl { +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.ll.kt new file mode 100644 index 00000000000..4e8982eb471 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.ll.kt @@ -0,0 +1,68 @@ +// IGNORE_REVERSED_RESOLVE +// MODULE: common +// TARGET_PLATFORM: Common + +expect class CommonClass { + fun memberFun() + val memberProp: Int + class Nested + inner class Inner +} +actual class CommonClass { + actual fun memberFun() {} + actual val memberProp: Int = 42 + actual class Nested + actual inner class Inner +} + +expect fun commonFun() +actual fun commonFun() {} + +expect val commonProperty: String +actual val commonProperty: String + get() = "hello" + +// MODULE: intermediate()()(common) +// TARGET_PLATFORM: Common + +expect class IntermediateClass { + fun memberFun() + val memberProp: Int + class Nested + inner class Inner +} +actual class IntermediateClass { + actual fun memberFun() {} + actual val memberProp: Int = 42 + actual class Nested + actual inner class Inner +} + +expect fun intermediateFun() +actual fun intermediateFun() {} + +expect val intermediateProperty: String +actual val intermediateProperty: String + get() = "hello" + +// MODULE: main()()(intermediate) + +expect class PlatformClass { + fun memberFun() + val memberProp: Int + class Nested + inner class Inner +} +actual class PlatformClass { + actual fun memberFun() {} + actual val memberProp: Int = 42 + actual class Nested + actual inner class Inner +} + +expect fun platformFun() +actual fun platformFun() {} + +expect val platformProperty: String +actual val platformProperty: String + get() = "hello" diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.ll.kt new file mode 100644 index 00000000000..12387fd63d8 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.ll.kt @@ -0,0 +1,31 @@ +// MODULE: common +// TARGET_PLATFORM: Common + +expect fun parameterCount() +fun parameterCount(p: String) {} + +expect fun parameterCount2() +actual fun parameterCount2(p: String) {} + +expect fun callableKind(): Int +val callableKind: Int = 1 + +expect fun typeParameterCount() +fun typeParameterCount() {} + +expect enum class EnumEntries { + ONE, TWO; +} +actual enum class EnumEntries { + ONE; +} + +expect fun vararg(bar: Int) +fun vararg(vararg bar: Int) = Unit + +// MODULE: main()()(common) + +actual fun parameterCount() {} +actual fun typeParameterCount() {} +actual fun callableKind(): Int = 1 +actual fun vararg(bar: Int) = Unit diff --git a/compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_AbstractMap.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_AbstractMap.ll.kt new file mode 100644 index 00000000000..7c1b21fe30a --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/implicitActualFakeOverride_AbstractMap.ll.kt @@ -0,0 +1,15 @@ +// WITH_STDLIB +// MODULE: m1-common +// FILE: common.kt + +// K2: false positve INCOMPATIBLE_MATCHING: KT-60155 +public expect abstract class AbstractMutableMap : MutableMap { + override val values: MutableCollection +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +import java.util.AbstractMap + +public actual abstract class AbstractMutableMap() : MutableMap, AbstractMap() diff --git a/compiler/testData/diagnostics/tests/multiplatform/incompatibles.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/incompatibles.ll.kt new file mode 100644 index 00000000000..64ab9d14d68 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/incompatibles.ll.kt @@ -0,0 +1,12 @@ + +header impl class First + +header expect class Second + +header actual class Third + +impl expect class Fourth + +impl actual class Fifth + +expect actual class Sixth diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationAllowed.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationAllowed.ll.kt new file mode 100644 index 00000000000..73ce26bdcb6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationAllowed.ll.kt @@ -0,0 +1,20 @@ +// WITH_STDLIB + +// MODULE: m1-common +// FILE: common.kt + +import kotlin.jvm.ImplicitlyActualizedByJvmDeclaration + +@OptIn(ExperimentalMultiplatform::class) +@ImplicitlyActualizedByJvmDeclaration +expect class Foo() { + fun foo() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: Foo.java + +public class Foo { + public void foo() { + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationDisallowed.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationDisallowed.ll.kt new file mode 100644 index 00000000000..e2f36560827 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualizationDisallowed.ll.kt @@ -0,0 +1,14 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo() { + fun foo() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: Foo.java + +public class Foo { + public void foo() { + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_multipleActuals.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_multipleActuals.ll.kt new file mode 100644 index 00000000000..ac55ed4f888 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_multipleActuals.ll.kt @@ -0,0 +1,20 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo(i: Int) { + fun foo() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: Foo.java + +public class Foo { + public Foo(int i) {} + public void foo() {} +} + +// FILE: jvm.kt + +class Foo(t: T) { + fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_oldLanguageVersion.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_oldLanguageVersion.ll.kt new file mode 100644 index 00000000000..9020feb897e --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/java/implicitJavaActualization_oldLanguageVersion.ll.kt @@ -0,0 +1,15 @@ +// LANGUAGE: -MultiplatformRestrictions +// MODULE: m1-common +// FILE: common.kt + +expect class Foo() { + fun foo() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: Foo.java + +public class Foo { + public void foo() { + } +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/kt54827.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/kt54827.ll.kt new file mode 100644 index 00000000000..a641c0f4208 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/kt54827.ll.kt @@ -0,0 +1,11 @@ +// MODULE: m1-common +// FILE: common.kt +expect class SomeClass { + fun foo() +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual class SomeClass { + actual fun foo() {} +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.ll.kt new file mode 100644 index 00000000000..51f19600c50 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.ll.kt @@ -0,0 +1,44 @@ +// WITH_STDLIB +// !OPT_IN: kotlin.ExperimentalMultiplatform + +// MODULE: common +// TARGET_PLATFORM: Common +// FILE: common.kt + +@OptionalExpectation +expect annotation class A() + +fun useInSignature(a: A) = a.toString() + +@OptionalExpectation +expect class NotAnAnnotationClass + +@OptionalExpectation +annotation class NotAnExpectedClass + +annotation class InOtherAnnotation(val a: A) + +@InOtherAnnotation(A()) +fun useInOtherAnnotation() {} + +expect class C { + @OptionalExpectation + annotation class Nested +} + +// MODULE: platform()()(common) +// FILE: platform.kt + +@A +class D + +fun useInReturnType(): A? = null + +annotation class AnotherAnnotation(val a: A) + +@AnotherAnnotation(A()) +fun useInAnotherAnnotation() {} + +actual class C { + actual annotation class Nested +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/returnTypeVsGenericsUpperBoundIncompatibility.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/returnTypeVsGenericsUpperBoundIncompatibility.ll.kt new file mode 100644 index 00000000000..a9e38c6b9e6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/returnTypeVsGenericsUpperBoundIncompatibility.ll.kt @@ -0,0 +1,11 @@ +// MODULE: m1-common +// FILE: common.kt + +interface A +expect fun foo(t: T): String + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +fun foo(t: T): T = TODO() +fun foo(t: T): String = TODO() diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingHeaderDeclarations.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingHeaderDeclarations.ll.kt new file mode 100644 index 00000000000..f87e53ebf27 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/conflictingHeaderDeclarations.ll.kt @@ -0,0 +1,7 @@ +// MODULE: m1-common +// FILE: common.kt + +expect fun foo() +expect fun foo() + +expect fun foo(x: Int) diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.ll.kt new file mode 100644 index 00000000000..328ff3551dd --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt +package common + +expect fun foo() + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt +package jvm + +actual fun foo() {} + +// MODULE: m3-js()()(m1-common) +// FILE: js.kt +package js + +actual fun foo() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.ll.kt new file mode 100644 index 00000000000..583c8257ae5 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.ll.kt @@ -0,0 +1,8 @@ +// MODULE: m1-common +// FILE: common.kt + +expect fun foo() + +expect fun foo() {} + +expect fun bar() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerWithoutImpl.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerWithoutImpl.ll.kt new file mode 100644 index 00000000000..243664b3dee --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerWithoutImpl.ll.kt @@ -0,0 +1,4 @@ +// MODULE: m1-common +// FILE: common.kt + +expect fun foo() diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/inlineFun.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/inlineFun.ll.kt new file mode 100644 index 00000000000..ac6c3467554 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/inlineFun.ll.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt + +inline expect fun inlineFun() +expect fun nonInlineFun() + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual fun inlineFun() { } +actual fun nonInlineFun() { } + +// MODULE: m3-js()()(m1-common) +// FILE: js.kt + +actual inline fun inlineFun() { } +actual inline fun nonInlineFun() { } diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.ll.kt new file mode 100644 index 00000000000..19583505d75 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.ll.kt @@ -0,0 +1,26 @@ +// !DIAGNOSTICS: -NOTHING_TO_INLINE +// MODULE: m1-common +// FILE: common.kt + +expect fun f1(s: () -> String) +expect inline fun f2(s: () -> String) +expect inline fun f3(noinline s: () -> String) + +expect fun f4(s: () -> String) +expect inline fun f5(s: () -> String) +expect inline fun f6(crossinline s: () -> String) + +expect fun f7(x: Any) +expect fun f8(vararg x: Any) + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual inline fun f1(noinline s: () -> String) {} +actual inline fun f2(noinline s: () -> String) {} +actual inline fun f3(s: () -> String) {} +actual inline fun f4(crossinline s: () -> String) {} +actual inline fun f5(crossinline s: () -> String) {} +actual inline fun f6(s: () -> String) {} +actual fun f7(vararg x: Any) {} +actual fun f8(x: Any) {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.ll.kt new file mode 100644 index 00000000000..ff63aa648e2 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelProperty/differentKindsOfProperties.ll.kt @@ -0,0 +1,40 @@ +// !LANGUAGE: +LateinitTopLevelProperties +// MODULE: m1-common +// FILE: common.kt + +expect val justVal: String +expect var justVar: String + +expect val String.extensionVal: Unit +expect var T.genericExtensionVar: T + +expect val valWithGet: String + get +expect var varWithGetSet: String + get set + +expect var varWithPlatformGetSet: String + expect get + expect set + +expect val backingFieldVal: String = "no" +expect var backingFieldVar: String = "no" + +expect val customAccessorVal: String + get() = "no" +expect var customAccessorVar: String + get() = "no" + set(value) {} + +expect const val constVal: Int + +expect lateinit var lateinitVar: String + +expect val delegated: String by Delegate +object Delegate { operator fun getValue(x: Any?, y: Any?): String = "" } + +fun test(): String { + expect val localVariable: String + localVariable = "no" + return localVariable +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing.ll.kt new file mode 100644 index 00000000000..bbee0f63844 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing.ll.kt @@ -0,0 +1,13 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class E01 +expect class E02 + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +typealias MyNothing = Nothing + +actual typealias E01 = Nothing +actual typealias E02 = MyNothing diff --git a/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing_oldLanguageVersion.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing_oldLanguageVersion.ll.kt new file mode 100644 index 00000000000..80fdf22e99d --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/typealias/actualTypealiasToNothing_oldLanguageVersion.ll.kt @@ -0,0 +1,14 @@ +// LANGUAGE: -MultiplatformRestrictions +// MODULE: m1-common +// FILE: common.kt + +expect class E01 +expect class E02 + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt + +typealias MyNothing = Nothing + +actual typealias E01 = Nothing +actual typealias E02 = MyNothing diff --git a/compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.ll.kt new file mode 100644 index 00000000000..f766656ce76 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.ll.kt @@ -0,0 +1,39 @@ +// MODULE: m1-common +// FILE: common.kt +expect var v1: Boolean + +expect var v2: Boolean + internal set + +expect var v3: Boolean + internal set + +expect open class C { + var foo: Boolean +} + +expect open class C2 { + var foo: Boolean +} + +// MODULE: m1-jvm()()(m1-common) +// FILE: jvm.kt +actual var v1: Boolean = false + private set + +actual var v2: Boolean = false + +actual var v3: Boolean = false + private set + +actual open class C { + actual var foo: Boolean = false + protected set +} + +open class C2Typealias { + var foo: Boolean = false + protected set +} + +actual typealias C2 = C2Typealias diff --git a/compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.ll.kt b/compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.ll.kt new file mode 100644 index 00000000000..4fd183a538b --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_oldLanguageVersion.ll.kt @@ -0,0 +1,18 @@ +// LANGUAGE: -SupportEffectivelyFinalInExpectActualVisibilityCheck +// MODULE: m1-common +// FILE: common.kt + +open class Base { + internal open fun foo() {} +} +expect class Foo : Base { + override fun foo() +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual class Foo : Base() { + public actual override fun foo() { + } +} diff --git a/generators/analysis-api-generator/tests/org/jetbrains/kotlin/generators/tests/analysis/api/firLowLevel.kt b/generators/analysis-api-generator/tests/org/jetbrains/kotlin/generators/tests/analysis/api/firLowLevel.kt index 4fd32ae984a..50cf80850a6 100644 --- a/generators/analysis-api-generator/tests/org/jetbrains/kotlin/generators/tests/analysis/api/firLowLevel.kt +++ b/generators/analysis-api-generator/tests/org/jetbrains/kotlin/generators/tests/analysis/api/firLowLevel.kt @@ -246,8 +246,6 @@ internal fun TestGroupSuite.generateFirLowLevelApiTests() { fun TestGroup.TestClass.modelInit() { model( "diagnostics/tests", - // MPP tests are not actual for Analysis Api (IDE) infrastructure because it doesn't use IR at all, unlike MPP - excludeDirsRecursively = listOf("multiplatform"), excludedPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN, pattern = KT_OR_KTS, )