From 59b88f33b2449ab1dbad5ac5400a9acc4827a993 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 9 Feb 2023 12:34:30 +0100 Subject: [PATCH] [K2, MPP] implement IR errors reporting and test infrastructure Fix test data ^KT-56344 Fixed --- .../jetbrains/kotlin/cli/js/K2JsIrCompiler.kt | 2 +- .../kotlin/cli/js/klib/compilerPipeline.kt | 7 +- .../FirKotlinToJvmBytecodeCompiler.kt | 4 +- .../jvm/compiler/pipeline/compilerPipeline.kt | 5 +- ...eeOldFrontendDiagnosticsTestGenerated.java | 1318 ++++------------- ...DiagnosticsWithLightTreeTestGenerated.java | 747 ++++++++++ ...endMPPDiagnosticsWithPsiTestGenerated.java | 747 ++++++++++ ...siOldFrontendDiagnosticsTestGenerated.java | 1318 ++++------------- .../kotlin/fir/pipeline/convertToIr.kt | 13 +- .../IncrementalFirJvmCompilerRunner.kt | 8 +- .../backend/common/CommonBackendErrors.kt | 31 + .../actualizer/ExpectActualCollector.kt | 23 +- .../backend/common/actualizer/IrActualizer.kt | 21 +- .../common/actualizer/IrActualizerUtils.kt | 21 +- .../actualizer/MissingFakeOverridesAdder.kt | 6 +- .../tests/multiplatform/enum/javaEnum.fir.kt | 34 + .../tests/multiplatform/enum/javaEnum.kt | 4 +- .../multiplatform/enum/simpleEnum.fir.kt | 17 + .../tests/multiplatform/enum/simpleEnum.kt | 3 +- ...faultValuesInAnnotationViaTypealias.fir.kt | 4 +- ...ctualClassWithDifferentConstructors.fir.kt | 6 +- ...larationWithStrongIncompatibilities.fir.kt | 4 +- .../nestedClassesWithErrors.fir.kt | 2 +- .../headerFunInNonHeaderClass.fir.kt | 2 +- .../expectAndActualInTheSameModule.fir.kt | 19 +- .../expectAndActualInTheSameModule.kt | 3 + ...ualInTheSameModuleIncompatibilities.fir.kt | 8 +- .../tests/multiplatform/implDynamic.fir.kt | 28 + .../tests/multiplatform/implDynamic.kt | 1 - .../multiplatform/java/flexibleTypes.fir.kt | 31 + .../tests/multiplatform/java/flexibleTypes.kt | 1 - .../multiplatform/sealedTypeAlias.fir.kt | 16 + .../tests/multiplatform/sealedTypeAlias.kt | 1 - .../headerAndImplInDIfferentPackages.fir.kt | 2 +- .../valueParameterModifiers.fir.kt | 4 +- .../handlers/JvmBackendDiagnosticsHandler.kt | 2 +- .../test/backend/ir/ActualizerOnlyFacade.kt | 48 + .../kotlin/test/backend/ir/IrBackendInput.kt | 2 + .../test/backend/ir/IrDiagnosticsHandler.kt | 47 + .../test/backend/ir/JvmIrBackendFacade.kt | 7 +- .../classic/ClassicFrontend2IrConverter.kt | 1 + .../frontend/fir/Fir2IrJsResultsConverter.kt | 2 + .../fir/handlers/FirDiagnosticsHandler.kt | 79 +- .../test/runners/AbstractFirDiagnosticTest.kt | 28 +- .../generators/GenerateJUnit5CompilerTests.kt | 20 +- .../FirAbstractInvalidationTest.kt | 3 +- .../test/converters/FirJsKlibBackendFacade.kt | 11 +- .../jetbrains/kotlin/backend/konan/Fir2Ir.kt | 18 +- 48 files changed, 2583 insertions(+), 2146 deletions(-) create mode 100644 compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated.java create mode 100644 compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithPsiTestGenerated.java create mode 100644 compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/CommonBackendErrors.kt create mode 100644 compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.fir.kt create mode 100644 compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.fir.kt create mode 100644 compiler/testData/diagnostics/tests/multiplatform/implDynamic.fir.kt create mode 100644 compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.fir.kt create mode 100644 compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.fir.kt create mode 100644 compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/ActualizerOnlyFacade.kt create mode 100644 compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrDiagnosticsHandler.kt diff --git a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt index fe52a284b30..88b2bd4815f 100644 --- a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt +++ b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt @@ -493,7 +493,7 @@ class K2JsIrCompiler : CLICompiler() { ) ?: return null // FIR2IR - val irResult = transformFirToIr(moduleStructure, outputs) + val irResult = transformFirToIr(moduleStructure, outputs, diagnosticsReporter) // Serialize klib if (arguments.irProduceKlibDir || arguments.irProduceKlibFile) { diff --git a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/klib/compilerPipeline.kt b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/klib/compilerPipeline.kt index 3b3b8f8d146..3f6e55b60e1 100644 --- a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/klib/compilerPipeline.kt +++ b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/klib/compilerPipeline.kt @@ -17,9 +17,11 @@ import org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin.cli.common.prepareJsSessions import org.jetbrains.kotlin.config.CommonConfigurationKeys +import org.jetbrains.kotlin.config.LanguageVersionSettings import org.jetbrains.kotlin.config.languageVersionSettings import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl import org.jetbrains.kotlin.diagnostics.impl.BaseDiagnosticsCollector +import org.jetbrains.kotlin.diagnostics.impl.PendingDiagnosticsCollectorWithSuppress import org.jetbrains.kotlin.fir.BinaryModuleData import org.jetbrains.kotlin.fir.DependencyListForCliModule import org.jetbrains.kotlin.fir.FirSession @@ -99,7 +101,8 @@ fun compileModuleToAnalyzedFir( fun transformFirToIr( moduleStructure: ModulesStructure, - firOutputs: List + firOutputs: List, + diagnosticsReporter: PendingDiagnosticsCollectorWithSuppress, ): Fir2IrResult { val fir2IrExtensions = Fir2IrExtensions.Default @@ -135,6 +138,8 @@ fun transformFirToIr( irMangler = JsManglerIr, visibilityConverter = Fir2IrVisibilityConverter.Default, kotlinBuiltIns = builtInsModule ?: DefaultBuiltIns.Instance, + diagnosticReporter = diagnosticsReporter, + languageVersionSettings = moduleStructure.compilerConfiguration.languageVersionSettings, fir2IrResultPostCompute = { (this.irModuleFragment.descriptor as? FirModuleDescriptor)?.let { it.allDependencyModules = librariesDescriptors } } diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/FirKotlinToJvmBytecodeCompiler.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/FirKotlinToJvmBytecodeCompiler.kt index 0f41d820107..b8345f36cf7 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/FirKotlinToJvmBytecodeCompiler.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/FirKotlinToJvmBytecodeCompiler.kt @@ -156,7 +156,9 @@ object FirKotlinToJvmBytecodeCompiler { val fir2IrResult = firResult.convertToIrAndActualizeForJvm( fir2IrExtensions, irGenerationExtensions, - linkViaSignatures = moduleConfiguration.getBoolean(JVMConfigurationKeys.LINK_VIA_SIGNATURES) + linkViaSignatures = moduleConfiguration.getBoolean(JVMConfigurationKeys.LINK_VIA_SIGNATURES), + diagnosticsReporter, + moduleConfiguration.languageVersionSettings ) performanceManager?.notifyIRTranslationFinished() diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/pipeline/compilerPipeline.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/pipeline/compilerPipeline.kt index 5cf52ec5074..3cd1141d1be 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/pipeline/compilerPipeline.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/pipeline/compilerPipeline.kt @@ -232,7 +232,10 @@ fun convertAnalyzedFirToIr( } ?: emptyList() val linkViaSignatures = input.configuration.getBoolean(JVMConfigurationKeys.LINK_VIA_SIGNATURES) val (irModuleFragment, components, pluginContext) = - analysisResults.convertToIrAndActualizeForJvm(extensions, irGenerationExtensions, linkViaSignatures) + analysisResults.convertToIrAndActualizeForJvm( + extensions, irGenerationExtensions, linkViaSignatures, + environment.diagnosticsReporter, input.configuration.languageVersionSettings + ) return ModuleCompilerIrBackendInput( input.targetId, diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java index b5786b06afc..3bb8401886f 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java @@ -54,7 +54,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInTests() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1179,7 +1179,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1716,7 +1716,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class AnnotationParameterMustBeConstant { @Test public void testAllFilesPresentInAnnotationParameterMustBeConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1780,7 +1780,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FunctionalTypes { @Test public void testAllFilesPresentInFunctionalTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1814,7 +1814,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Options { @Test public void testAllFilesPresentInOptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1931,7 +1931,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInTargets() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2068,7 +2068,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Parameters { @Test public void testAllFilesPresentInParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2119,7 +2119,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2334,7 +2334,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Rendering { @Test public void testAllFilesPresentInRendering() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2416,7 +2416,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2528,7 +2528,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TypeUse { @Test public void testAllFilesPresentInTypeUse() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2580,7 +2580,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class WithUseSiteTarget { @Test public void testAllFilesPresentInWithUseSiteTarget() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2747,7 +2747,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2883,7 +2883,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3252,7 +3252,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInAdapted() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3274,7 +3274,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3404,7 +3404,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3714,7 +3714,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Generic { @Test public void testAllFilesPresentInGeneric() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3832,7 +3832,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3956,7 +3956,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4254,7 +4254,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Unsupported { @Test public void testAllFilesPresentInUnsupported() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4295,7 +4295,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Cast { @Test public void testAllFilesPresentInCast() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4694,7 +4694,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Bare { @Test public void testAllFilesPresentInBare() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4824,7 +4824,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NeverSucceeds { @Test public void testAllFilesPresentInNeverSucceeds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4865,7 +4865,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CheckArguments { @Test public void testAllFilesPresentInCheckArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4965,7 +4965,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ClassLiteral { @Test public void testAllFilesPresentInClassLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5065,7 +5065,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ClassObjects { @Test public void testAllFilesPresentInClassObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5225,7 +5225,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CollectionLiterals { @Test public void testAllFilesPresentInCollectionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5301,7 +5301,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ConstantEvaluator { @Test public void testAllFilesPresentInConstantEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -5310,7 +5310,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Constant { @Test public void testAllFilesPresentInConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5464,7 +5464,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class IsPure { @Test public void testAllFilesPresentInIsPure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5504,7 +5504,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UsesVariableAsConstant { @Test public void testAllFilesPresentInUsesVariableAsConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5551,7 +5551,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInConstructorConsistency() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5717,7 +5717,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInControlFlowAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6338,7 +6338,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DeadCode { @Test public void testAllFilesPresentInDeadCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6498,7 +6498,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DefiniteReturn { @Test public void testAllFilesPresentInDefiniteReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6544,7 +6544,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnnecessaryLateinit { @Test public void testAllFilesPresentInUnnecessaryLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6627,7 +6627,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ControlStructures { @Test public void testAllFilesPresentInControlStructures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6955,7 +6955,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Coroutines { @Test public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7000,7 +7000,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7022,7 +7022,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SuspendFunctionAsSupertype { @Test public void testAllFilesPresentInSuspendFunctionAsSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -7031,7 +7031,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7071,7 +7071,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7111,7 +7111,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7153,7 +7153,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CyclicHierarchy { @Test public void testAllFilesPresentInCyclicHierarchy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7252,7 +7252,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class WithCompanion { @Test public void testAllFilesPresentInWithCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7335,7 +7335,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DataClasses { @Test public void testAllFilesPresentInDataClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7555,7 +7555,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DataFlow { @Test public void testAllFilesPresentInDataFlow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7594,7 +7594,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Assignment { @Test public void testAllFilesPresentInAssignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7634,7 +7634,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7717,7 +7717,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DataFlowInfoTraversal { @Test public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8038,7 +8038,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Smartcasts { @Test public void testAllFilesPresentInSmartcasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8061,7 +8061,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DataObjects { @Test public void testAllFilesPresentInDataObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8077,7 +8077,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DeclarationChecks { @Test public void testAllFilesPresentInDeclarationChecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8308,7 +8308,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DestructuringDeclarations { @Test public void testAllFilesPresentInDestructuringDeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8402,7 +8402,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FiniteBoundRestriction { @Test public void testAllFilesPresentInFiniteBoundRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8430,7 +8430,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NonExpansiveInheritanceRestriction { @Test public void testAllFilesPresentInNonExpansiveInheritanceRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8459,7 +8459,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8499,7 +8499,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8748,7 +8748,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8866,7 +8866,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ProvideDelegate { @Test public void testAllFilesPresentInProvideDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8973,7 +8973,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9066,7 +9066,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Clashes { @Test public void testAllFilesPresentInClashes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9100,7 +9100,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CovariantOverrides { @Test public void testAllFilesPresentInCovariantOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9140,7 +9140,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInMemberHidesSupertypeOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9235,7 +9235,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Deparenthesize { @Test public void testAllFilesPresentInDeparenthesize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9281,7 +9281,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Deprecated { @Test public void testAllFilesPresentInDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9524,7 +9524,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DeprecatedSinceKotlin { @Test public void testAllFilesPresentInDeprecatedSinceKotlin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9589,7 +9589,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DuplicateJvmSignature { @Test public void testAllFilesPresentInDuplicateJvmSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9622,7 +9622,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInAccidentalOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9716,7 +9716,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Bridges { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9744,7 +9744,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Erasure { @Test public void testAllFilesPresentInErasure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9856,7 +9856,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FinalMembersFromBuiltIns { @Test public void testAllFilesPresentInFinalMembersFromBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9878,7 +9878,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FunctionAndProperty { @Test public void testAllFilesPresentInFunctionAndProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10002,7 +10002,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SpecialNames { @Test public void testAllFilesPresentInSpecialNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10066,7 +10066,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10112,7 +10112,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Synthesized { @Test public void testAllFilesPresentInSynthesized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10128,7 +10128,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TraitImpl { @Test public void testAllFilesPresentInTraitImpl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10163,7 +10163,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DynamicTypes { @Test public void testAllFilesPresentInDynamicTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10209,7 +10209,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10572,7 +10572,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Entries { @Test public void testAllFilesPresentInEntries() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10678,7 +10678,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inner { @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10761,7 +10761,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Evaluate { @Test public void testAllFilesPresentInEvaluate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10914,7 +10914,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10931,7 +10931,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Exceptions { @Test public void testAllFilesPresentInExceptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10953,7 +10953,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ExplicitDefinitelyNotNullableViaIntersection { @Test public void testAllFilesPresentInExplicitDefinitelyNotNullableViaIntersection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11035,7 +11035,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Exposed { @Test public void testAllFilesPresentInExposed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11231,7 +11231,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Extensions { @Test public void testAllFilesPresentInExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11342,7 +11342,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ContextReceivers { @Test public void testAllFilesPresentInContextReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11585,7 +11585,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11675,7 +11675,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class External { @Test public void testAllFilesPresentInExternal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11691,7 +11691,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FieldRename { @Test public void testAllFilesPresentInFieldRename() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11731,7 +11731,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11831,7 +11831,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FunctionAsExpression { @Test public void testAllFilesPresentInFunctionAsExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11943,7 +11943,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FunctionLiterals { @Test public void testAllFilesPresentInFunctionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12150,7 +12150,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DestructuringInLambdas { @Test public void testAllFilesPresentInDestructuringInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12220,7 +12220,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Return { @Test public void testAllFilesPresentInReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12393,7 +12393,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Generics { @Test public void testAllFilesPresentInGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12630,7 +12630,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CapturedParameters { @Test public void testAllFilesPresentInCapturedParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12676,7 +12676,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CyclicBounds { @Test public void testAllFilesPresentInCyclicBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12698,7 +12698,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class InnerClasses { @Test public void testAllFilesPresentInInnerClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12857,7 +12857,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12922,7 +12922,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class MultipleBoundsMemberScope { @Test public void testAllFilesPresentInMultipleBoundsMemberScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12974,7 +12974,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Nullability { @Test public void testAllFilesPresentInNullability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13104,7 +13104,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInProjectionsScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13282,7 +13282,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class StarProjections { @Test public void testAllFilesPresentInStarProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13328,7 +13328,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TpAsReified { @Test public void testAllFilesPresentInTpAsReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13422,7 +13422,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class VarProjection { @Test public void testAllFilesPresentInVarProjection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13457,7 +13457,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13857,7 +13857,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class IncompleteCode { @Test public void testAllFilesPresentInIncompleteCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13992,7 +13992,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DiagnosticWithSyntaxError { @Test public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -14111,7 +14111,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -14882,7 +14882,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15119,7 +15119,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15135,7 +15135,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15218,7 +15218,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15246,7 +15246,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15508,7 +15508,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInCoercionToUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15614,7 +15614,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CommonSystem { @Test public void testAllFilesPresentInCommonSystem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15786,7 +15786,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Completion { @Test public void testAllFilesPresentInCompletion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15897,7 +15897,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15968,7 +15968,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16140,7 +16140,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class EmptyIntersectionTypes { @Test public void testAllFilesPresentInEmptyIntersectionTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16498,7 +16498,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Forks { @Test public void testAllFilesPresentInForks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16526,7 +16526,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16620,7 +16620,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NothingType { @Test public void testAllFilesPresentInNothingType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16798,7 +16798,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class PublicApproximation { @Test public void testAllFilesPresentInPublicApproximation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16886,7 +16886,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class RecursiveCalls { @Test public void testAllFilesPresentInRecursiveCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16902,7 +16902,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class RecursiveLocalFuns { @Test public void testAllFilesPresentInRecursiveLocalFuns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16936,7 +16936,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class RecursiveTypes { @Test public void testAllFilesPresentInRecursiveTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17017,7 +17017,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -17026,7 +17026,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17054,7 +17054,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17084,7 +17084,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17532,7 +17532,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ReportingImprovements { @Test public void testAllFilesPresentInReportingImprovements() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17614,7 +17614,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17696,7 +17696,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UpperBounds { @Test public void testAllFilesPresentInUpperBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17773,7 +17773,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Infos { @Test public void testAllFilesPresentInInfos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17795,7 +17795,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inline { @Test public void testAllFilesPresentInInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18134,7 +18134,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class BinaryExpressions { @Test public void testAllFilesPresentInBinaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18192,7 +18192,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18310,7 +18310,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NonPublicMember { @Test public void testAllFilesPresentInNonPublicMember() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18380,7 +18380,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Property { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18414,7 +18414,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18430,7 +18430,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnaryExpressions { @Test public void testAllFilesPresentInUnaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18459,7 +18459,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18685,7 +18685,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18958,7 +18958,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19029,7 +19029,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class IntegerLiterals { @Test public void testAllFilesPresentInIntegerLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19069,7 +19069,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInJ_k() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19642,7 +19642,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19664,7 +19664,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19782,7 +19782,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19810,7 +19810,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19874,7 +19874,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19896,7 +19896,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19924,7 +19924,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19940,7 +19940,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19998,7 +19998,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20104,7 +20104,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20144,7 +20144,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20166,7 +20166,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20188,7 +20188,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20313,7 +20313,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInJava8Overrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20377,7 +20377,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Javac { @Test public void testAllFilesPresentInJavac() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20392,7 +20392,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class FieldsResolution { @Test public void testAllFilesPresentInFieldsResolution() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20474,7 +20474,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20586,7 +20586,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20698,7 +20698,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inners { @Test public void testAllFilesPresentInInners() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20750,7 +20750,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20790,7 +20790,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20843,7 +20843,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Labels { @Test public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20925,7 +20925,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Lateinit { @Test public void testAllFilesPresentInLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20952,7 +20952,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20981,7 +20981,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Library { @Test public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21003,7 +21003,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class LocalClasses { @Test public void testAllFilesPresentInLocalClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21025,7 +21025,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Modifiers { @Test public void testAllFilesPresentInModifiers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21130,7 +21130,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Const { @Test public void testAllFilesPresentInConst() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21254,7 +21254,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class OperatorInfix { @Test public void testAllFilesPresentInOperatorInfix() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21283,7 +21283,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Multimodule { @Test public void testAllFilesPresentInMultimodule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21346,7 +21346,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DuplicateClass { @Test public void testAllFilesPresentInDuplicateClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21434,7 +21434,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DuplicateMethod { @Test public void testAllFilesPresentInDuplicateMethod() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21594,7 +21594,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DuplicateSuper { @Test public void testAllFilesPresentInDuplicateSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21628,7 +21628,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class HiddenClass { @Test public void testAllFilesPresentInHiddenClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21657,743 +21657,13 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir } } - @Nested - @TestMetadata("compiler/testData/diagnostics/tests/multiplatform") - @TestDataPath("$PROJECT_ROOT") - public class Multiplatform { - @Test - public void testAllFilesPresentInMultiplatform() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); - } - - @Test - @TestMetadata("expectDataObject.kt") - public void testExpectDataObject() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.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("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("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("modifierApplicability.kt") - public void testModifierApplicability() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); - } - - @Test - @TestMetadata("namedArguments.kt") - public void testNamedArguments() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); - } - - @Test - @TestMetadata("privateTopLevelDeclarations.kt") - public void testPrivateTopLevelDeclarations() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.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"); - } - - @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$"), 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("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.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"); - } - } - - @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$"), 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$"), 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$"), 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"); - } - } - - @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$"), 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("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$"), 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("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.kt") - public void testMorePermissiveVisibilityOnActualViaTypeAlias() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias.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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); - } - - @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$"), 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/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$"), 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$"), 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("parameterNames.kt") - public void testParameterNames() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.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$"), 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$"), 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/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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22492,7 +21762,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class MixedNamedPosition { @Test public void testAllFilesPresentInMixedNamedPosition() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22539,7 +21809,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NullabilityAndSmartCasts { @Test public void testAllFilesPresentInNullabilityAndSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22783,7 +22053,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NullableTypes { @Test public void testAllFilesPresentInNullableTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22895,7 +22165,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Numbers { @Test public void testAllFilesPresentInNumbers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22989,7 +22259,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Objects { @Test public void testAllFilesPresentInObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23082,7 +22352,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Kt21515 { @Test public void testAllFilesPresentInKt21515() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23243,7 +22513,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class OperatorRem { @Test public void testAllFilesPresentInOperatorRem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23361,7 +22631,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class OperatorsOverloading { @Test public void testAllFilesPresentInOperatorsOverloading() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23496,7 +22766,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23531,7 +22801,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Overload { @Test public void testAllFilesPresentInOverload() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23757,7 +23027,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24096,7 +23366,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ClashesOnInheritance { @Test public void testAllFilesPresentInClashesOnInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24178,7 +23448,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DerivedClasses { @Test public void testAllFilesPresentInDerivedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24224,7 +23494,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ParameterNames { @Test public void testAllFilesPresentInParameterNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24282,7 +23552,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24317,7 +23587,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ParenthesizedTypes { @Test public void testAllFilesPresentInParenthesizedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24345,7 +23615,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class PlatformTypes { @Test public void testAllFilesPresentInPlatformTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24480,7 +23750,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CommonSupertype { @Test public void testAllFilesPresentInCommonSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24538,7 +23808,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class GenericVarianceViolation { @Test public void testAllFilesPresentInGenericVarianceViolation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24626,7 +23896,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class MethodCall { @Test public void testAllFilesPresentInMethodCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24756,7 +24026,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NotNullTypeParameter { @Test public void testAllFilesPresentInNotNullTypeParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24808,7 +24078,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NullabilityWarnings { @Test public void testAllFilesPresentInNullabilityWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25004,7 +24274,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25218,7 +24488,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TypeEnhancement { @Test public void testAllFilesPresentInTypeEnhancement() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25259,7 +24529,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class PrivateInFile { @Test public void testAllFilesPresentInPrivateInFile() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25293,7 +24563,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25344,7 +24614,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25360,7 +24630,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class InferenceFromGetters { @Test public void testAllFilesPresentInInferenceFromGetters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25437,7 +24707,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25513,7 +24783,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInReassignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25577,7 +24847,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInRecovery() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25611,7 +24881,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Redeclarations { @Test public void testAllFilesPresentInRedeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25830,7 +25100,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ShadowedExtension { @Test public void testAllFilesPresentInShadowedExtension() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25925,7 +25195,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -26888,7 +26158,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Kt7585 { @Test public void testAllFilesPresentInKt7585() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -26917,7 +26187,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Resolve { @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27160,7 +26430,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class DslMarker { @Test public void testAllFilesPresentInDslMarker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27332,7 +26602,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27485,7 +26755,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27544,7 +26814,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27608,7 +26878,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class NoCandidates { @Test public void testAllFilesPresentInNoCandidates() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27636,7 +26906,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class OverloadConflicts { @Test public void testAllFilesPresentInOverloadConflicts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27766,7 +27036,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Priority { @Test public void testAllFilesPresentInPriority() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27854,7 +27124,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SpecialConstructions { @Test public void testAllFilesPresentInSpecialConstructions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27901,7 +27171,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SafeCalls { @Test public void testAllFilesPresentInSafeCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27917,7 +27187,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SamConversions { @Test public void testAllFilesPresentInSamConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28083,7 +27353,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Scopes { @Test public void testAllFilesPresentInScopes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28326,7 +27596,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ClassHeader { @Test public void testAllFilesPresentInClassHeader() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28420,7 +27690,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28513,7 +27783,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir 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$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28648,7 +27918,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInCompanionObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28696,7 +27966,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ProtectedVisibility { @Test public void testAllFilesPresentInProtectedVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28815,7 +28085,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Script { @Test public void testAllFilesPresentInScript() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } } @@ -28825,7 +28095,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Sealed { @Test public void testAllFilesPresentInSealed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29128,7 +28398,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Interfaces { @Test public void testAllFilesPresentInInterfaces() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29163,7 +28433,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SecondaryConstructors { @Test public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29460,7 +28730,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInHeaderCallChecker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29561,7 +28831,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SenselessComparison { @Test public void testAllFilesPresentInSenselessComparison() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29583,7 +28853,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Shadowing { @Test public void testAllFilesPresentInShadowing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29671,7 +28941,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30478,7 +29748,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Castchecks { @Test public void testAllFilesPresentInCastchecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30530,7 +29800,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Elvis { @Test public void testAllFilesPresentInElvis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30558,7 +29828,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30676,7 +29946,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class IntersectionScope { @Test public void testAllFilesPresentInIntersectionScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30782,7 +30052,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Loops { @Test public void testAllFilesPresentInLoops() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31122,7 +30392,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ObjectLiterals { @Test public void testAllFilesPresentInObjectLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31180,7 +30450,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class PublicVals { @Test public void testAllFilesPresentInPublicVals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31256,7 +30526,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Safecalls { @Test public void testAllFilesPresentInSafecalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31452,7 +30722,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31654,7 +30924,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Varnotnull { @Test public void testAllFilesPresentInVarnotnull() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31971,7 +31241,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SourceCompatibility { @Test public void testAllFilesPresentInSourceCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31992,7 +31262,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ApiVersion { @Test public void testAllFilesPresentInApiVersion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32069,7 +31339,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32109,7 +31379,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Subtyping { @Test public void testAllFilesPresentInSubtyping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32239,7 +31509,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Suppress { @Test public void testAllFilesPresentInSuppress() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -32248,7 +31518,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class AllWarnings { @Test public void testAllFilesPresentInAllWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32318,7 +31588,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ManyWarnings { @Test public void testAllFilesPresentInManyWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32382,7 +31652,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class OneWarning { @Test public void testAllFilesPresentInOneWarning() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32471,7 +31741,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32559,7 +31829,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Syntax { @Test public void testAllFilesPresentInSyntax() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32587,7 +31857,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SyntheticExtensions { @Test public void testAllFilesPresentInSyntheticExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -32602,7 +31872,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInJavaProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32804,7 +32074,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SamAdapters { @Test public void testAllFilesPresentInSamAdapters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32905,7 +32175,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TargetedBuiltIns { @Test public void testAllFilesPresentInTargetedBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32950,7 +32220,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class BackwardCompatibility { @Test public void testAllFilesPresentInBackwardCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33003,7 +32273,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TestWithModifiedMockJdk { @Test public void testAllFilesPresentInTestWithModifiedMockJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33031,7 +32301,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TestsWithExplicitApi { @Test public void testAllFilesPresentInTestsWithExplicitApi() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33119,7 +32389,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TestsWithJava17 { @Test public void testAllFilesPresentInTestsWithJava17() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -33128,7 +32398,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class JvmRecord { @Test public void testAllFilesPresentInJvmRecord() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33192,7 +32462,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class SealedClasses { @Test public void testAllFilesPresentInSealedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33233,7 +32503,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ThisAndSuper { @Test public void testAllFilesPresentInThisAndSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33344,7 +32614,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnqualifiedSuper { @Test public void testAllFilesPresentInUnqualifiedSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33433,7 +32703,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TraitWithRequired { @Test public void testAllFilesPresentInTraitWithRequired() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33455,7 +32725,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33645,7 +32915,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInTypealias() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34267,7 +33537,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnderscoresInNumericLiterals { @Test public void testAllFilesPresentInUnderscoresInNumericLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34283,7 +33553,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34299,7 +33569,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnitConversion { @Test public void testAllFilesPresentInUnitConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34369,7 +33639,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class UnsignedTypes { @Test public void testAllFilesPresentInUnsignedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34444,7 +33714,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Conversions { @Test public void testAllFilesPresentInConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34485,7 +33755,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class ValueClasses { @Test public void testAllFilesPresentInValueClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34681,7 +33951,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Varargs { @Test public void testAllFilesPresentInVarargs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34901,7 +34171,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class Variance { @Test public void testAllFilesPresentInVariance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34988,7 +34258,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInPrivateToThis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35041,7 +34311,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir @Test public void testAllFilesPresentInVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35237,7 +34507,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class WarningsForBreakingChanges { @Test public void testAllFilesPresentInWarningsForBreakingChanges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -35246,7 +34516,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35275,7 +34545,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class When { @Test public void testAllFilesPresentInWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35800,7 +35070,7 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir public class WithSubjectVariable { @Test public void testAllFilesPresentInWithSubjectVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated.java new file mode 100644 index 00000000000..99ec399c10b --- /dev/null +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated.java @@ -0,0 +1,747 @@ +/* + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.test.runners; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TargetBackend; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.jupiter.api.Nested; +import org.junit.jupiter.api.Test; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.test.generators.GenerateCompilerTestsKt}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@TestMetadata("compiler/testData/diagnostics/tests/multiplatform") +@TestDataPath("$PROJECT_ROOT") +public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends AbstractFirLightTreeWithActualizerDiagnosticsTest { + @Test + public void testAllFilesPresentInMultiplatform() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @Test + @TestMetadata("expectDataObject.kt") + public void testExpectDataObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.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("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("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("modifierApplicability.kt") + public void testModifierApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); + } + + @Test + @TestMetadata("namedArguments.kt") + public void testNamedArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); + } + + @Test + @TestMetadata("privateTopLevelDeclarations.kt") + public void testPrivateTopLevelDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.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"); + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.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"); + } + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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"); + } + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("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.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias.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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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/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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @Test + @TestMetadata("flexibleTypes.kt") + public void testFlexibleTypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.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/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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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"); + } + } +} diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithPsiTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithPsiTestGenerated.java new file mode 100644 index 00000000000..4712149b68a --- /dev/null +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithPsiTestGenerated.java @@ -0,0 +1,747 @@ +/* + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.test.runners; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TargetBackend; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.jupiter.api.Nested; +import org.junit.jupiter.api.Test; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.test.generators.GenerateCompilerTestsKt}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@TestMetadata("compiler/testData/diagnostics/tests/multiplatform") +@TestDataPath("$PROJECT_ROOT") +public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFirPsiWithActualizerDiagnosticsTest { + @Test + public void testAllFilesPresentInMultiplatform() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @Test + @TestMetadata("expectDataObject.kt") + public void testExpectDataObject() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.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("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("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("modifierApplicability.kt") + public void testModifierApplicability() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); + } + + @Test + @TestMetadata("namedArguments.kt") + public void testNamedArguments() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); + } + + @Test + @TestMetadata("privateTopLevelDeclarations.kt") + public void testPrivateTopLevelDeclarations() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.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"); + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.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"); + } + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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"); + } + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("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.kt") + public void testMorePermissiveVisibilityOnActualViaTypeAlias() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias.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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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/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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true); + } + + @Test + @TestMetadata("flexibleTypes.kt") + public void testFlexibleTypes() throws Exception { + runTest("compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.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/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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, 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"); + } + } +} diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java index bd329993e9a..f1946c5d459 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java @@ -54,7 +54,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInTests() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1179,7 +1179,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Annotations { @Test public void testAllFilesPresentInAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1722,7 +1722,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class AnnotationParameterMustBeConstant { @Test public void testAllFilesPresentInAnnotationParameterMustBeConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1786,7 +1786,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FunctionalTypes { @Test public void testAllFilesPresentInFunctionalTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/functionalTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1820,7 +1820,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Options { @Test public void testAllFilesPresentInOptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -1937,7 +1937,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInTargets() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/options/targets"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2074,7 +2074,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Parameters { @Test public void testAllFilesPresentInParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2125,7 +2125,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Expressions { @Test public void testAllFilesPresentInExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/parameters/expressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2340,7 +2340,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Rendering { @Test public void testAllFilesPresentInRendering() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/rendering"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2422,7 +2422,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Repeatable { @Test public void testAllFilesPresentInRepeatable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2534,7 +2534,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TypeUse { @Test public void testAllFilesPresentInTypeUse() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/typeUse"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2586,7 +2586,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class WithUseSiteTarget { @Test public void testAllFilesPresentInWithUseSiteTarget() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2753,7 +2753,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -2889,7 +2889,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3258,7 +3258,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInAdapted() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/adapted"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3280,7 +3280,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Bound { @Test public void testAllFilesPresentInBound() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/bound"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3410,7 +3410,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInFunction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/function"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3720,7 +3720,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Generic { @Test public void testAllFilesPresentInGeneric() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/generic"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3838,7 +3838,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/property"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -3962,7 +3962,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/resolve"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4260,7 +4260,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Unsupported { @Test public void testAllFilesPresentInUnsupported() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/callableReference/unsupported"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4301,7 +4301,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Cast { @Test public void testAllFilesPresentInCast() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4700,7 +4700,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Bare { @Test public void testAllFilesPresentInBare() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4830,7 +4830,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NeverSucceeds { @Test public void testAllFilesPresentInNeverSucceeds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4871,7 +4871,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CheckArguments { @Test public void testAllFilesPresentInCheckArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -4971,7 +4971,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ClassLiteral { @Test public void testAllFilesPresentInClassLiteral() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classLiteral"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5071,7 +5071,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ClassObjects { @Test public void testAllFilesPresentInClassObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5231,7 +5231,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CollectionLiterals { @Test public void testAllFilesPresentInCollectionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/collectionLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5307,7 +5307,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ConstantEvaluator { @Test public void testAllFilesPresentInConstantEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -5316,7 +5316,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Constant { @Test public void testAllFilesPresentInConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/constant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5470,7 +5470,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class IsPure { @Test public void testAllFilesPresentInIsPure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/isPure"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5510,7 +5510,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UsesVariableAsConstant { @Test public void testAllFilesPresentInUsesVariableAsConstant() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constantEvaluator/usesVariableAsConstant"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5557,7 +5557,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInConstructorConsistency() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/constructorConsistency"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -5723,7 +5723,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInControlFlowAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6344,7 +6344,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DeadCode { @Test public void testAllFilesPresentInDeadCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6504,7 +6504,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DefiniteReturn { @Test public void testAllFilesPresentInDefiniteReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6550,7 +6550,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnnecessaryLateinit { @Test public void testAllFilesPresentInUnnecessaryLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/unnecessaryLateinit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6633,7 +6633,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ControlStructures { @Test public void testAllFilesPresentInControlStructures() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -6961,7 +6961,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Coroutines { @Test public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7006,7 +7006,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CallableReference { @Test public void testAllFilesPresentInCallableReference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/callableReference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7028,7 +7028,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SuspendFunctionAsSupertype { @Test public void testAllFilesPresentInSuspendFunctionAsSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -7037,7 +7037,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class KSuspendFunctionN { @Test public void testAllFilesPresentInKSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7077,7 +7077,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Simple { @Test public void testAllFilesPresentInSimple() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7117,7 +7117,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SuspendFunctionN { @Test public void testAllFilesPresentInSuspendFunctionN() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7159,7 +7159,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CyclicHierarchy { @Test public void testAllFilesPresentInCyclicHierarchy() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7258,7 +7258,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class WithCompanion { @Test public void testAllFilesPresentInWithCompanion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/cyclicHierarchy/withCompanion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7341,7 +7341,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DataClasses { @Test public void testAllFilesPresentInDataClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7561,7 +7561,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DataFlow { @Test public void testAllFilesPresentInDataFlow() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7600,7 +7600,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Assignment { @Test public void testAllFilesPresentInAssignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/assignment"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7640,7 +7640,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -7723,7 +7723,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DataFlowInfoTraversal { @Test public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8044,7 +8044,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Smartcasts { @Test public void testAllFilesPresentInSmartcasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/smartcasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8067,7 +8067,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DataObjects { @Test public void testAllFilesPresentInDataObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dataObjects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8083,7 +8083,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DeclarationChecks { @Test public void testAllFilesPresentInDeclarationChecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8314,7 +8314,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DestructuringDeclarations { @Test public void testAllFilesPresentInDestructuringDeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/destructuringDeclarations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8408,7 +8408,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FiniteBoundRestriction { @Test public void testAllFilesPresentInFiniteBoundRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8436,7 +8436,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NonExpansiveInheritanceRestriction { @Test public void testAllFilesPresentInNonExpansiveInheritanceRestriction() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/declarationChecks/nonExpansiveInheritanceRestriction"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8465,7 +8465,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DefaultArguments { @Test public void testAllFilesPresentInDefaultArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8505,7 +8505,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInDelegatedProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8754,7 +8754,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8872,7 +8872,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ProvideDelegate { @Test public void testAllFilesPresentInProvideDelegate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -8979,7 +8979,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Delegation { @Test public void testAllFilesPresentInDelegation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9072,7 +9072,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Clashes { @Test public void testAllFilesPresentInClashes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/clashes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9106,7 +9106,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CovariantOverrides { @Test public void testAllFilesPresentInCovariantOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/covariantOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9146,7 +9146,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInMemberHidesSupertypeOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9241,7 +9241,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Deparenthesize { @Test public void testAllFilesPresentInDeparenthesize() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9287,7 +9287,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Deprecated { @Test public void testAllFilesPresentInDeprecated() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9530,7 +9530,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DeprecatedSinceKotlin { @Test public void testAllFilesPresentInDeprecatedSinceKotlin() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9595,7 +9595,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DuplicateJvmSignature { @Test public void testAllFilesPresentInDuplicateJvmSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9628,7 +9628,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInAccidentalOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9722,7 +9722,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Bridges { @Test public void testAllFilesPresentInBridges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9750,7 +9750,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Erasure { @Test public void testAllFilesPresentInErasure() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9862,7 +9862,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FinalMembersFromBuiltIns { @Test public void testAllFilesPresentInFinalMembersFromBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/finalMembersFromBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -9884,7 +9884,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FunctionAndProperty { @Test public void testAllFilesPresentInFunctionAndProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10008,7 +10008,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SpecialNames { @Test public void testAllFilesPresentInSpecialNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10072,7 +10072,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/statics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10118,7 +10118,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Synthesized { @Test public void testAllFilesPresentInSynthesized() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/synthesized"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10134,7 +10134,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TraitImpl { @Test public void testAllFilesPresentInTraitImpl() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10169,7 +10169,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DynamicTypes { @Test public void testAllFilesPresentInDynamicTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/dynamicTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10215,7 +10215,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInEnum() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10578,7 +10578,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Entries { @Test public void testAllFilesPresentInEntries() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10684,7 +10684,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inner { @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10767,7 +10767,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Evaluate { @Test public void testAllFilesPresentInEvaluate() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10920,7 +10920,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/evaluate/inlineClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10937,7 +10937,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Exceptions { @Test public void testAllFilesPresentInExceptions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -10959,7 +10959,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ExplicitDefinitelyNotNullableViaIntersection { @Test public void testAllFilesPresentInExplicitDefinitelyNotNullableViaIntersection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11041,7 +11041,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Exposed { @Test public void testAllFilesPresentInExposed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11237,7 +11237,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Extensions { @Test public void testAllFilesPresentInExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11348,7 +11348,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ContextReceivers { @Test public void testAllFilesPresentInContextReceivers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11591,7 +11591,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FromKEEP { @Test public void testAllFilesPresentInFromKEEP() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11681,7 +11681,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class External { @Test public void testAllFilesPresentInExternal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/external"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11697,7 +11697,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FieldRename { @Test public void testAllFilesPresentInFieldRename() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/fieldRename"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11737,7 +11737,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FunInterface { @Test public void testAllFilesPresentInFunInterface() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/funInterface"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11837,7 +11837,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FunctionAsExpression { @Test public void testAllFilesPresentInFunctionAsExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionAsExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -11949,7 +11949,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FunctionLiterals { @Test public void testAllFilesPresentInFunctionLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12156,7 +12156,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DestructuringInLambdas { @Test public void testAllFilesPresentInDestructuringInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12226,7 +12226,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Return { @Test public void testAllFilesPresentInReturn() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12399,7 +12399,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Generics { @Test public void testAllFilesPresentInGenerics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12636,7 +12636,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CapturedParameters { @Test public void testAllFilesPresentInCapturedParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12682,7 +12682,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CyclicBounds { @Test public void testAllFilesPresentInCyclicBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/cyclicBounds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12704,7 +12704,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class InnerClasses { @Test public void testAllFilesPresentInInnerClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12863,7 +12863,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ImplicitArguments { @Test public void testAllFilesPresentInImplicitArguments() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/innerClasses/implicitArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12928,7 +12928,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class MultipleBoundsMemberScope { @Test public void testAllFilesPresentInMultipleBoundsMemberScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -12980,7 +12980,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Nullability { @Test public void testAllFilesPresentInNullability() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/nullability"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13110,7 +13110,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInProjectionsScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/projectionsScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13288,7 +13288,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class StarProjections { @Test public void testAllFilesPresentInStarProjections() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/starProjections"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13334,7 +13334,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TpAsReified { @Test public void testAllFilesPresentInTpAsReified() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13428,7 +13428,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class VarProjection { @Test public void testAllFilesPresentInVarProjection() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13463,7 +13463,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13863,7 +13863,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class IncompleteCode { @Test public void testAllFilesPresentInIncompleteCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -13998,7 +13998,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DiagnosticWithSyntaxError { @Test public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -14117,7 +14117,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -14888,7 +14888,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BuilderInference { @Test public void testAllFilesPresentInBuilderInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15125,7 +15125,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/constraints"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15141,7 +15141,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class StubTypes { @Test public void testAllFilesPresentInStubTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/builderInference/stubTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15224,7 +15224,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CallableReferences { @Test public void testAllFilesPresentInCallableReferences() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15252,7 +15252,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/capturedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15514,7 +15514,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInCoercionToUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/coercionToUnit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15620,7 +15620,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CommonSystem { @Test public void testAllFilesPresentInCommonSystem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/commonSystem"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15792,7 +15792,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Completion { @Test public void testAllFilesPresentInCompletion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15903,7 +15903,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PostponedArgumentsAnalysis { @Test public void testAllFilesPresentInPostponedArgumentsAnalysis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -15974,7 +15974,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Constraints { @Test public void testAllFilesPresentInConstraints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16146,7 +16146,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class EmptyIntersectionTypes { @Test public void testAllFilesPresentInEmptyIntersectionTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16504,7 +16504,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Forks { @Test public void testAllFilesPresentInForks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/forks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16532,7 +16532,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16626,7 +16626,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NothingType { @Test public void testAllFilesPresentInNothingType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/nothingType"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16804,7 +16804,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PublicApproximation { @Test public void testAllFilesPresentInPublicApproximation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/publicApproximation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16892,7 +16892,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class RecursiveCalls { @Test public void testAllFilesPresentInRecursiveCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16908,7 +16908,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class RecursiveLocalFuns { @Test public void testAllFilesPresentInRecursiveLocalFuns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveLocalFuns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -16942,7 +16942,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class RecursiveTypes { @Test public void testAllFilesPresentInRecursiveTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17023,7 +17023,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SelfTypes { @Test public void testAllFilesPresentInSelfTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -17032,7 +17032,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/disabledInferenceOnSelfTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17060,7 +17060,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia 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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes/selfTypes/enabledInferenceOnSelfTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17090,7 +17090,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17538,7 +17538,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ReportingImprovements { @Test public void testAllFilesPresentInReportingImprovements() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17620,7 +17620,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/substitutions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17702,7 +17702,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UpperBounds { @Test public void testAllFilesPresentInUpperBounds() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17779,7 +17779,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Infos { @Test public void testAllFilesPresentInInfos() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -17801,7 +17801,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inline { @Test public void testAllFilesPresentInInline() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18140,7 +18140,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BinaryExpressions { @Test public void testAllFilesPresentInBinaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18198,7 +18198,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NonLocalReturns { @Test public void testAllFilesPresentInNonLocalReturns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonLocalReturns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18316,7 +18316,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NonPublicMember { @Test public void testAllFilesPresentInNonPublicMember() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18386,7 +18386,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Property { @Test public void testAllFilesPresentInProperty() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/property"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18420,7 +18420,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18436,7 +18436,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnaryExpressions { @Test public void testAllFilesPresentInUnaryExpressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18465,7 +18465,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class InlineClasses { @Test public void testAllFilesPresentInInlineClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inlineClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18691,7 +18691,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInInner() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -18964,7 +18964,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19035,7 +19035,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class IntegerLiterals { @Test public void testAllFilesPresentInIntegerLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19075,7 +19075,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInJ_k() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19648,7 +19648,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BrokenCode { @Test public void testAllFilesPresentInBrokenCode() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/brokenCode"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19670,7 +19670,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CollectionOverrides { @Test public void testAllFilesPresentInCollectionOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/collectionOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19788,7 +19788,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Deprecations { @Test public void testAllFilesPresentInDeprecations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/deprecations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19816,7 +19816,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class GenericConstructor { @Test public void testAllFilesPresentInGenericConstructor() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/genericConstructor"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19880,7 +19880,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PolymorphicSignature { @Test public void testAllFilesPresentInPolymorphicSignature() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/polymorphicSignature"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19902,7 +19902,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PrimitiveOverrides { @Test public void testAllFilesPresentInPrimitiveOverrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19930,7 +19930,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PrimitiveOverridesWithInlineClass { @Test public void testAllFilesPresentInPrimitiveOverridesWithInlineClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -19946,7 +19946,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Properties { @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/properties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20004,7 +20004,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Sam { @Test public void testAllFilesPresentInSam() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20110,7 +20110,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SamByProjectedType { @Test public void testAllFilesPresentInSamByProjectedType() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/samByProjectedType"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20150,7 +20150,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SignatureAnnotations { @Test public void testAllFilesPresentInSignatureAnnotations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/signatureAnnotations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20172,7 +20172,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SpecialBuiltIns { @Test public void testAllFilesPresentInSpecialBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/specialBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20194,7 +20194,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Types { @Test public void testAllFilesPresentInTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/types"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20319,7 +20319,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInJava8Overrides() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/java8Overrides"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20383,7 +20383,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Javac { @Test public void testAllFilesPresentInJavac() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20398,7 +20398,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class FieldsResolution { @Test public void testAllFilesPresentInFieldsResolution() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20480,7 +20480,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Imports { @Test public void testAllFilesPresentInImports() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20592,7 +20592,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20704,7 +20704,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inners { @Test public void testAllFilesPresentInInners() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20756,7 +20756,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20796,7 +20796,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20849,7 +20849,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Labels { @Test public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/labels"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20931,7 +20931,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Lateinit { @Test public void testAllFilesPresentInLateinit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20958,7 +20958,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Local { @Test public void testAllFilesPresentInLocal() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/lateinit/local"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -20987,7 +20987,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Library { @Test public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21009,7 +21009,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class LocalClasses { @Test public void testAllFilesPresentInLocalClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/localClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21031,7 +21031,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Modifiers { @Test public void testAllFilesPresentInModifiers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21136,7 +21136,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Const { @Test public void testAllFilesPresentInConst() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/const"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21260,7 +21260,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class OperatorInfix { @Test public void testAllFilesPresentInOperatorInfix() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/modifiers/operatorInfix"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21289,7 +21289,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Multimodule { @Test public void testAllFilesPresentInMultimodule() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21352,7 +21352,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DuplicateClass { @Test public void testAllFilesPresentInDuplicateClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21440,7 +21440,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DuplicateMethod { @Test public void testAllFilesPresentInDuplicateMethod() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateMethod"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21600,7 +21600,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DuplicateSuper { @Test public void testAllFilesPresentInDuplicateSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/duplicateSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21634,7 +21634,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class HiddenClass { @Test public void testAllFilesPresentInHiddenClass() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule/hiddenClass"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -21663,743 +21663,13 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia } } - @Nested - @TestMetadata("compiler/testData/diagnostics/tests/multiplatform") - @TestDataPath("$PROJECT_ROOT") - public class Multiplatform { - @Test - public void testAllFilesPresentInMultiplatform() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); - } - - @Test - @TestMetadata("expectDataObject.kt") - public void testExpectDataObject() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/expectDataObject.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("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("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("modifierApplicability.kt") - public void testModifierApplicability() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/modifierApplicability.kt"); - } - - @Test - @TestMetadata("namedArguments.kt") - public void testNamedArguments() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/namedArguments.kt"); - } - - @Test - @TestMetadata("privateTopLevelDeclarations.kt") - public void testPrivateTopLevelDeclarations() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/privateTopLevelDeclarations.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"); - } - - @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("^(.*)\\.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("constructor.kt") - public void testConstructor() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructor.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"); - } - } - - @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("^(.*)\\.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("^(.*)\\.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("^(.*)\\.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"); - } - } - - @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("^(.*)\\.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("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("^(.*)\\.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("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.kt") - public void testMorePermissiveVisibilityOnActualViaTypeAlias() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/morePermissiveVisibilityOnActualViaTypeAlias.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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); - } - - @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("^(.*)\\.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/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("^(.*)\\.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("^(.*)\\.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("parameterNames.kt") - public void testParameterNames() throws Exception { - runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.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("^(.*)\\.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("^(.*)\\.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/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("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22498,7 +21768,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class MixedNamedPosition { @Test public void testAllFilesPresentInMixedNamedPosition() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/namedArguments/mixedNamedPosition"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22545,7 +21815,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NullabilityAndSmartCasts { @Test public void testAllFilesPresentInNullabilityAndSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22789,7 +22059,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NullableTypes { @Test public void testAllFilesPresentInNullableTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22901,7 +22171,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Numbers { @Test public void testAllFilesPresentInNumbers() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -22995,7 +22265,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Objects { @Test public void testAllFilesPresentInObjects() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23088,7 +22358,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Kt21515 { @Test public void testAllFilesPresentInKt21515() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/objects/kt21515"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23249,7 +22519,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class OperatorRem { @Test public void testAllFilesPresentInOperatorRem() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorRem"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23367,7 +22637,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class OperatorsOverloading { @Test public void testAllFilesPresentInOperatorsOverloading() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23502,7 +22772,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Until { @Test public void testAllFilesPresentInUntil() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/operatorsOverloading/until"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23537,7 +22807,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Overload { @Test public void testAllFilesPresentInOverload() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -23763,7 +23033,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInOverride() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24102,7 +23372,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ClashesOnInheritance { @Test public void testAllFilesPresentInClashesOnInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/clashesOnInheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24184,7 +23454,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DerivedClasses { @Test public void testAllFilesPresentInDerivedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/derivedClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24230,7 +23500,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ParameterNames { @Test public void testAllFilesPresentInParameterNames() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/parameterNames"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24288,7 +23558,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/override/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24323,7 +23593,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ParenthesizedTypes { @Test public void testAllFilesPresentInParenthesizedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/parenthesizedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24351,7 +23621,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PlatformTypes { @Test public void testAllFilesPresentInPlatformTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24486,7 +23756,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CommonSupertype { @Test public void testAllFilesPresentInCommonSupertype() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/commonSupertype"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24544,7 +23814,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class GenericVarianceViolation { @Test public void testAllFilesPresentInGenericVarianceViolation() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/genericVarianceViolation"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24632,7 +23902,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class MethodCall { @Test public void testAllFilesPresentInMethodCall() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/methodCall"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24762,7 +24032,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NotNullTypeParameter { @Test public void testAllFilesPresentInNotNullTypeParameter() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -24814,7 +24084,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NullabilityWarnings { @Test public void testAllFilesPresentInNullabilityWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/nullabilityWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25010,7 +24280,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class RawTypes { @Test public void testAllFilesPresentInRawTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/rawTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25224,7 +24494,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TypeEnhancement { @Test public void testAllFilesPresentInTypeEnhancement() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25265,7 +24535,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PrivateInFile { @Test public void testAllFilesPresentInPrivateInFile() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/privateInFile"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25299,7 +24569,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25350,7 +24620,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BackingField { @Test public void testAllFilesPresentInBackingField() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/backingField"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25366,7 +24636,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class InferenceFromGetters { @Test public void testAllFilesPresentInInferenceFromGetters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/properties/inferenceFromGetters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25443,7 +24713,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class QualifiedExpression { @Test public void testAllFilesPresentInQualifiedExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25519,7 +24789,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInReassignment() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/reassignment"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25583,7 +24853,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInRecovery() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/recovery"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25617,7 +24887,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Redeclarations { @Test public void testAllFilesPresentInRedeclarations() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25842,7 +25112,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ShadowedExtension { @Test public void testAllFilesPresentInShadowedExtension() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/redeclarations/shadowedExtension"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -25937,7 +25207,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Regressions { @Test public void testAllFilesPresentInRegressions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -26900,7 +26170,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Kt7585 { @Test public void testAllFilesPresentInKt7585() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/regressions/kt7585"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -26929,7 +26199,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Resolve { @Test public void testAllFilesPresentInResolve() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27172,7 +26442,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class DslMarker { @Test public void testAllFilesPresentInDslMarker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/dslMarker"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27344,7 +26614,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Invoke { @Test public void testAllFilesPresentInInvoke() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27497,7 +26767,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Errors { @Test public void testAllFilesPresentInErrors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke/errors"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27556,7 +26826,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NestedCalls { @Test public void testAllFilesPresentInNestedCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27620,7 +26890,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class NoCandidates { @Test public void testAllFilesPresentInNoCandidates() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/noCandidates"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27648,7 +26918,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class OverloadConflicts { @Test public void testAllFilesPresentInOverloadConflicts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/overloadConflicts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27778,7 +27048,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Priority { @Test public void testAllFilesPresentInPriority() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/priority"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27866,7 +27136,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SpecialConstructions { @Test public void testAllFilesPresentInSpecialConstructions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27913,7 +27183,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SafeCalls { @Test public void testAllFilesPresentInSafeCalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/safeCalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -27929,7 +27199,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SamConversions { @Test public void testAllFilesPresentInSamConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/samConversions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28095,7 +27365,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Scopes { @Test public void testAllFilesPresentInScopes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28338,7 +27608,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ClassHeader { @Test public void testAllFilesPresentInClassHeader() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/classHeader"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28432,7 +27702,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inheritance { @Test public void testAllFilesPresentInInheritance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28525,7 +27795,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Statics { @Test public void testAllFilesPresentInStatics() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28660,7 +27930,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInCompanionObject() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/inheritance/statics/companionObject"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28708,7 +27978,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ProtectedVisibility { @Test public void testAllFilesPresentInProtectedVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/scopes/protectedVisibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28833,7 +28103,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInScript() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/script"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -28921,7 +28191,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Sealed { @Test public void testAllFilesPresentInSealed() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29224,7 +28494,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Interfaces { @Test public void testAllFilesPresentInInterfaces() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sealed/interfaces"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29259,7 +28529,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SecondaryConstructors { @Test public void testAllFilesPresentInSecondaryConstructors() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29556,7 +28826,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInHeaderCallChecker() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29657,7 +28927,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SenselessComparison { @Test public void testAllFilesPresentInSenselessComparison() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29679,7 +28949,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Shadowing { @Test public void testAllFilesPresentInShadowing() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -29767,7 +29037,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInSmartCasts() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30574,7 +29844,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Castchecks { @Test public void testAllFilesPresentInCastchecks() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/castchecks"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30626,7 +29896,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Elvis { @Test public void testAllFilesPresentInElvis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/elvis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30654,7 +29924,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Inference { @Test public void testAllFilesPresentInInference() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30772,7 +30042,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class IntersectionScope { @Test public void testAllFilesPresentInIntersectionScope() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -30878,7 +30148,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Loops { @Test public void testAllFilesPresentInLoops() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/loops"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31218,7 +30488,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ObjectLiterals { @Test public void testAllFilesPresentInObjectLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/objectLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31276,7 +30546,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class PublicVals { @Test public void testAllFilesPresentInPublicVals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/publicVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31352,7 +30622,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Safecalls { @Test public void testAllFilesPresentInSafecalls() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/safecalls"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31548,7 +30818,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/variables"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -31750,7 +31020,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Varnotnull { @Test public void testAllFilesPresentInVarnotnull() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/varnotnull"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32067,7 +31337,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SourceCompatibility { @Test public void testAllFilesPresentInSourceCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32088,7 +31358,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ApiVersion { @Test public void testAllFilesPresentInApiVersion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32165,7 +31435,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Substitutions { @Test public void testAllFilesPresentInSubstitutions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32205,7 +31475,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Subtyping { @Test public void testAllFilesPresentInSubtyping() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32335,7 +31605,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Suppress { @Test public void testAllFilesPresentInSuppress() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -32344,7 +31614,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class AllWarnings { @Test public void testAllFilesPresentInAllWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32414,7 +31684,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ManyWarnings { @Test public void testAllFilesPresentInManyWarnings() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32478,7 +31748,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class OneWarning { @Test public void testAllFilesPresentInOneWarning() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32567,7 +31837,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SuspendConversion { @Test public void testAllFilesPresentInSuspendConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/suspendConversion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32655,7 +31925,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Syntax { @Test public void testAllFilesPresentInSyntax() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32683,7 +31953,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SyntheticExtensions { @Test public void testAllFilesPresentInSyntheticExtensions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -32698,7 +31968,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInJavaProperties() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -32900,7 +32170,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SamAdapters { @Test public void testAllFilesPresentInSamAdapters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions/samAdapters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33001,7 +32271,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TargetedBuiltIns { @Test public void testAllFilesPresentInTargetedBuiltIns() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33046,7 +32316,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class BackwardCompatibility { @Test public void testAllFilesPresentInBackwardCompatibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33099,7 +32369,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TestWithModifiedMockJdk { @Test public void testAllFilesPresentInTestWithModifiedMockJdk() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testWithModifiedMockJdk"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33127,7 +32397,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TestsWithExplicitApi { @Test public void testAllFilesPresentInTestsWithExplicitApi() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithExplicitApi"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33215,7 +32485,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TestsWithJava17 { @Test public void testAllFilesPresentInTestsWithJava17() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -33224,7 +32494,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class JvmRecord { @Test public void testAllFilesPresentInJvmRecord() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33288,7 +32558,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class SealedClasses { @Test public void testAllFilesPresentInSealedClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/testsWithJava17/sealedClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33329,7 +32599,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ThisAndSuper { @Test public void testAllFilesPresentInThisAndSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33440,7 +32710,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnqualifiedSuper { @Test public void testAllFilesPresentInUnqualifiedSuper() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33529,7 +32799,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TraitWithRequired { @Test public void testAllFilesPresentInTraitWithRequired() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/traitWithRequired"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33551,7 +32821,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class TypeParameters { @Test public void testAllFilesPresentInTypeParameters() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -33741,7 +33011,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInTypealias() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typealias"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34363,7 +33633,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnderscoresInNumericLiterals { @Test public void testAllFilesPresentInUnderscoresInNumericLiterals() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/underscoresInNumericLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34379,7 +33649,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Unit { @Test public void testAllFilesPresentInUnit() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34395,7 +33665,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnitConversion { @Test public void testAllFilesPresentInUnitConversion() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unitConversion"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34465,7 +33735,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class UnsignedTypes { @Test public void testAllFilesPresentInUnsignedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34540,7 +33810,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Conversions { @Test public void testAllFilesPresentInConversions() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/unsignedTypes/conversions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34581,7 +33851,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class ValueClasses { @Test public void testAllFilesPresentInValueClasses() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/valueClasses"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34777,7 +34047,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Varargs { @Test public void testAllFilesPresentInVarargs() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -34997,7 +34267,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class Variance { @Test public void testAllFilesPresentInVariance() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35084,7 +34354,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInPrivateToThis() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/variance/privateToThis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35137,7 +34407,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia @Test public void testAllFilesPresentInVisibility() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35333,7 +34603,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class WarningsForBreakingChanges { @Test public void testAllFilesPresentInWarningsForBreakingChanges() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Nested @@ -35342,7 +34612,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class CapturedTypes { @Test public void testAllFilesPresentInCapturedTypes() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/warningsForBreakingChanges/capturedTypes"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35371,7 +34641,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class When { @Test public void testAllFilesPresentInWhen() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test @@ -35896,7 +35166,7 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia public class WithSubjectVariable { @Test public void testAllFilesPresentInWithSubjectVariable() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/when/withSubjectVariable"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform"); } @Test diff --git a/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/pipeline/convertToIr.kt b/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/pipeline/convertToIr.kt index b7face78118..8138dc62c2f 100644 --- a/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/pipeline/convertToIr.kt +++ b/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/pipeline/convertToIr.kt @@ -10,6 +10,8 @@ import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension import org.jetbrains.kotlin.backend.jvm.serialization.JvmIdSignatureDescriptor import org.jetbrains.kotlin.builtins.DefaultBuiltIns import org.jetbrains.kotlin.builtins.KotlinBuiltIns +import org.jetbrains.kotlin.config.LanguageVersionSettings +import org.jetbrains.kotlin.diagnostics.DiagnosticReporter import org.jetbrains.kotlin.fir.FirSession import org.jetbrains.kotlin.fir.backend.* import org.jetbrains.kotlin.fir.backend.jvm.Fir2IrJvmSpecialAnnotationSymbolProvider @@ -36,6 +38,8 @@ fun FirResult.convertToIrAndActualizeForJvm( fir2IrExtensions: Fir2IrExtensions, irGeneratorExtensions: Collection, linkViaSignatures: Boolean, + diagnosticReporter: DiagnosticReporter, + languageVersionSettings: LanguageVersionSettings, ): Fir2IrResult = this.convertToIrAndActualize( fir2IrExtensions, irGeneratorExtensions, @@ -43,6 +47,8 @@ fun FirResult.convertToIrAndActualizeForJvm( signatureComposerCreator = { JvmIdSignatureDescriptor(JvmDescriptorMangler(null)) }, irMangler = JvmIrMangler, visibilityConverter = FirJvmVisibilityConverter, + diagnosticReporter = diagnosticReporter, + languageVersionSettings = languageVersionSettings, kotlinBuiltIns = DefaultBuiltIns.Instance, ) @@ -54,6 +60,8 @@ fun FirResult.convertToIrAndActualize( irMangler: KotlinMangler.IrMangler, visibilityConverter: Fir2IrVisibilityConverter, kotlinBuiltIns: KotlinBuiltIns, + diagnosticReporter: DiagnosticReporter, + languageVersionSettings: LanguageVersionSettings, fir2IrResultPostCompute: Fir2IrResult.() -> Unit = {}, ): Fir2IrResult { val result: Fir2IrResult @@ -111,9 +119,12 @@ fun FirResult.convertToIrAndActualize( ).also { fir2IrResultPostCompute(it) } + IrActualizer.actualize( result.irModuleFragment, - commonIrOutputs.map { it.irModuleFragment } + commonIrOutputs.map { it.irModuleFragment }, + diagnosticReporter, + languageVersionSettings ) } } diff --git a/compiler/incremental-compilation-impl/src/org/jetbrains/kotlin/incremental/IncrementalFirJvmCompilerRunner.kt b/compiler/incremental-compilation-impl/src/org/jetbrains/kotlin/incremental/IncrementalFirJvmCompilerRunner.kt index 05f16d5c99c..ca9e46b57cf 100644 --- a/compiler/incremental-compilation-impl/src/org/jetbrains/kotlin/incremental/IncrementalFirJvmCompilerRunner.kt +++ b/compiler/incremental-compilation-impl/src/org/jetbrains/kotlin/incremental/IncrementalFirJvmCompilerRunner.kt @@ -275,7 +275,13 @@ class IncrementalFirJvmCompilerRunner( val extensions = JvmFir2IrExtensions(configuration, JvmIrDeserializerImpl(), JvmIrMangler) val irGenerationExtensions = (projectEnvironment as? VfsBasedProjectEnvironment)?.project?.let { IrGenerationExtension.getInstances(it) }.orEmpty() - val platformIrOutput = cycleResult.convertToIrAndActualizeForJvm(extensions, irGenerationExtensions, linkViaSignatures = false) + val platformIrOutput = cycleResult.convertToIrAndActualizeForJvm( + extensions, + irGenerationExtensions, + linkViaSignatures = false, + compilerEnvironment.diagnosticsReporter, + configuration.languageVersionSettings + ) performanceManager?.notifyIRTranslationFinished() diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/CommonBackendErrors.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/CommonBackendErrors.kt new file mode 100644 index 00000000000..994fffd7142 --- /dev/null +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/CommonBackendErrors.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.backend.common + +import com.intellij.psi.PsiElement +import org.jetbrains.kotlin.descriptors.ModuleDescriptor +import org.jetbrains.kotlin.diagnostics.KtDiagnosticFactoryToRendererMap +import org.jetbrains.kotlin.diagnostics.error1 +import org.jetbrains.kotlin.diagnostics.rendering.BaseDiagnosticRendererFactory +import org.jetbrains.kotlin.diagnostics.rendering.CommonRenderers.STRING +import org.jetbrains.kotlin.diagnostics.rendering.Renderers.MODULE_WITH_PLATFORM +import org.jetbrains.kotlin.diagnostics.rendering.RootDiagnosticRendererFactory + +object CommonBackendErrors { + val NO_ACTUAL_FOR_EXPECT by error1() + val MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED by error1() + + init { + RootDiagnosticRendererFactory.registerFactory(KtDefaultCommonBackendErrorMessages) + } +} + +object KtDefaultCommonBackendErrorMessages : BaseDiagnosticRendererFactory() { + override val MAP = KtDiagnosticFactoryToRendererMap("KT").also { map -> + map.put(CommonBackendErrors.NO_ACTUAL_FOR_EXPECT, "Expected {0} has no actual declaration in module {1}", MODULE_WITH_PLATFORM) + map.put(CommonBackendErrors.MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED, "{0} must override {1} because it inherits multiple interface methods of it", STRING) + } +} diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualCollector.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualCollector.kt index 6f14e49b8cf..21c5a495da6 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualCollector.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/ExpectActualCollector.kt @@ -5,6 +5,7 @@ package org.jetbrains.kotlin.backend.common.actualizer +import org.jetbrains.kotlin.KtDiagnosticReporterWithImplicitIrBasedContext import org.jetbrains.kotlin.backend.common.ir.isExpect import org.jetbrains.kotlin.backend.common.ir.isProperExpect import org.jetbrains.kotlin.ir.IrElement @@ -18,7 +19,11 @@ import org.jetbrains.kotlin.ir.visitors.IrElementVisitorVoid import org.jetbrains.kotlin.ir.visitors.acceptChildrenVoid import org.jetbrains.kotlin.name.FqName -internal class ExpectActualCollector(private val mainFragment: IrModuleFragment, private val dependentFragments: List) { +internal class ExpectActualCollector( + private val mainFragment: IrModuleFragment, + private val dependentFragments: List, + private val diagnosticsReporter: KtDiagnosticReporterWithImplicitIrBasedContext +) { fun collect(): Pair, Map> { val result = mutableMapOf() // Collect and link classifiers at first to make it possible to expand type aliases on the callables linking @@ -38,7 +43,7 @@ internal class ExpectActualCollector(private val mainFragment: IrModuleFragment, ActualClassifiersCollector(actualClassifiers, allActualDeclarations, typeAliasMap).visitModuleFragment(fragment, false) } - val linkCollector = ClassifiersLinkCollector(this, actualClassifiers) + val linkCollector = ClassifiersLinkCollector(this, actualClassifiers, diagnosticsReporter) dependentFragments.forEach { linkCollector.visitModuleFragment(it) } return allActualDeclarations to typeAliasMap @@ -51,7 +56,7 @@ internal class ExpectActualCollector(private val mainFragment: IrModuleFragment, val actualMembers = mutableMapOf() collectActualCallables(this, actualMembers, allActualDeclarations) - val collector = CallablesLinkCollector(this, actualMembers, typeAliasMap) + val collector = CallablesLinkCollector(this, actualMembers, typeAliasMap, diagnosticsReporter) dependentFragments.forEach { collector.visitModuleFragment(it) } } } @@ -106,14 +111,15 @@ private class ActualClassifiersCollector( private class ClassifiersLinkCollector( private val expectActualMap: MutableMap, - private val actualClassifiers: Map + private val actualClassifiers: Map, + private val diagnosticsReporter: KtDiagnosticReporterWithImplicitIrBasedContext ) : IrElementVisitorVoid { - private fun addLinkOrReportMissing(expectElement: IrSymbolOwner, actualTypeId: FqName) { + private fun addLinkOrReportMissing(expectElement: IrDeclaration, actualTypeId: FqName) { val actualClassifier = actualClassifiers[actualTypeId] if (actualClassifier != null) { expectActualMap[expectElement.symbol] = actualClassifier } else if (!expectElement.containsOptionalExpectation()) { - reportMissingActual(expectElement) + diagnosticsReporter.reportMissingActual(expectElement) } } @@ -165,7 +171,8 @@ private fun collectActualCallables( private class CallablesLinkCollector( private val expectActualMap: MutableMap, private val actualMembers: Map, - private val typeAliasMap: Map + private val typeAliasMap: Map, + private val diagnosticsReporter: KtDiagnosticReporterWithImplicitIrBasedContext ) : IrElementVisitorVoid { override fun visitFunction(declaration: IrFunction) = addLink(declaration) @@ -182,7 +189,7 @@ private class CallablesLinkCollector( declaration.setter?.symbol?.let { expectActualMap[it] = actualProperty.setter!!.symbol } } } else if (!declaration.parent.containsOptionalExpectation()) { - reportMissingActual(declaration) + diagnosticsReporter.reportMissingActual(declaration) } } diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizer.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizer.kt index f8646949c80..f3495b11bcf 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizer.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizer.kt @@ -5,17 +5,25 @@ package org.jetbrains.kotlin.backend.common.actualizer -import org.jetbrains.kotlin.backend.common.ir.isProperExpect +import org.jetbrains.kotlin.KtDiagnosticReporterWithImplicitIrBasedContext +import org.jetbrains.kotlin.config.LanguageVersionSettings +import org.jetbrains.kotlin.diagnostics.DiagnosticReporter import org.jetbrains.kotlin.ir.declarations.* import org.jetbrains.kotlin.ir.symbols.IrSymbol import org.jetbrains.kotlin.name.FqName object IrActualizer { - fun actualize(mainFragment: IrModuleFragment, dependentFragments: List) { - val (expectActualMap, typeAliasMap) = ExpectActualCollector(mainFragment, dependentFragments).collect() + fun actualize( + mainFragment: IrModuleFragment, + dependentFragments: List, + diagnosticReporter: DiagnosticReporter, + languageVersionSettings: LanguageVersionSettings + ) { + val ktDiagnosticReporter = KtDiagnosticReporterWithImplicitIrBasedContext(diagnosticReporter, languageVersionSettings) + val (expectActualMap, typeAliasMap) = ExpectActualCollector(mainFragment, dependentFragments, ktDiagnosticReporter).collect() FunctionDefaultParametersActualizer(expectActualMap).actualize() removeExpectDeclarations(dependentFragments, expectActualMap) - addMissingFakeOverrides(expectActualMap, dependentFragments, typeAliasMap) + addMissingFakeOverrides(expectActualMap, dependentFragments, typeAliasMap, ktDiagnosticReporter) linkExpectToActual(expectActualMap, dependentFragments) mergeIrFragments(mainFragment, dependentFragments) } @@ -40,9 +48,10 @@ object IrActualizer { private fun addMissingFakeOverrides( expectActualMap: Map, dependentFragments: List, - typeAliasMap: Map + typeAliasMap: Map, + diagnosticsReporter: KtDiagnosticReporterWithImplicitIrBasedContext ) { - MissingFakeOverridesAdder(expectActualMap, typeAliasMap).apply { dependentFragments.forEach { visitModuleFragment(it) } } + MissingFakeOverridesAdder(expectActualMap, typeAliasMap, diagnosticsReporter).apply { dependentFragments.forEach { visitModuleFragment(it) } } } private fun linkExpectToActual(expectActualMap: Map, dependentFragments: List) { diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizerUtils.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizerUtils.kt index 964ea22e7f1..9bd603cdadd 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizerUtils.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/IrActualizerUtils.kt @@ -5,18 +5,18 @@ package org.jetbrains.kotlin.backend.common.actualizer +import org.jetbrains.kotlin.KtDiagnosticReporterWithImplicitIrBasedContext +import org.jetbrains.kotlin.backend.common.CommonBackendErrors import org.jetbrains.kotlin.descriptors.ClassKind import org.jetbrains.kotlin.ir.IrElement -import org.jetbrains.kotlin.ir.declarations.IrClass -import org.jetbrains.kotlin.ir.declarations.IrDeclarationBase -import org.jetbrains.kotlin.ir.declarations.IrDeclarationWithName -import org.jetbrains.kotlin.ir.declarations.IrFunction +import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI +import org.jetbrains.kotlin.ir.declarations.* import org.jetbrains.kotlin.ir.symbols.IrSymbol import org.jetbrains.kotlin.ir.types.IrType import org.jetbrains.kotlin.ir.types.classifierOrFail import org.jetbrains.kotlin.ir.util.hasAnnotation import org.jetbrains.kotlin.ir.util.kotlinFqName -import org.jetbrains.kotlin.ir.util.render +import org.jetbrains.kotlin.ir.util.module import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.resolve.multiplatform.OptionalAnnotationUtil @@ -71,14 +71,13 @@ private fun appendElementFullName( } } -fun reportMissingActual(irElement: IrElement) { - // TODO: setup diagnostics reporting - throw AssertionError("Missing actual for ${irElement.render()}") +@OptIn(ObsoleteDescriptorBasedAPI::class) +fun KtDiagnosticReporterWithImplicitIrBasedContext.reportMissingActual(irDeclaration: IrDeclaration) { + at(irDeclaration).report(CommonBackendErrors.NO_ACTUAL_FOR_EXPECT, irDeclaration.module) } -fun reportManyInterfacesMembersNotImplemented(declaration: IrClass, actualMember: IrDeclarationWithName) { - // TODO: setup diagnostics reporting - throw AssertionError("${declaration.name} must override ${actualMember.name} because it inherits multiple interface methods of it") +fun KtDiagnosticReporterWithImplicitIrBasedContext.reportManyInterfacesMembersNotImplemented(declaration: IrClass, actualMember: IrDeclarationWithName) { + at(declaration).report(CommonBackendErrors.MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED, actualMember.name.asString()) } internal fun IrElement.containsOptionalExpectation(): Boolean { diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/MissingFakeOverridesAdder.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/MissingFakeOverridesAdder.kt index 186c3497edc..59492b231a3 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/MissingFakeOverridesAdder.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/actualizer/MissingFakeOverridesAdder.kt @@ -5,6 +5,7 @@ package org.jetbrains.kotlin.backend.common.actualizer +import org.jetbrains.kotlin.KtDiagnosticReporterWithImplicitIrBasedContext import org.jetbrains.kotlin.ir.IrElement import org.jetbrains.kotlin.ir.builders.declarations.buildFun import org.jetbrains.kotlin.ir.builders.declarations.buildProperty @@ -22,7 +23,8 @@ import org.jetbrains.kotlin.name.FqName class MissingFakeOverridesAdder( private val expectActualMap: Map, - private val typeAliasMap: Map + private val typeAliasMap: Map, + private val diagnosticsReporter: KtDiagnosticReporterWithImplicitIrBasedContext ) : IrElementVisitorVoid { override fun visitClass(declaration: IrClass) { if (!declaration.isExpect) { @@ -75,7 +77,7 @@ class MissingFakeOverridesAdder( is IrFunctionImpl, is IrPropertyImpl -> { if (members[generateIrElementFullName(actualMember, expectActualMap, typeAliasMap)] != null) { - reportManyInterfacesMembersNotImplemented(declaration, actualMember as IrDeclarationWithName) + diagnosticsReporter.reportManyInterfacesMembersNotImplemented(declaration, actualMember as IrDeclarationWithName) return } diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.fir.kt new file mode 100644 index 00000000000..4c20547e9b6 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.fir.kt @@ -0,0 +1,34 @@ +// MODULE: m1-common +// FILE: common.kt + +expect enum class Foo { + ENTRY +} + +expect enum class _TimeUnit + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual typealias Foo = FooImpl + +actual typealias _TimeUnit = java.util.concurrent.TimeUnit + +// FILE: FooImpl.java + +public enum FooImpl { + ENTRY("OK") { + @Override + public String getResult() { + return value; + } + }; + + protected final String value; + + public FooImpl(String value) { + this.value = value; + } + + public abstract String getResult(); +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt index 154f409fd3d..727c918af54 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/javaEnum.kt @@ -1,6 +1,6 @@ -// FIR_IDENTICAL // MODULE: m1-common // FILE: common.kt + expect enum class Foo { ENTRY } @@ -9,11 +9,13 @@ expect enum class _TimeUnit // MODULE: m2-jvm()()(m1-common) // FILE: jvm.kt + actual typealias Foo = FooImpl actual typealias _TimeUnit = java.util.concurrent.TimeUnit // FILE: FooImpl.java + public enum FooImpl { ENTRY("OK") { @Override diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.fir.kt new file mode 100644 index 00000000000..97fa2a7c4d1 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.fir.kt @@ -0,0 +1,17 @@ +// MODULE: m1-common +// FILE: common.kt + +expect enum class Foo { + ENTRY1, + ENTRY2, + ENTRY3; +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual enum class Foo(val x: String) { + ENTRY1("1"), + ENTRY2("2"), + ENTRY3("3"); +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt b/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt index 945a7312ef3..5261c676cf1 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/enum/simpleEnum.kt @@ -1,6 +1,6 @@ -// FIR_IDENTICAL // MODULE: m1-common // FILE: common.kt + expect enum class Foo { ENTRY1, ENTRY2, @@ -9,6 +9,7 @@ expect enum class Foo { // MODULE: m2-jvm()()(m1-common) // FILE: jvm.kt + actual enum class Foo(val x: String) { ENTRY1("1"), ENTRY2("2"), diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.fir.kt index 119fd39e8bf..749fc478b53 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDefaultValuesInAnnotationViaTypealias.fir.kt @@ -6,8 +6,8 @@ expect annotation class Foo2 expect annotation class Foo3 expect annotation class Foo4 expect annotation class Foo5() -expect annotation class Foo6() -expect annotation class Foo7() +expect annotation class Foo6() +expect annotation class Foo7() @Foo1 fun foo() {} diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.fir.kt index 649563e8234..4e622f964e4 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.fir.kt @@ -5,9 +5,9 @@ expect class Foo1 expect class Foo2 expect class Foo3 -expect class Bar1() -expect class Bar2() -expect class Bar3() +expect class Bar1() +expect class Bar2() +expect class Bar3() expect class Bar4() expect class Bar5() expect class Bar6() diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.fir.kt index adc51bdb183..81e53a1036a 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/expectDeclarationWithStrongIncompatibilities.fir.kt @@ -3,12 +3,12 @@ // FILE: common.kt expect fun foo1(x: Int) -expect fun foo2(x: Int) +expect fun foo2(x: Int) expect class NoArgConstructor() expect fun foo3(): Int -expect fun foo4(): Int +expect fun foo4(): Int // MODULE: m2-jvm()()(m1-common) diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.fir.kt index 73044e2c9cd..e43fb12bdaf 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/headerClass/nestedClassesWithErrors.fir.kt @@ -15,7 +15,7 @@ expect class C { } expect class D { - class N + class N } expect class E { diff --git a/compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.fir.kt index 5745558b1fb..14fd83841bc 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.fir.kt @@ -2,7 +2,7 @@ // FILE: common.kt class Foo { - expect fun bar(): String + expect fun bar(): String } // MODULE: m1-jvm()()(m1-common) diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.fir.kt index 75505abc569..3897b638cfb 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.fir.kt @@ -1,11 +1,12 @@ // MODULE: common // TARGET_PLATFORM: Common -expect class CommonClass { - fun memberFun() - val memberProp: Int - class Nested - inner class Inner -} + +expect class CommonClass { + fun memberFun() + val memberProp: Int + class Nested + inner class Inner +} actual class CommonClass { actual fun memberFun() {} actual val memberProp: Int = 42 @@ -13,15 +14,16 @@ expect class CommonClass { actual inner class Inner } -expect fun commonFun() +expect fun commonFun() actual fun commonFun() {} -expect val commonProperty: String +expect val commonProperty: String actual val commonProperty: String get() = "hello" // MODULE: intermediate()()(common) // TARGET_PLATFORM: Common + expect class IntermediateClass { fun memberFun() val memberProp: Int @@ -43,6 +45,7 @@ expect val intermediateProperty: String get() = "hello" // MODULE: main()()(intermediate) + expect class PlatformClass { fun memberFun() val memberProp: Int diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt index 63ec3b9f719..470a2c7a0e2 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModule.kt @@ -1,5 +1,6 @@ // MODULE: common // TARGET_PLATFORM: Common + expect class CommonClass { fun memberFun() val memberProp: Int @@ -22,6 +23,7 @@ actual val commonProperty: String // MODULE: intermediate()()(common) // TARGET_PLATFORM: Common + expect class IntermediateClass { fun memberFun() val memberProp: Int @@ -43,6 +45,7 @@ actual val intermediateProperty: Stri get() = "hello" // MODULE: main()()(intermediate) + expect class PlatformClass { fun memberFun() val memberProp: Int diff --git a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.fir.kt index cafba300f0c..798233848b2 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/expectAndActualInTheSameModuleIncompatibilities.fir.kt @@ -4,7 +4,7 @@ expect fun parameterCount() fun parameterCount(p: String) {} -expect fun parameterCount2() +expect fun parameterCount2() actual fun parameterCount2(p: String) {} expect fun callableKind(): Int @@ -13,9 +13,9 @@ val callableKind: Int = 1 expect fun typeParameterCount() fun typeParameterCount() {} -expect enum class EnumEntries { - ONE, TWO; -} +expect enum class EnumEntries { + ONE, TWO; +} actual enum class EnumEntries { ONE; } diff --git a/compiler/testData/diagnostics/tests/multiplatform/implDynamic.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/implDynamic.fir.kt new file mode 100644 index 00000000000..7d4289cd403 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/implDynamic.fir.kt @@ -0,0 +1,28 @@ +// !DIAGNOSTICS: -UNSUPPORTED +// MODULE: m1-common +// FILE: common.kt + +expect class Foo { + constructor(p: Any) + + fun f1(s: String): Int + + fun f2(s: List?): MutableMap + + fun > f3(t: T): T? +} + +// MODULE: m2-js()()(m1-common) +// FILE: js.kt + +// TODO: do not suppress UNSUPPORTED once JS files in multi-platform tests are analyzed with JS analyzer facade + +actual class Foo { + actual constructor(p: dynamic) {} + + actual fun f1(s: dynamic): dynamic = null!! + + actual fun f2(s: dynamic): MutableMap = null!! + + actual fun > f3(t: T): dynamic = null!! +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt b/compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt index 7ecc503897e..7d4289cd403 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/implDynamic.kt @@ -1,4 +1,3 @@ -// FIR_IDENTICAL // !DIAGNOSTICS: -UNSUPPORTED // MODULE: m1-common // FILE: common.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.fir.kt new file mode 100644 index 00000000000..a022c3e79db --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.fir.kt @@ -0,0 +1,31 @@ +// MODULE: m1-common +// FILE: common.kt + +expect class Foo { + constructor(p: Any) + + fun f1(s: String): Int + + fun f2(s: List?): MutableMap + + fun > f3(t: T): T? +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: FooImpl.java + +import java.util.*; + +public class FooImpl { + public FooImpl(Object p) {} + + public final int f1(String s) { return 0; } + + public final Map f2(List s) { return null; } + + public final > T f3(T t) { return null; } +} + +// FILE: jvm.kt + +actual typealias Foo = FooImpl diff --git a/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt b/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt index 78871917df9..8c344f239ed 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/java/flexibleTypes.kt @@ -1,4 +1,3 @@ -// FIR_IDENTICAL // MODULE: m1-common // FILE: common.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.fir.kt new file mode 100644 index 00000000000..f91761cd233 --- /dev/null +++ b/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.fir.kt @@ -0,0 +1,16 @@ +// MODULE: m1-common +// FILE: common.kt + +expect sealed class Presence { + object Online: Presence + object Offline: Presence +} + +// MODULE: m2-jvm()()(m1-common) +// FILE: jvm.kt + +actual typealias Presence = P +sealed class P { + object Online : P() + object Offline : P() +} diff --git a/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt b/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt index e62094269af..0325dfbfc1b 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/sealedTypeAlias.kt @@ -1,4 +1,3 @@ -// FIR_IDENTICAL // MODULE: m1-common // FILE: common.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.fir.kt index 7518eaab7ac..3747e4ca148 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.fir.kt @@ -2,7 +2,7 @@ // FILE: common.kt package common -expect fun foo() +expect fun foo() // MODULE: m2-jvm()()(m1-common) // FILE: jvm.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.fir.kt index 8d3120838af..37868b85876 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/valueParameterModifiers.fir.kt @@ -10,8 +10,8 @@ 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) +expect fun f7(x: Any) +expect fun f8(vararg x: Any) // MODULE: m2-jvm()()(m1-common) // FILE: jvm.kt diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBackendDiagnosticsHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBackendDiagnosticsHandler.kt index 728eb56f730..7185f177692 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBackendDiagnosticsHandler.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBackendDiagnosticsHandler.kt @@ -80,7 +80,7 @@ class JvmBackendDiagnosticsHandler(testServices: TestServices) : JvmBinaryArtifa val ktDiagnostics = ktDiagnosticReporter.diagnosticsByFilePath[ktFile.virtualFilePath] ?: continue ktDiagnostics.forEach { val metaInfos = - it.toMetaInfos(testFile, globalMetadataInfoHandler, false, false) + it.toMetaInfos(module, testFile, globalMetadataInfoHandler, false, false) globalMetadataInfoHandler.addMetadataInfosForFile(testFile, metaInfos) } } diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/ActualizerOnlyFacade.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/ActualizerOnlyFacade.kt new file mode 100644 index 00000000000..3b5676a58c4 --- /dev/null +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/ActualizerOnlyFacade.kt @@ -0,0 +1,48 @@ +/* + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.test.backend.ir + +import org.jetbrains.kotlin.backend.common.actualizer.IrActualizer +import org.jetbrains.kotlin.config.LanguageFeature +import org.jetbrains.kotlin.config.languageVersionSettings +import org.jetbrains.kotlin.test.model.* +import org.jetbrains.kotlin.test.services.TestServices +import org.jetbrains.kotlin.test.services.compilerConfigurationProvider + +class ActualizerOnlyFacade( + val testServices: TestServices, +) : AbstractTestFacade() { + override fun transform(module: TestModule, inputArtifact: IrBackendInput): IrBackendInput { + if (module.useIrActualizer()) { + when (inputArtifact) { + is IrBackendInput.JvmIrBackendInput -> + IrActualizer.actualize( + inputArtifact.backendInput.irModuleFragment, + inputArtifact.dependentInputs.map { it.irModuleFragment }, + inputArtifact.state.diagnosticReporter, + inputArtifact.state.languageVersionSettings + ) + is IrBackendInput.JsIrBackendInput -> + IrActualizer.actualize( + inputArtifact.mainModuleFragment, + inputArtifact.dependentModuleFragments, + inputArtifact.diagnosticsCollector, + testServices.compilerConfigurationProvider.getCompilerConfiguration(module).languageVersionSettings + ) + } + } + return inputArtifact + } + + private fun TestModule.useIrActualizer(): Boolean { + return frontendKind == FrontendKinds.FIR && languageVersionSettings.supportsFeature(LanguageFeature.MultiPlatformProjects) + } + + override val inputKind: TestArtifactKind = BackendKinds.IrBackend + override val outputKind: TestArtifactKind = BackendKinds.IrBackend + + override fun shouldRunAnalysis(module: TestModule): Boolean = true +} \ No newline at end of file diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrBackendInput.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrBackendInput.kt index 42ea6578900..6e53d23ea98 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrBackendInput.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrBackendInput.kt @@ -10,6 +10,7 @@ import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext import org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory import org.jetbrains.kotlin.codegen.state.GenerationState import org.jetbrains.kotlin.descriptors.DeclarationDescriptor +import org.jetbrains.kotlin.diagnostics.impl.BaseDiagnosticsCollector import org.jetbrains.kotlin.ir.backend.js.KotlinFileSerializedData import org.jetbrains.kotlin.ir.declarations.IrModuleFragment import org.jetbrains.kotlin.ir.symbols.IrSymbol @@ -36,6 +37,7 @@ sealed class IrBackendInput : ResultingArtifact.BackendInput() { val sourceFiles: List, val icData: List, val expectDescriptorToSymbol: MutableMap, // TODO: abstract from descriptors + val diagnosticsCollector: BaseDiagnosticsCollector, val hasErrors: Boolean, val serializeSingleFile: (KtSourceFile) -> ProtoBuf.PackageFragment ) : IrBackendInput() { diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrDiagnosticsHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrDiagnosticsHandler.kt new file mode 100644 index 00000000000..5296db98d7d --- /dev/null +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/IrDiagnosticsHandler.kt @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.test.backend.ir + +import org.jetbrains.kotlin.diagnostics.impl.BaseDiagnosticsCollector +import org.jetbrains.kotlin.test.FirParser +import org.jetbrains.kotlin.test.backend.handlers.AbstractIrHandler +import org.jetbrains.kotlin.test.directives.FirDiagnosticsDirectives +import org.jetbrains.kotlin.test.directives.model.singleOrZeroValue +import org.jetbrains.kotlin.test.frontend.fir.handlers.diagnosticCodeMetaInfos +import org.jetbrains.kotlin.test.model.TestModule +import org.jetbrains.kotlin.test.services.* + +class IrDiagnosticsHandler(testServices: TestServices) : AbstractIrHandler(testServices) { + private val globalMetadataInfoHandler: GlobalMetadataInfoHandler + get() = testServices.globalMetadataInfoHandler + + private val diagnosticsService: DiagnosticsService + get() = testServices.diagnosticsService + + override fun processModule(module: TestModule, info: IrBackendInput) { + val diagnosticsByFilePath = when (info) { + is IrBackendInput.JvmIrBackendInput -> (info.state.diagnosticReporter as BaseDiagnosticsCollector).diagnosticsByFilePath + is IrBackendInput.JsIrBackendInput -> info.diagnosticsCollector.diagnosticsByFilePath + } + for (currentModule in testServices.moduleStructure.modules) { + val lightTreeComparingModeEnabled = FirDiagnosticsDirectives.COMPARE_WITH_LIGHT_TREE in currentModule.directives + val lightTreeEnabled = currentModule.directives.singleOrZeroValue(FirDiagnosticsDirectives.FIR_PARSER) == FirParser.LightTree + for (file in currentModule.files) { + val diagnostics = diagnosticsByFilePath["/" + file.relativePath] + if (diagnostics != null && diagnostics.isNotEmpty()) { + val diagnosticsMetadataInfos = + diagnostics.diagnosticCodeMetaInfos( + module, file, diagnosticsService, globalMetadataInfoHandler, + lightTreeEnabled, lightTreeComparingModeEnabled + ) + globalMetadataInfoHandler.addMetadataInfosForFile(file, diagnosticsMetadataInfos) + } + } + } + } + + override fun processAfterAllModules(someAssertionWasFailed: Boolean) {} +} \ No newline at end of file diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/JvmIrBackendFacade.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/JvmIrBackendFacade.kt index 8554b781ec4..63b81e52141 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/JvmIrBackendFacade.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/ir/JvmIrBackendFacade.kt @@ -36,7 +36,12 @@ class JvmIrBackendFacade( } if (module.useIrActualizer()) { - IrActualizer.actualize(inputArtifact.backendInput.irModuleFragment, inputArtifact.dependentInputs.map { it.irModuleFragment }) + IrActualizer.actualize( + inputArtifact.backendInput.irModuleFragment, + inputArtifact.dependentInputs.map { it.irModuleFragment }, + inputArtifact.state.diagnosticReporter, + inputArtifact.state.languageVersionSettings + ) } val state = inputArtifact.state diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/classic/ClassicFrontend2IrConverter.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/classic/ClassicFrontend2IrConverter.kt index ac878329875..ea1c91c8e71 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/classic/ClassicFrontend2IrConverter.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/classic/ClassicFrontend2IrConverter.kt @@ -110,6 +110,7 @@ class ClassicFrontend2IrConverter( sourceFiles.map(::KtPsiSourceFile), icData, expectDescriptorToSymbol = expectDescriptorToSymbol, + diagnosticsCollector = DiagnosticReporterFactory.createReporter(), hasErrors ) { file -> metadataSerializer.serializeScope(file, analysisResult.bindingContext, moduleFragment.descriptor) diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/Fir2IrJsResultsConverter.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/Fir2IrJsResultsConverter.kt index e9076045187..ad065b94f63 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/Fir2IrJsResultsConverter.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/Fir2IrJsResultsConverter.kt @@ -14,6 +14,7 @@ import org.jetbrains.kotlin.config.LanguageVersionSettings import org.jetbrains.kotlin.config.languageVersionSettings import org.jetbrains.kotlin.descriptors.ModuleDescriptor import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl +import org.jetbrains.kotlin.diagnostics.DiagnosticReporterFactory import org.jetbrains.kotlin.diagnostics.KtDiagnostic import org.jetbrains.kotlin.diagnostics.Severity import org.jetbrains.kotlin.fir.AbstractFirAnalyzerFacade @@ -114,6 +115,7 @@ class Fir2IrJsResultsConverter( sourceFiles, configuration.incrementalDataProvider?.getSerializedData(sourceFiles) ?: emptyList(), expectDescriptorToSymbol = mutableMapOf(), + diagnosticsCollector = DiagnosticReporterFactory.createReporter(), hasErrors = hasErrors ) { file -> val (firFile, components) = firFilesAndComponentsBySourceFile[file] diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt index 20de060ea3e..9677194f0d6 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt @@ -15,14 +15,11 @@ import org.jetbrains.kotlin.diagnostics.rendering.Renderers import org.jetbrains.kotlin.fir.* import org.jetbrains.kotlin.fir.analysis.diagnostics.FirErrors import org.jetbrains.kotlin.fir.builder.FirSyntaxErrors -import org.jetbrains.kotlin.fir.declarations.FirCallableDeclaration -import org.jetbrains.kotlin.fir.declarations.FirDeclarationOrigin -import org.jetbrains.kotlin.fir.declarations.FirFile -import org.jetbrains.kotlin.fir.declarations.FirFunction -import org.jetbrains.kotlin.fir.declarations.FirProperty +import org.jetbrains.kotlin.fir.declarations.* import org.jetbrains.kotlin.fir.expressions.* -import org.jetbrains.kotlin.fir.references.* -import org.jetbrains.kotlin.fir.renderForDebugInfo +import org.jetbrains.kotlin.fir.references.FirNamedReference +import org.jetbrains.kotlin.fir.references.FirResolvedNamedReference +import org.jetbrains.kotlin.fir.references.toResolvedCallableSymbol import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol import org.jetbrains.kotlin.fir.symbols.SymbolInternals import org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol @@ -31,6 +28,10 @@ import org.jetbrains.kotlin.fir.symbols.impl.FirFunctionSymbol import org.jetbrains.kotlin.fir.types.* import org.jetbrains.kotlin.fir.visitors.FirDefaultVisitorVoid import org.jetbrains.kotlin.name.FqNameUnsafe +import org.jetbrains.kotlin.platform.isCommon +import org.jetbrains.kotlin.platform.isJs +import org.jetbrains.kotlin.platform.jvm.isJvm +import org.jetbrains.kotlin.platform.konan.isNative import org.jetbrains.kotlin.psi.KtBinaryExpression import org.jetbrains.kotlin.psi.KtQualifiedExpression import org.jetbrains.kotlin.resolve.AnalyzingUtils @@ -79,25 +80,14 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes if (LanguageSettingsDirectives.API_VERSION in currentModule.directives) { diagnostics = diagnostics.filter { it.factory.name != FirErrors.NEWER_VERSION_IN_SINCE_KOTLIN.name } } - val diagnosticsMetadataInfos = diagnostics.flatMap { diagnostic -> - if (!diagnosticsService.shouldRenderDiagnostic( - currentModule, - diagnostic.factory.name, - diagnostic.severity - ) - ) return@flatMap emptyList() - // SYNTAX errors will be reported later - if (diagnostic.factory == FirSyntaxErrors.SYNTAX) return@flatMap emptyList() - if (!diagnostic.isValid) return@flatMap emptyList() - diagnostic.toMetaInfos( - file, - globalMetadataInfoHandler, - lightTreeEnabled, - lightTreeComparingModeEnabled + val diagnosticsMetadataInfos = + diagnostics.diagnosticCodeMetaInfos( + currentModule, file, + diagnosticsService, globalMetadataInfoHandler, + lightTreeEnabled, lightTreeComparingModeEnabled ) - } globalMetadataInfoHandler.addMetadataInfosForFile(file, diagnosticsMetadataInfos) - collectSyntaxDiagnostics(file, firFile, lightTreeEnabled, lightTreeComparingModeEnabled) + collectSyntaxDiagnostics(currentModule, file, firFile, lightTreeEnabled, lightTreeComparingModeEnabled) collectDebugInfoDiagnostics(currentModule, file, firFile, lightTreeEnabled, lightTreeComparingModeEnabled) } } @@ -105,6 +95,7 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes @OptIn(InternalDiagnosticFactoryMethod::class) private fun collectSyntaxDiagnostics( + module: TestModule, testFile: TestFile, firFile: FirFile, lightTreeEnabled: Boolean, @@ -114,6 +105,7 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes AnalyzingUtils.getSyntaxErrorRanges(firFile.psi!!).flatMap { FirSyntaxErrors.SYNTAX.on(KtRealPsiSourceElement(it), positioningStrategy = null) .toMetaInfos( + module, testFile, globalMetadataInfoHandler1 = globalMetadataInfoHandler, lightTreeEnabled, @@ -124,6 +116,7 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes collectLightTreeSyntaxErrors(firFile).flatMap { sourceElement -> FirSyntaxErrors.SYNTAX.on(sourceElement, positioningStrategy = null) .toMetaInfos( + module, testFile, globalMetadataInfoHandler1 = globalMetadataInfoHandler, lightTreeEnabled, @@ -237,6 +230,7 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes val codeMetaInfos = result.flatMap { diagnostic -> diagnostic.toMetaInfos( + module, testFile, globalMetadataInfoHandler, lightTreeEnabled, @@ -323,6 +317,32 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes override fun processAfterAllModules(someAssertionWasFailed: Boolean) {} } +fun List.diagnosticCodeMetaInfos( + module: TestModule, + file: TestFile, + diagnosticsService: DiagnosticsService, + globalMetadataInfoHandler: GlobalMetadataInfoHandler, + lightTreeEnabled: Boolean, + lightTreeComparingModeEnabled: Boolean +): List = flatMap { diagnostic -> + if (!diagnosticsService.shouldRenderDiagnostic( + module, + diagnostic.factory.name, + diagnostic.severity + ) + ) return@flatMap emptyList() + // SYNTAX errors will be reported later + if (diagnostic.factory == FirSyntaxErrors.SYNTAX) return@flatMap emptyList() + if (!diagnostic.isValid) return@flatMap emptyList() + diagnostic.toMetaInfos( + module, + file, + globalMetadataInfoHandler, + lightTreeEnabled, + lightTreeComparingModeEnabled + ) +} + private fun FirTypeRef.isFunctionTypeWithDynamicReceiver(session: FirSession) = coneTypeSafe()?.isFunctionTypeWithDynamicReceiver(session) == true @@ -498,6 +518,7 @@ class PsiLightTreeMetaInfoProcessor(testServices: TestServices) : AbstractTwoAtt } fun KtDiagnostic.toMetaInfos( + module: TestModule, file: TestFile, globalMetadataInfoHandler1: GlobalMetadataInfoHandler, lightTreeEnabled: Boolean, @@ -513,6 +534,16 @@ fun KtDiagnostic.toMetaInfos( if (lightTreeComparingModeEnabled) { metaInfo.attributes += if (lightTreeEnabled) PsiLightTreeMetaInfoProcessor.LT else PsiLightTreeMetaInfoProcessor.PSI } + if (file !in module.files) { + val targetPlatform = module.targetPlatform + metaInfo.attributes += when { + targetPlatform.isJvm() -> "JVM" + targetPlatform.isJs() -> "JS" + targetPlatform.isNative() -> "NATIVE" + targetPlatform.isCommon() -> "COMMON" + else -> error("Should not be here") + } + } metaInfo } diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractFirDiagnosticTest.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractFirDiagnosticTest.kt index 552e967d21d..4e191571a87 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractFirDiagnosticTest.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractFirDiagnosticTest.kt @@ -9,17 +9,16 @@ import org.jetbrains.kotlin.config.ExplicitApiMode import org.jetbrains.kotlin.fir.FirSession import org.jetbrains.kotlin.fir.symbols.FirLazyDeclarationResolver import org.jetbrains.kotlin.platform.jvm.JvmPlatforms -import org.jetbrains.kotlin.test.Constructor -import org.jetbrains.kotlin.test.TestJdkKind -import org.jetbrains.kotlin.test.bind +import org.jetbrains.kotlin.test.* +import org.jetbrains.kotlin.test.backend.ir.ActualizerOnlyFacade +import org.jetbrains.kotlin.test.backend.ir.IrDiagnosticsHandler import org.jetbrains.kotlin.test.builders.TestConfigurationBuilder import org.jetbrains.kotlin.test.builders.configureFirHandlersStep import org.jetbrains.kotlin.test.builders.firHandlersStep -import org.jetbrains.kotlin.test.coerce +import org.jetbrains.kotlin.test.builders.irHandlersStep import org.jetbrains.kotlin.test.directives.ConfigurationDirectives.WITH_STDLIB import org.jetbrains.kotlin.test.directives.FirDiagnosticsDirectives.FIR_DUMP import org.jetbrains.kotlin.test.directives.FirDiagnosticsDirectives.WITH_EXTENDED_CHECKERS -import org.jetbrains.kotlin.test.FirParser import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives.JDK_KIND import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives.WITH_REFLECT import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives @@ -49,6 +48,25 @@ abstract class AbstractFirDiagnosticTestBase(val parser: FirParser) : AbstractKo abstract class AbstractFirPsiDiagnosticTest : AbstractFirDiagnosticTestBase(FirParser.Psi) abstract class AbstractFirLightTreeDiagnosticsTest : AbstractFirDiagnosticTestBase(FirParser.LightTree) +abstract class AbstractFirWithActualizerDiagnosticsTest(val parser: FirParser) : AbstractKotlinCompilerWithTargetBackendTest(TargetBackend.JVM_IR) { + override fun TestConfigurationBuilder.configuration() { + configureFirParser(parser) + baseFirDiagnosticTestConfiguration() + + facadeStep(::Fir2IrResultsConverter) + facadeStep(::ActualizerOnlyFacade) + irHandlersStep { + useHandlers( + ::IrDiagnosticsHandler + ) + } + } +} + +open class AbstractFirPsiWithActualizerDiagnosticsTest : AbstractFirWithActualizerDiagnosticsTest(FirParser.Psi) + +open class AbstractFirLightTreeWithActualizerDiagnosticsTest : AbstractFirWithActualizerDiagnosticsTest(FirParser.LightTree) + fun TestConfigurationBuilder.configurationForClassicAndFirTestsAlongside() { useAfterAnalysisCheckers( ::FirIdenticalChecker, diff --git a/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit5CompilerTests.kt b/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit5CompilerTests.kt index 3cac9b9efa8..92fbd77eebb 100644 --- a/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit5CompilerTests.kt +++ b/compiler/tests-for-compiler-generator/tests/org/jetbrains/kotlin/test/generators/GenerateJUnit5CompilerTests.kt @@ -201,17 +201,33 @@ fun generateJUnit5CompilerTests(args: Array) { testGroup(testsRoot = "compiler/fir/analysis-tests/tests-gen", testDataRoot = "compiler/testData") { testClass(suiteTestClassName = "FirPsiOldFrontendDiagnosticsTestGenerated") { - model("diagnostics/tests", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern) + model( + "diagnostics/tests", pattern = "^(.*)\\.kts?$", + excludeDirsRecursively = listOf("multiplatform"), + excludedPattern = excludedCustomTestdataPattern + ) model("diagnostics/testsWithStdLib", excludedPattern = excludedCustomTestdataPattern) } + testClass(suiteTestClassName = "FirOldFrontendMPPDiagnosticsWithPsiTestGenerated") { + model("diagnostics/tests/multiplatform", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern) + } + testClass( suiteTestClassName = "FirLightTreeOldFrontendDiagnosticsTestGenerated" ) { - model("diagnostics/tests", excludedPattern = excludedCustomTestdataPattern) + model( + "diagnostics/tests", + excludeDirsRecursively = listOf("multiplatform"), + excludedPattern = excludedCustomTestdataPattern + ) model("diagnostics/testsWithStdLib", excludedPattern = excludedCustomTestdataPattern) } + testClass(suiteTestClassName = "FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated") { + model("diagnostics/tests/multiplatform", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern) + } + testClass( suiteTestClassName = "FirPsiOldFrontendForeignAnnotationsSourceJavaTestGenerated" ) { diff --git a/js/js.tests/test/org/jetbrains/kotlin/incremental/FirAbstractInvalidationTest.kt b/js/js.tests/test/org/jetbrains/kotlin/incremental/FirAbstractInvalidationTest.kt index 506bdaf9ecb..e480f4883fe 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/incremental/FirAbstractInvalidationTest.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/incremental/FirAbstractInvalidationTest.kt @@ -12,6 +12,7 @@ import org.jetbrains.kotlin.cli.js.klib.serializeFirKlib import org.jetbrains.kotlin.cli.js.klib.transformFirToIr import org.jetbrains.kotlin.codegen.ProjectInfo import org.jetbrains.kotlin.config.CompilerConfiguration +import org.jetbrains.kotlin.config.languageVersionSettings import org.jetbrains.kotlin.diagnostics.DiagnosticReporterFactory import org.jetbrains.kotlin.ir.backend.js.* import org.jetbrains.kotlin.test.TargetBackend @@ -65,7 +66,7 @@ abstract class FirAbstractInvalidationTest( ) if (outputs != null) { - val irResult = transformFirToIr(moduleStructure, outputs) + val irResult = transformFirToIr(moduleStructure, outputs, diagnosticsReporter) serializeFirKlib( moduleStructure = moduleStructure, diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/converters/FirJsKlibBackendFacade.kt b/js/js.tests/test/org/jetbrains/kotlin/js/test/converters/FirJsKlibBackendFacade.kt index f0c7f3fafd5..f1ff2376087 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/converters/FirJsKlibBackendFacade.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/converters/FirJsKlibBackendFacade.kt @@ -11,6 +11,7 @@ import org.jetbrains.kotlin.config.CommonConfigurationKeys import org.jetbrains.kotlin.config.LanguageFeature import org.jetbrains.kotlin.config.languageVersionSettings import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl +import org.jetbrains.kotlin.diagnostics.DiagnosticReporterFactory import org.jetbrains.kotlin.incremental.components.LookupTracker import org.jetbrains.kotlin.ir.backend.js.JsFactories import org.jetbrains.kotlin.ir.backend.js.resolverLogger @@ -60,9 +61,17 @@ class FirJsKlibBackendFacade( // TODO: consider avoiding repeated libraries resolution val libraries = resolveJsLibraries(module, testServices, configuration) + // TODO: find out how to pass diagnostics to the test infra in this case + val diagnosticReporter = DiagnosticReporterFactory.createReporter() + if (firstTimeCompilation) { if (module.frontendKind == FrontendKinds.FIR && module.languageVersionSettings.supportsFeature(LanguageFeature.MultiPlatformProjects)) { - IrActualizer.actualize(inputArtifact.mainModuleFragment, inputArtifact.dependentModuleFragments) + IrActualizer.actualize( + inputArtifact.mainModuleFragment, + inputArtifact.dependentModuleFragments, + diagnosticReporter, + configuration.languageVersionSettings + ) } serializeModuleIntoKlib( diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Fir2Ir.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Fir2Ir.kt index 18cdb0cbaa2..0517c05924b 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Fir2Ir.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Fir2Ir.kt @@ -12,11 +12,16 @@ import org.jetbrains.kotlin.backend.konan.serialization.KonanManglerIr import org.jetbrains.kotlin.builtins.DefaultBuiltIns import org.jetbrains.kotlin.builtins.KotlinBuiltIns import org.jetbrains.kotlin.builtins.konan.KonanBuiltIns +import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys +import org.jetbrains.kotlin.cli.common.fir.FirDiagnosticsCompilerResultsReporter import org.jetbrains.kotlin.config.languageVersionSettings import org.jetbrains.kotlin.descriptors.deserialization.PlatformDependentTypeTransformer import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl import org.jetbrains.kotlin.descriptors.konan.isNativeStdlib -import org.jetbrains.kotlin.fir.backend.* +import org.jetbrains.kotlin.diagnostics.DiagnosticReporterFactory +import org.jetbrains.kotlin.fir.backend.Fir2IrExtensions +import org.jetbrains.kotlin.fir.backend.Fir2IrResult +import org.jetbrains.kotlin.fir.backend.Fir2IrVisibilityConverter import org.jetbrains.kotlin.fir.descriptors.FirModuleDescriptor import org.jetbrains.kotlin.fir.pipeline.convertToIrAndActualize import org.jetbrains.kotlin.incremental.components.LookupTracker @@ -59,6 +64,7 @@ internal fun PhaseContext.fir2Ir( // Yes, just to all of them. moduleDescriptor.setDependencies(ArrayList(dependencies)) } + val diagnosticsReporter = DiagnosticReporterFactory.createPendingReporter() val fir2irResult = input.firResult.convertToIrAndActualize( fir2IrExtensions, @@ -67,6 +73,8 @@ internal fun PhaseContext.fir2Ir( signatureComposerCreator = null, irMangler = KonanManglerIr, visibilityConverter = Fir2IrVisibilityConverter.Default, + diagnosticReporter = diagnosticsReporter, + languageVersionSettings = configuration.languageVersionSettings, kotlinBuiltIns = builtInsModule ?: DefaultBuiltIns.Instance, ).also { (it.irModuleFragment.descriptor as? FirModuleDescriptor)?.let { it.allDependencyModules = librariesDescriptors } @@ -77,6 +85,14 @@ internal fun PhaseContext.fir2Ir( val symbols = createKonanSymbols(fir2irResult) // TODO KT-55580 Invoke CopyDefaultValuesToActualPhase, same as PsiToir phase does. + + val renderDiagnosticNames = configuration.getBoolean(CLIConfigurationKeys.RENDER_DIAGNOSTIC_INTERNAL_NAME) + FirDiagnosticsCompilerResultsReporter.reportToMessageCollector(diagnosticsReporter, messageCollector, renderDiagnosticNames) + + if (diagnosticsReporter.hasErrors) { + throw KonanCompilationException("Compilation failed: there were some diagnostics during fir2ir") + } + return Fir2IrOutput(input.firResult, fir2irResult, symbols) }