[Test] Regenerate tests after two previous commits

This commit is contained in:
Dmitriy Novozhilov
2024-02-16 13:04:43 +02:00
committed by Space Team
parent d9beae0556
commit acf2296590
822 changed files with 1698183 additions and 1698183 deletions
File diff suppressed because it is too large Load Diff
@@ -19,482 +19,482 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/tests/javac")
@TestDataPath("$PROJECT_ROOT")
public class DiagnosticUsingJavacTestGenerated extends AbstractDiagnosticUsingJavacTest {
@Test
public void testAllFilesPresentInJavac() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("Annotations.kt")
public void testAnnotations() {
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
}
@Test
@TestMetadata("Lambda.kt")
public void testLambda() {
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
}
@Test
@TestMetadata("LambdaNonGeneric.kt")
public void testLambdaNonGeneric() {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
}
@Test
@TestMetadata("LambdaNonGenericForbidden.kt")
public void testLambdaNonGenericForbidden() {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGenericForbidden.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")
public class FieldsResolution {
@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);
public void testAllFilesPresentInFieldsResolution() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("Annotations.kt")
public void testAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
@TestMetadata("AsteriskStaticImportsAmbiguity.kt")
public void testAsteriskStaticImportsAmbiguity() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/AsteriskStaticImportsAmbiguity.kt");
}
@Test
@TestMetadata("Lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
@TestMetadata("BinaryInitializers.kt")
public void testBinaryInitializers() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/BinaryInitializers.kt");
}
@Test
@TestMetadata("LambdaNonGeneric.kt")
public void testLambdaNonGeneric() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
@TestMetadata("ConstantByFqName.kt")
public void testConstantByFqName() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantByFqName.kt");
}
@Test
@TestMetadata("LambdaNonGenericForbidden.kt")
public void testLambdaNonGenericForbidden() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGenericForbidden.kt");
@TestMetadata("ConstantValues.kt")
public void testConstantValues() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValues.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("AsteriskStaticImportsAmbiguity.kt")
public void testAsteriskStaticImportsAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/AsteriskStaticImportsAmbiguity.kt");
}
@Test
@TestMetadata("BinaryInitializers.kt")
public void testBinaryInitializers() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/BinaryInitializers.kt");
}
@Test
@TestMetadata("ConstantByFqName.kt")
public void testConstantByFqName() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantByFqName.kt");
}
@Test
@TestMetadata("ConstantValues.kt")
public void testConstantValues() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValues.kt");
}
@Test
@TestMetadata("ConstantValuesFromKtFile.kt")
public void testConstantValuesFromKtFile() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValuesFromKtFile.kt");
}
@Test
@TestMetadata("FieldFromOuterClass.kt")
public void testFieldFromOuterClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/FieldFromOuterClass.kt");
}
@Test
@TestMetadata("InheritedField.kt")
public void testInheritedField() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/InheritedField.kt");
}
@Test
@TestMetadata("MultipleOuters.kt")
public void testMultipleOuters() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/MultipleOuters.kt");
}
@Test
@TestMetadata("ResolutionPriority.kt")
public void testResolutionPriority() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ResolutionPriority.kt");
}
@Test
@TestMetadata("SameFieldInSupertypes.kt")
public void testSameFieldInSupertypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/SameFieldInSupertypes.kt");
}
@Test
@TestMetadata("StaticImport.kt")
public void testStaticImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImport.kt");
}
@Test
@TestMetadata("StaticImportsAmbiguity.kt")
public void testStaticImportsAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImportsAmbiguity.kt");
}
@Test
@TestMetadata("ConstantValuesFromKtFile.kt")
public void testConstantValuesFromKtFile() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValuesFromKtFile.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/imports")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("AllUnderImportsAmbiguity.kt")
public void testAllUnderImportsAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsAmbiguity.kt");
}
@Test
@TestMetadata("AllUnderImportsLessPriority.kt")
public void testAllUnderImportsLessPriority() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsLessPriority.kt");
}
@Test
@TestMetadata("ClassImportsConflicting.kt")
public void testClassImportsConflicting() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/ClassImportsConflicting.kt");
}
@Test
@TestMetadata("CurrentPackageAndAllUnderImport.kt")
public void testCurrentPackageAndAllUnderImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndAllUnderImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndExplicitImport.kt")
public void testCurrentPackageAndExplicitImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndExplicitNestedImport.kt")
public void testCurrentPackageAndExplicitNestedImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitNestedImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndNestedAsteriskImport.kt")
public void testCurrentPackageAndNestedAsteriskImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndNestedAsteriskImport.kt");
}
@Test
@TestMetadata("ImportGenericVsPackage.kt")
public void testImportGenericVsPackage() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportGenericVsPackage.kt");
}
@Test
@TestMetadata("ImportProtectedClass.kt")
public void testImportProtectedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportProtectedClass.kt");
}
@Test
@TestMetadata("ImportTwoTimes.kt")
public void testImportTwoTimes() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimes.kt");
}
@Test
@TestMetadata("ImportTwoTimesStar.kt")
public void testImportTwoTimesStar() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimesStar.kt");
}
@Test
@TestMetadata("NestedAndTopLevelClassClash.kt")
public void testNestedAndTopLevelClassClash() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedAndTopLevelClassClash.kt");
}
@Test
@TestMetadata("NestedClassClash.kt")
public void testNestedClassClash() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedClassClash.kt");
}
@Test
@TestMetadata("PackageExplicitAndStartImport.kt")
public void testPackageExplicitAndStartImport() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/PackageExplicitAndStartImport.kt");
}
@Test
@TestMetadata("PackagePrivateAndPublicNested.kt")
public void testPackagePrivateAndPublicNested() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/PackagePrivateAndPublicNested.kt");
}
@Test
@TestMetadata("TopLevelClassVsPackage.kt")
public void testTopLevelClassVsPackage() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage.kt");
}
@Test
@TestMetadata("TopLevelClassVsPackage2.kt")
public void testTopLevelClassVsPackage2() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage2.kt");
}
@Test
@TestMetadata("FieldFromOuterClass.kt")
public void testFieldFromOuterClass() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/FieldFromOuterClass.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/inheritance")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("IheritanceOfInner.kt")
public void testIheritanceOfInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/IheritanceOfInner.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity.kt")
public void testInheritanceAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity2.kt")
public void testInheritanceAmbiguity2() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity2.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity3.kt")
public void testInheritanceAmbiguity3() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity3.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity4.kt")
public void testInheritanceAmbiguity4() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity4.kt");
}
@Test
@TestMetadata("InheritanceWithKotlin.kt")
public void testInheritanceWithKotlin() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlin.kt");
}
@Test
@TestMetadata("InheritanceWithKotlinClasses.kt")
public void testInheritanceWithKotlinClasses() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlinClasses.kt");
}
@Test
@TestMetadata("InheritedInner.kt")
public void testInheritedInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner.kt");
}
@Test
@TestMetadata("InheritedInner2.kt")
public void testInheritedInner2() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner2.kt");
}
@Test
@TestMetadata("InheritedInnerAndSupertypeWithSameName.kt")
public void testInheritedInnerAndSupertypeWithSameName() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerAndSupertypeWithSameName.kt");
}
@Test
@TestMetadata("InheritedInnerUsageInInner.kt")
public void testInheritedInnerUsageInInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerUsageInInner.kt");
}
@Test
@TestMetadata("InheritedKotlinInner.kt")
public void testInheritedKotlinInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedKotlinInner.kt");
}
@Test
@TestMetadata("InnerAndInheritedInner.kt")
public void testInnerAndInheritedInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InnerAndInheritedInner.kt");
}
@Test
@TestMetadata("ManyInheritedClasses.kt")
public void testManyInheritedClasses() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/ManyInheritedClasses.kt");
}
@Test
@TestMetadata("SameInnersInSupertypeAndSupertypesSupertype.kt")
public void testSameInnersInSupertypeAndSupertypesSupertype() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SameInnersInSupertypeAndSupertypesSupertype.kt");
}
@Test
@TestMetadata("SuperTypeWithSameInner.kt")
public void testSuperTypeWithSameInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SuperTypeWithSameInner.kt");
}
@Test
@TestMetadata("SupertypeInnerAndTypeParameterWithSameNames.kt")
public void testSupertypeInnerAndTypeParameterWithSameNames() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SupertypeInnerAndTypeParameterWithSameNames.kt");
}
@Test
@TestMetadata("InheritedField.kt")
public void testInheritedField() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/InheritedField.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/inners")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("ComplexCase.kt")
public void testComplexCase() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase.kt");
}
@Test
@TestMetadata("ComplexCase2.kt")
public void testComplexCase2() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase2.kt");
}
@Test
@TestMetadata("CurrentPackageAndInner.kt")
public void testCurrentPackageAndInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/CurrentPackageAndInner.kt");
}
@Test
@TestMetadata("ImportThriceNestedClass.kt")
public void testImportThriceNestedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/ImportThriceNestedClass.kt");
}
@Test
@TestMetadata("InnerInInner.kt")
public void testInnerInInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/InnerInInner.kt");
}
@Test
@TestMetadata("Nested.kt")
public void testNested() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/Nested.kt");
}
@Test
@TestMetadata("ThriceNestedClass.kt")
public void testThriceNestedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/inners/ThriceNestedClass.kt");
}
@Test
@TestMetadata("MultipleOuters.kt")
public void testMultipleOuters() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/MultipleOuters.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/qualifiedExpression")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("GenericClassVsPackage.kt")
public void testGenericClassVsPackage() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/GenericClassVsPackage.kt");
}
@Test
@TestMetadata("PackageVsClass.kt")
public void testPackageVsClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass.kt");
}
@Test
@TestMetadata("PackageVsClass2.kt")
public void testPackageVsClass2() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass2.kt");
}
@Test
@TestMetadata("PackageVsRootClass.kt")
public void testPackageVsRootClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsRootClass.kt");
}
@Test
@TestMetadata("visibleClassVsQualifiedClass.kt")
public void testVisibleClassVsQualifiedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/visibleClassVsQualifiedClass.kt");
}
@Test
@TestMetadata("ResolutionPriority.kt")
public void testResolutionPriority() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ResolutionPriority.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/typeParameters")
@TestDataPath("$PROJECT_ROOT")
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);
}
@Test
@TestMetadata("Clash.kt")
public void testClash() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/Clash.kt");
}
@Test
@TestMetadata("ComplexCase.kt")
public void testComplexCase() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/ComplexCase.kt");
}
@Test
@TestMetadata("InheritedInnerAndTypeParameterWithSameNames.kt")
public void testInheritedInnerAndTypeParameterWithSameNames() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InheritedInnerAndTypeParameterWithSameNames.kt");
}
@Test
@TestMetadata("InnerWithTypeParameter.kt")
public void testInnerWithTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InnerWithTypeParameter.kt");
}
@Test
@TestMetadata("NestedWithInner.kt")
public void testNestedWithInner() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/NestedWithInner.kt");
}
@Test
@TestMetadata("SeveralInnersWithTypeParameters.kt")
public void testSeveralInnersWithTypeParameters() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/SeveralInnersWithTypeParameters.kt");
}
@Test
@TestMetadata("TypeParametersInInnerAndOuterWithSameNames.kt")
public void testTypeParametersInInnerAndOuterWithSameNames() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/TypeParametersInInnerAndOuterWithSameNames.kt");
}
@Test
@TestMetadata("SameFieldInSupertypes.kt")
public void testSameFieldInSupertypes() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/SameFieldInSupertypes.kt");
}
@Test
@TestMetadata("StaticImport.kt")
public void testStaticImport() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImport.kt");
}
@Test
@TestMetadata("StaticImportsAmbiguity.kt")
public void testStaticImportsAmbiguity() {
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImportsAmbiguity.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/imports")
@TestDataPath("$PROJECT_ROOT")
public class Imports {
@Test
public void testAllFilesPresentInImports() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("AllUnderImportsAmbiguity.kt")
public void testAllUnderImportsAmbiguity() {
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsAmbiguity.kt");
}
@Test
@TestMetadata("AllUnderImportsLessPriority.kt")
public void testAllUnderImportsLessPriority() {
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsLessPriority.kt");
}
@Test
@TestMetadata("ClassImportsConflicting.kt")
public void testClassImportsConflicting() {
runTest("compiler/testData/diagnostics/tests/javac/imports/ClassImportsConflicting.kt");
}
@Test
@TestMetadata("CurrentPackageAndAllUnderImport.kt")
public void testCurrentPackageAndAllUnderImport() {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndAllUnderImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndExplicitImport.kt")
public void testCurrentPackageAndExplicitImport() {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndExplicitNestedImport.kt")
public void testCurrentPackageAndExplicitNestedImport() {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitNestedImport.kt");
}
@Test
@TestMetadata("CurrentPackageAndNestedAsteriskImport.kt")
public void testCurrentPackageAndNestedAsteriskImport() {
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndNestedAsteriskImport.kt");
}
@Test
@TestMetadata("ImportGenericVsPackage.kt")
public void testImportGenericVsPackage() {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportGenericVsPackage.kt");
}
@Test
@TestMetadata("ImportProtectedClass.kt")
public void testImportProtectedClass() {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportProtectedClass.kt");
}
@Test
@TestMetadata("ImportTwoTimes.kt")
public void testImportTwoTimes() {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimes.kt");
}
@Test
@TestMetadata("ImportTwoTimesStar.kt")
public void testImportTwoTimesStar() {
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimesStar.kt");
}
@Test
@TestMetadata("NestedAndTopLevelClassClash.kt")
public void testNestedAndTopLevelClassClash() {
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedAndTopLevelClassClash.kt");
}
@Test
@TestMetadata("NestedClassClash.kt")
public void testNestedClassClash() {
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedClassClash.kt");
}
@Test
@TestMetadata("PackageExplicitAndStartImport.kt")
public void testPackageExplicitAndStartImport() {
runTest("compiler/testData/diagnostics/tests/javac/imports/PackageExplicitAndStartImport.kt");
}
@Test
@TestMetadata("PackagePrivateAndPublicNested.kt")
public void testPackagePrivateAndPublicNested() {
runTest("compiler/testData/diagnostics/tests/javac/imports/PackagePrivateAndPublicNested.kt");
}
@Test
@TestMetadata("TopLevelClassVsPackage.kt")
public void testTopLevelClassVsPackage() {
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage.kt");
}
@Test
@TestMetadata("TopLevelClassVsPackage2.kt")
public void testTopLevelClassVsPackage2() {
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage2.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/inheritance")
@TestDataPath("$PROJECT_ROOT")
public class Inheritance {
@Test
public void testAllFilesPresentInInheritance() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("IheritanceOfInner.kt")
public void testIheritanceOfInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/IheritanceOfInner.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity.kt")
public void testInheritanceAmbiguity() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity2.kt")
public void testInheritanceAmbiguity2() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity2.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity3.kt")
public void testInheritanceAmbiguity3() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity3.kt");
}
@Test
@TestMetadata("InheritanceAmbiguity4.kt")
public void testInheritanceAmbiguity4() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity4.kt");
}
@Test
@TestMetadata("InheritanceWithKotlin.kt")
public void testInheritanceWithKotlin() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlin.kt");
}
@Test
@TestMetadata("InheritanceWithKotlinClasses.kt")
public void testInheritanceWithKotlinClasses() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlinClasses.kt");
}
@Test
@TestMetadata("InheritedInner.kt")
public void testInheritedInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner.kt");
}
@Test
@TestMetadata("InheritedInner2.kt")
public void testInheritedInner2() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner2.kt");
}
@Test
@TestMetadata("InheritedInnerAndSupertypeWithSameName.kt")
public void testInheritedInnerAndSupertypeWithSameName() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerAndSupertypeWithSameName.kt");
}
@Test
@TestMetadata("InheritedInnerUsageInInner.kt")
public void testInheritedInnerUsageInInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerUsageInInner.kt");
}
@Test
@TestMetadata("InheritedKotlinInner.kt")
public void testInheritedKotlinInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedKotlinInner.kt");
}
@Test
@TestMetadata("InnerAndInheritedInner.kt")
public void testInnerAndInheritedInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InnerAndInheritedInner.kt");
}
@Test
@TestMetadata("ManyInheritedClasses.kt")
public void testManyInheritedClasses() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/ManyInheritedClasses.kt");
}
@Test
@TestMetadata("SameInnersInSupertypeAndSupertypesSupertype.kt")
public void testSameInnersInSupertypeAndSupertypesSupertype() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SameInnersInSupertypeAndSupertypesSupertype.kt");
}
@Test
@TestMetadata("SuperTypeWithSameInner.kt")
public void testSuperTypeWithSameInner() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SuperTypeWithSameInner.kt");
}
@Test
@TestMetadata("SupertypeInnerAndTypeParameterWithSameNames.kt")
public void testSupertypeInnerAndTypeParameterWithSameNames() {
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SupertypeInnerAndTypeParameterWithSameNames.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/inners")
@TestDataPath("$PROJECT_ROOT")
public class Inners {
@Test
public void testAllFilesPresentInInners() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("ComplexCase.kt")
public void testComplexCase() {
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase.kt");
}
@Test
@TestMetadata("ComplexCase2.kt")
public void testComplexCase2() {
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase2.kt");
}
@Test
@TestMetadata("CurrentPackageAndInner.kt")
public void testCurrentPackageAndInner() {
runTest("compiler/testData/diagnostics/tests/javac/inners/CurrentPackageAndInner.kt");
}
@Test
@TestMetadata("ImportThriceNestedClass.kt")
public void testImportThriceNestedClass() {
runTest("compiler/testData/diagnostics/tests/javac/inners/ImportThriceNestedClass.kt");
}
@Test
@TestMetadata("InnerInInner.kt")
public void testInnerInInner() {
runTest("compiler/testData/diagnostics/tests/javac/inners/InnerInInner.kt");
}
@Test
@TestMetadata("Nested.kt")
public void testNested() {
runTest("compiler/testData/diagnostics/tests/javac/inners/Nested.kt");
}
@Test
@TestMetadata("ThriceNestedClass.kt")
public void testThriceNestedClass() {
runTest("compiler/testData/diagnostics/tests/javac/inners/ThriceNestedClass.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/qualifiedExpression")
@TestDataPath("$PROJECT_ROOT")
public class QualifiedExpression {
@Test
public void testAllFilesPresentInQualifiedExpression() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("GenericClassVsPackage.kt")
public void testGenericClassVsPackage() {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/GenericClassVsPackage.kt");
}
@Test
@TestMetadata("PackageVsClass.kt")
public void testPackageVsClass() {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass.kt");
}
@Test
@TestMetadata("PackageVsClass2.kt")
public void testPackageVsClass2() {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass2.kt");
}
@Test
@TestMetadata("PackageVsRootClass.kt")
public void testPackageVsRootClass() {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsRootClass.kt");
}
@Test
@TestMetadata("visibleClassVsQualifiedClass.kt")
public void testVisibleClassVsQualifiedClass() {
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/visibleClassVsQualifiedClass.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/typeParameters")
@TestDataPath("$PROJECT_ROOT")
public class TypeParameters {
@Test
public void testAllFilesPresentInTypeParameters() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("Clash.kt")
public void testClash() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/Clash.kt");
}
@Test
@TestMetadata("ComplexCase.kt")
public void testComplexCase() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/ComplexCase.kt");
}
@Test
@TestMetadata("InheritedInnerAndTypeParameterWithSameNames.kt")
public void testInheritedInnerAndTypeParameterWithSameNames() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InheritedInnerAndTypeParameterWithSameNames.kt");
}
@Test
@TestMetadata("InnerWithTypeParameter.kt")
public void testInnerWithTypeParameter() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InnerWithTypeParameter.kt");
}
@Test
@TestMetadata("NestedWithInner.kt")
public void testNestedWithInner() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/NestedWithInner.kt");
}
@Test
@TestMetadata("SeveralInnersWithTypeParameters.kt")
public void testSeveralInnersWithTypeParameters() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/SeveralInnersWithTypeParameters.kt");
}
@Test
@TestMetadata("TypeParametersInInnerAndOuterWithSameNames.kt")
public void testTypeParametersInInnerAndOuterWithSameNames() {
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/TypeParametersInInnerAndOuterWithSameNames.kt");
}
}
}
@@ -19,46 +19,46 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis")
@TestDataPath("$PROJECT_ROOT")
public class DiagnosticsWithMultiplatformCompositeAnalysisTestGenerated extends AbstractDiagnosticsWithMultiplatformCompositeAnalysisTest {
@Test
public void testAllFilesPresentInTestsWithMultiplatformCompositeAnalysis() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals")
@TestDataPath("$PROJECT_ROOT")
public class ConstVals {
@Test
public void testAllFilesPresentInTestsWithMultiplatformCompositeAnalysis() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
public void testAllFilesPresentInConstVals() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals")
@TestDataPath("$PROJECT_ROOT")
public class ConstVals {
@Test
public void testAllFilesPresentInConstVals() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("nonConstExpectConstActual.kt")
public void testNonConstExpectConstActual() {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals/nonConstExpectConstActual.kt");
}
}
@Test
@TestMetadata("nonConstExpectConstActual.kt")
public void testNonConstExpectConstActual() throws Exception {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals/nonConstExpectConstActual.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments")
@TestDataPath("$PROJECT_ROOT")
public class DefaultArguments {
@Test
public void testAllFilesPresentInDefaultArguments() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments")
@TestDataPath("$PROJECT_ROOT")
public class DefaultArguments {
@Test
public void testAllFilesPresentInDefaultArguments() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() throws Exception {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/constructor.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/function.kt");
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/constructor.kt");
}
@Test
@TestMetadata("function.kt")
public void testFunction() {
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/function.kt");
}
}
}
@@ -20,196 +20,196 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/asmLike")
@TestDataPath("$PROJECT_ROOT")
public class AsmLikeInstructionListingTestGenerated extends AbstractAsmLikeInstructionListingTest {
@Test
public void testAllFilesPresentInAsmLike() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInAsmLike() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
public void testAllFilesPresentInReceiverMangling() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("deepInline.kt")
public void testDeepInline() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
}
@Test
@TestMetadata("deepInlineWithLabels.kt")
public void testDeepInlineWithLabels() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_after.kt")
public void testDeepNoinlineWithLabels_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_before.kt")
public void testDeepNoinlineWithLabels_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
}
@Test
@TestMetadata("deepNoinline_after.kt")
public void testDeepNoinline_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
}
@Test
@TestMetadata("deepNoinline_before.kt")
public void testDeepNoinline_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
}
@Test
@TestMetadata("inlineClassCapture.kt")
public void testInlineClassCapture() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
}
@Test
@TestMetadata("inlineReceivers.kt")
public void testInlineReceivers() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
}
@Test
@TestMetadata("localFunctions.kt")
public void testLocalFunctions() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
}
@Test
@TestMetadata("mangledNames.kt")
public void testMangledNames() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
}
@Test
@TestMetadata("nonInlineReceivers_after.kt")
public void testNonInlineReceivers_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
}
@Test
@TestMetadata("nonInlineReceivers_before.kt")
public void testNonInlineReceivers_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
}
@Test
@TestMetadata("deepInline.kt")
public void testDeepInline() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
@TestDataPath("$PROJECT_ROOT")
public class TypeAnnotations {
@Test
public void testAllFilesPresentInTypeAnnotations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("complex.kt")
public void testComplex() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
}
@Test
@TestMetadata("defaultArgs.kt")
public void testDefaultArgs() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
}
@Test
@TestMetadata("dontEmit.kt")
public void testDontEmit() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
}
@Test
@TestMetadata("enumClassConstructor.kt")
public void testEnumClassConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
}
@Test
@TestMetadata("extension.kt")
public void testExtension() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
}
@Test
@TestMetadata("implicit.kt")
public void testImplicit() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
}
@Test
@TestMetadata("innerClassConstructor.kt")
public void testInnerClassConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
}
@Test
@TestMetadata("jvmOverload.kt")
public void testJvmOverload() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
}
@Test
@TestMetadata("jvmStatic.kt")
public void testJvmStatic() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
}
@Test
@TestMetadata("notYetSupported.kt")
public void testNotYetSupported() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
}
@Test
@TestMetadata("simple2Params.kt")
public void testSimple2Params() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
}
@Test
@TestMetadata("staticNested.kt")
public void testStaticNested() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
}
@Test
@TestMetadata("syntheticAccessors.kt")
public void testSyntheticAccessors() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
}
@Test
@TestMetadata("deepInlineWithLabels.kt")
public void testDeepInlineWithLabels() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_after.kt")
public void testDeepNoinlineWithLabels_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_before.kt")
public void testDeepNoinlineWithLabels_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
}
@Test
@TestMetadata("deepNoinline_after.kt")
public void testDeepNoinline_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
}
@Test
@TestMetadata("deepNoinline_before.kt")
public void testDeepNoinline_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
}
@Test
@TestMetadata("inlineClassCapture.kt")
public void testInlineClassCapture() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
}
@Test
@TestMetadata("inlineReceivers.kt")
public void testInlineReceivers() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
}
@Test
@TestMetadata("localFunctions.kt")
public void testLocalFunctions() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
}
@Test
@TestMetadata("mangledNames.kt")
public void testMangledNames() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
}
@Test
@TestMetadata("nonInlineReceivers_after.kt")
public void testNonInlineReceivers_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
}
@Test
@TestMetadata("nonInlineReceivers_before.kt")
public void testNonInlineReceivers_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
@TestDataPath("$PROJECT_ROOT")
public class TypeAnnotations {
@Test
public void testAllFilesPresentInTypeAnnotations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("complex.kt")
public void testComplex() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
}
@Test
@TestMetadata("defaultArgs.kt")
public void testDefaultArgs() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
}
@Test
@TestMetadata("dontEmit.kt")
public void testDontEmit() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
}
@Test
@TestMetadata("enumClassConstructor.kt")
public void testEnumClassConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
}
@Test
@TestMetadata("extension.kt")
public void testExtension() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
}
@Test
@TestMetadata("implicit.kt")
public void testImplicit() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
}
@Test
@TestMetadata("innerClassConstructor.kt")
public void testInnerClassConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
}
@Test
@TestMetadata("jvmOverload.kt")
public void testJvmOverload() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
}
@Test
@TestMetadata("jvmStatic.kt")
public void testJvmStatic() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
}
@Test
@TestMetadata("notYetSupported.kt")
public void testNotYetSupported() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
}
@Test
@TestMetadata("simple2Params.kt")
public void testSimple2Params() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
}
@Test
@TestMetadata("staticNested.kt")
public void testStaticNested() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
}
@Test
@TestMetadata("syntheticAccessors.kt")
public void testSyntheticAccessors() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
}
}
}
@@ -20,220 +20,220 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/asmLike")
@TestDataPath("$PROJECT_ROOT")
public class IrAsmLikeInstructionListingTestGenerated extends AbstractIrAsmLikeInstructionListingTest {
@Test
public void testAllFilesPresentInAsmLike() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInAsmLike() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
public void testAllFilesPresentInReceiverMangling() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("deepInline.kt")
public void testDeepInline() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
}
@Test
@TestMetadata("deepInlineWithLabels.kt")
public void testDeepInlineWithLabels() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_after.kt")
public void testDeepNoinlineWithLabels_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_before.kt")
public void testDeepNoinlineWithLabels_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
}
@Test
@TestMetadata("deepNoinline_after.kt")
public void testDeepNoinline_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
}
@Test
@TestMetadata("deepNoinline_before.kt")
public void testDeepNoinline_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
}
@Test
@TestMetadata("inlineClassCapture.kt")
public void testInlineClassCapture() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
}
@Test
@TestMetadata("inlineReceivers.kt")
public void testInlineReceivers() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
}
@Test
@TestMetadata("localFunctions.kt")
public void testLocalFunctions() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
}
@Test
@TestMetadata("mangledNames.kt")
public void testMangledNames() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
}
@Test
@TestMetadata("nonInlineReceivers_after.kt")
public void testNonInlineReceivers_after() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
}
@Test
@TestMetadata("nonInlineReceivers_before.kt")
public void testNonInlineReceivers_before() throws Exception {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
}
@Test
@TestMetadata("deepInline.kt")
public void testDeepInline() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
@TestDataPath("$PROJECT_ROOT")
public class TypeAnnotations {
@Test
public void testAllFilesPresentInTypeAnnotations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("classTypeParameter.kt")
public void testClassTypeParameter() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
}
@Test
@TestMetadata("complex.kt")
public void testComplex() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
}
@Test
@TestMetadata("defaultArgs.kt")
public void testDefaultArgs() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
}
@Test
@TestMetadata("dontEmit.kt")
public void testDontEmit() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
}
@Test
@TestMetadata("enumClassConstructor.kt")
public void testEnumClassConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
}
@Test
@TestMetadata("extension.kt")
public void testExtension() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
}
@Test
@TestMetadata("functionTypeParameter.kt")
public void testFunctionTypeParameter() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/functionTypeParameter.kt");
}
@Test
@TestMetadata("implicit.kt")
public void testImplicit() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
}
@Test
@TestMetadata("innerClassConstructor.kt")
public void testInnerClassConstructor() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
}
@Test
@TestMetadata("jvmOverload.kt")
public void testJvmOverload() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
}
@Test
@TestMetadata("jvmStatic.kt")
public void testJvmStatic() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
}
@Test
@TestMetadata("notYetSupported.kt")
public void testNotYetSupported() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
}
@Test
@TestMetadata("propertyTypeParameter.kt")
public void testPropertyTypeParameter() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/propertyTypeParameter.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
}
@Test
@TestMetadata("simple2Params.kt")
public void testSimple2Params() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
}
@Test
@TestMetadata("staticNested.kt")
public void testStaticNested() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
}
@Test
@TestMetadata("syntheticAccessors.kt")
public void testSyntheticAccessors() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
}
@Test
@TestMetadata("typeParameter.kt")
public void testTypeParameter() throws Exception {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/typeParameter.kt");
}
@Test
@TestMetadata("deepInlineWithLabels.kt")
public void testDeepInlineWithLabels() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_after.kt")
public void testDeepNoinlineWithLabels_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
}
@Test
@TestMetadata("deepNoinlineWithLabels_before.kt")
public void testDeepNoinlineWithLabels_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
}
@Test
@TestMetadata("deepNoinline_after.kt")
public void testDeepNoinline_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
}
@Test
@TestMetadata("deepNoinline_before.kt")
public void testDeepNoinline_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
}
@Test
@TestMetadata("inlineClassCapture.kt")
public void testInlineClassCapture() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
}
@Test
@TestMetadata("inlineReceivers.kt")
public void testInlineReceivers() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
}
@Test
@TestMetadata("localFunctions.kt")
public void testLocalFunctions() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
}
@Test
@TestMetadata("mangledNames.kt")
public void testMangledNames() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
}
@Test
@TestMetadata("nonInlineReceivers_after.kt")
public void testNonInlineReceivers_after() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
}
@Test
@TestMetadata("nonInlineReceivers_before.kt")
public void testNonInlineReceivers_before() {
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
@TestDataPath("$PROJECT_ROOT")
public class TypeAnnotations {
@Test
public void testAllFilesPresentInTypeAnnotations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("classTypeParameter.kt")
public void testClassTypeParameter() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
}
@Test
@TestMetadata("complex.kt")
public void testComplex() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
}
@Test
@TestMetadata("constructor.kt")
public void testConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
}
@Test
@TestMetadata("defaultArgs.kt")
public void testDefaultArgs() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
}
@Test
@TestMetadata("dontEmit.kt")
public void testDontEmit() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
}
@Test
@TestMetadata("enumClassConstructor.kt")
public void testEnumClassConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
}
@Test
@TestMetadata("extension.kt")
public void testExtension() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
}
@Test
@TestMetadata("functionTypeParameter.kt")
public void testFunctionTypeParameter() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/functionTypeParameter.kt");
}
@Test
@TestMetadata("implicit.kt")
public void testImplicit() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
}
@Test
@TestMetadata("innerClassConstructor.kt")
public void testInnerClassConstructor() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
}
@Test
@TestMetadata("jvmOverload.kt")
public void testJvmOverload() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
}
@Test
@TestMetadata("jvmStatic.kt")
public void testJvmStatic() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
}
@Test
@TestMetadata("notYetSupported.kt")
public void testNotYetSupported() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
}
@Test
@TestMetadata("propertyTypeParameter.kt")
public void testPropertyTypeParameter() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/propertyTypeParameter.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
}
@Test
@TestMetadata("simple2Params.kt")
public void testSimple2Params() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
}
@Test
@TestMetadata("staticNested.kt")
public void testStaticNested() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
}
@Test
@TestMetadata("syntheticAccessors.kt")
public void testSyntheticAccessors() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
}
@Test
@TestMetadata("typeParameter.kt")
public void testTypeParameter() {
runTest("compiler/testData/codegen/asmLike/typeAnnotations/typeParameter.kt");
}
}
}
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/debug/localVariables")
@TestDataPath("$PROJECT_ROOT")
public class IrLocalVariableBytecodeInlinerTestGenerated extends AbstractIrLocalVariableBytecodeInlinerTest {
@Test
public void testAllFilesPresentInLocalVariables() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
}
@Test
@TestMetadata("jvmOverloads.kt")
public void testJvmOverloads() {
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() {
runTest("compiler/testData/debug/localVariables/localFun.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInLocalVariables() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
public void testAllFilesPresentInConstructors() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/assignment.kt");
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() throws Exception {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() throws Exception {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() throws Exception {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() throws Exception {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() throws Exception {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
@TestMetadata("lambda.kt")
public void testLambda() {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("jvmOverloads.kt")
public void testJvmOverloads() throws Exception {
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() throws Exception {
runTest("compiler/testData/debug/localVariables/localFun.kt");
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() throws Exception {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInConstructors() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
public class Completion {
@Test
public void testAllFilesPresentInCompletion() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Completion {
@Test
public void testAllFilesPresentInCompletion() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
}
}
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/debug/localVariables")
@TestDataPath("$PROJECT_ROOT")
public class IrLocalVariableIrInlinerTestGenerated extends AbstractIrLocalVariableIrInlinerTest {
@Test
public void testAllFilesPresentInLocalVariables() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
}
@Test
@TestMetadata("jvmOverloads.kt")
public void testJvmOverloads() {
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() {
runTest("compiler/testData/debug/localVariables/localFun.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInLocalVariables() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
public void testAllFilesPresentInConstructors() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/assignment.kt");
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() throws Exception {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() throws Exception {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() throws Exception {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() throws Exception {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() throws Exception {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
@TestMetadata("lambda.kt")
public void testLambda() {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("jvmOverloads.kt")
public void testJvmOverloads() throws Exception {
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() throws Exception {
runTest("compiler/testData/debug/localVariables/localFun.kt");
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() throws Exception {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInConstructors() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
public class Completion {
@Test
public void testAllFilesPresentInCompletion() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Completion {
@Test
public void testAllFilesPresentInCompletion() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
}
}
@@ -20,168 +20,168 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/ir/sourceRanges")
@TestDataPath("$PROJECT_ROOT")
public class ClassicJvmIrSourceRangesTestGenerated extends AbstractClassicJvmIrSourceRangesTest {
@Test
public void testAllFilesPresentInSourceRanges() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() {
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
}
@Test
@TestMetadata("augmentedAssignmentWithExpression.kt")
public void testAugmentedAssignmentWithExpression() {
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
}
@Test
@TestMetadata("comments.kt")
public void testComments() {
runTest("compiler/testData/ir/sourceRanges/comments.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() {
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
}
@Test
@TestMetadata("extensionLambdaCall.kt")
public void testExtensionLambdaCall() {
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
}
@Test
@TestMetadata("kt17108.kt")
public void testKt17108() {
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
}
@Test
@TestMetadata("kt24258.kt")
public void testKt24258() {
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
}
@Test
@TestMetadata("kt63779.kt")
public void testKt63779() {
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
}
@Test
@TestMetadata("kt63779_2.kt")
public void testKt63779_2() {
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
}
@Test
@TestMetadata("multiLineCall.kt")
public void testMultiLineCall() {
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
}
@Test
@TestMetadata("operators.kt")
public void testOperators() {
runTest("compiler/testData/ir/sourceRanges/operators.kt");
}
@Test
@TestMetadata("postfixIncrementDecrement.kt")
public void testPostfixIncrementDecrement() {
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
}
@Test
@TestMetadata("this.kt")
public void testThis() {
runTest("compiler/testData/ir/sourceRanges/this.kt");
}
@Nested
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
@TestDataPath("$PROJECT_ROOT")
public class Declarations {
@Test
public void testAllFilesPresentInSourceRanges() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
public void testAllFilesPresentInDeclarations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() throws Exception {
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
@TestMetadata("classFuns.kt")
public void testClassFuns() {
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
}
@Test
@TestMetadata("augmentedAssignmentWithExpression.kt")
public void testAugmentedAssignmentWithExpression() throws Exception {
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
@TestMetadata("classProperties.kt")
public void testClassProperties() {
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
}
@Test
@TestMetadata("comments.kt")
public void testComments() throws Exception {
runTest("compiler/testData/ir/sourceRanges/comments.kt");
@TestMetadata("classes.kt")
public void testClasses() {
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() throws Exception {
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
@TestMetadata("delegatedProperties.kt")
public void testDelegatedProperties() {
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
}
@Test
@TestMetadata("extensionLambdaCall.kt")
public void testExtensionLambdaCall() throws Exception {
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
@TestMetadata("fakeOverrides.kt")
public void testFakeOverrides() {
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
}
@Test
@TestMetadata("kt17108.kt")
public void testKt17108() throws Exception {
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
@TestMetadata("fakeOverrides2.kt")
public void testFakeOverrides2() {
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
}
@Test
@TestMetadata("kt24258.kt")
public void testKt24258() throws Exception {
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
@TestMetadata("kt29862.kt")
public void testKt29862() {
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
}
@Test
@TestMetadata("kt63779.kt")
public void testKt63779() throws Exception {
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
@TestMetadata("primaryConstructors.kt")
public void testPrimaryConstructors() {
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
}
@Test
@TestMetadata("kt63779_2.kt")
public void testKt63779_2() throws Exception {
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
@TestMetadata("secondaryConstructors.kt")
public void testSecondaryConstructors() {
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
}
@Test
@TestMetadata("multiLineCall.kt")
public void testMultiLineCall() throws Exception {
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
@TestMetadata("synthesizedDataClassMembers.kt")
public void testSynthesizedDataClassMembers() {
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
}
@Test
@TestMetadata("operators.kt")
public void testOperators() throws Exception {
runTest("compiler/testData/ir/sourceRanges/operators.kt");
@TestMetadata("topLevelFuns.kt")
public void testTopLevelFuns() {
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
}
@Test
@TestMetadata("postfixIncrementDecrement.kt")
public void testPostfixIncrementDecrement() throws Exception {
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
}
@Test
@TestMetadata("this.kt")
public void testThis() throws Exception {
runTest("compiler/testData/ir/sourceRanges/this.kt");
}
@Nested
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
@TestDataPath("$PROJECT_ROOT")
public class Declarations {
@Test
public void testAllFilesPresentInDeclarations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("classFuns.kt")
public void testClassFuns() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
}
@Test
@TestMetadata("classProperties.kt")
public void testClassProperties() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
}
@Test
@TestMetadata("classes.kt")
public void testClasses() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
}
@Test
@TestMetadata("delegatedProperties.kt")
public void testDelegatedProperties() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
}
@Test
@TestMetadata("fakeOverrides.kt")
public void testFakeOverrides() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
}
@Test
@TestMetadata("fakeOverrides2.kt")
public void testFakeOverrides2() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
}
@Test
@TestMetadata("kt29862.kt")
public void testKt29862() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
}
@Test
@TestMetadata("primaryConstructors.kt")
public void testPrimaryConstructors() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
}
@Test
@TestMetadata("secondaryConstructors.kt")
public void testSecondaryConstructors() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
}
@Test
@TestMetadata("synthesizedDataClassMembers.kt")
public void testSynthesizedDataClassMembers() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
}
@Test
@TestMetadata("topLevelFuns.kt")
public void testTopLevelFuns() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
}
@Test
@TestMetadata("topLevelProperties.kt")
public void testTopLevelProperties() throws Exception {
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
}
@TestMetadata("topLevelProperties.kt")
public void testTopLevelProperties() {
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
}
}
}