[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+134
-134
@@ -28,149 +28,149 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInDirect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/metaAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsWithMetaTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsWithMetaTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnFiles")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnFilesTestGenerated extends AbstractAnalysisApiAnnotationsOnFilesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFile.kt")
|
||||
public void testOnFile() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnFiles/onFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onFile.kt")
|
||||
public void testOnFile() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnFiles/onFile.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+51
-51
@@ -28,63 +28,63 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnTypesTestGenerated extends AbstractAnalysisApiAnnotationsOnTypesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+66
-66
@@ -28,81 +28,81 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/specificAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiSpecificAnnotationOnDeclarationTestGenerated extends AbstractAnalysisApiSpecificAnnotationOnDeclarationTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+1054
-1054
File diff suppressed because it is too large
Load Diff
+511
-511
File diff suppressed because it is too large
Load Diff
+254
-254
@@ -28,271 +28,271 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+276
-276
@@ -28,335 +28,335 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated extends AbstractCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2003
-2003
File diff suppressed because it is too large
Load Diff
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleReturnTargetSymbolTestGenerated extends AbstractReturnTargetSymbolTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledReturn.kt")
|
||||
public void testLabeledReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/labeledReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("labeledReturn.kt")
|
||||
public void testLabeledReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/labeledReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("normalReturn.kt")
|
||||
public void testNormalReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/normalReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("normalReturn.kt")
|
||||
public void testNormalReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/normalReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReturn.kt")
|
||||
public void testUnresolvedReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/unresolvedReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unresolvedReturn.kt")
|
||||
public void testUnresolvedReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/unresolvedReturn.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+101
-101
@@ -28,123 +28,123 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleWhenMissingCasesTestGenerated extends AbstractWhenMissingCasesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_else.kt")
|
||||
public void testBoolean_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_else.kt")
|
||||
public void testBoolean_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_empty.kt")
|
||||
public void testBoolean_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_empty.kt")
|
||||
public void testBoolean_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject.kt")
|
||||
public void testBoolean_noSubject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject.kt")
|
||||
public void testBoolean_noSubject() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubjectIncorrectCode.kt")
|
||||
public void testBoolean_noSubjectIncorrectCode() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubjectIncorrectCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubjectIncorrectCode.kt")
|
||||
public void testBoolean_noSubjectIncorrectCode() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubjectIncorrectCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject_else.kt")
|
||||
public void testBoolean_noSubject_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject_else.kt")
|
||||
public void testBoolean_noSubject_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_partial.kt")
|
||||
public void testBoolean_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_partial.kt")
|
||||
public void testBoolean_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_else.kt")
|
||||
public void testEnum_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_else.kt")
|
||||
public void testEnum_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_empty.kt")
|
||||
public void testEnum_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_empty.kt")
|
||||
public void testEnum_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_partial.kt")
|
||||
public void testEnum_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_partial.kt")
|
||||
public void testEnum_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothing.kt")
|
||||
public void testNothing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nothing.kt")
|
||||
public void testNothing() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableBoolean.kt")
|
||||
public void testNullableBoolean() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableBoolean.kt")
|
||||
public void testNullableBoolean() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableEnum.kt")
|
||||
public void testNullableEnum() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableEnum.kt")
|
||||
public void testNullableEnum() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableNothing.kt")
|
||||
public void testNullableNothing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableNothing.kt")
|
||||
public void testNullableNothing() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableSealedClass_empty.kt")
|
||||
public void testNullableSealedClass_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableSealedClass_empty.kt")
|
||||
public void testNullableSealedClass_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_else.kt")
|
||||
public void testSealedClass_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_else.kt")
|
||||
public void testSealedClass_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_empty.kt")
|
||||
public void testSealedClass_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_empty.kt")
|
||||
public void testSealedClass_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_partial.kt")
|
||||
public void testSealedClass_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_partial.kt")
|
||||
public void testSealedClass_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+71
-71
@@ -28,87 +28,87 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleDeclarationReturnTypeTestGenerated extends AbstractDeclarationReturnTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarationReturnType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarationReturnType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationInPrimaryConstructor.kt")
|
||||
public void testDeclarationInPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/declarationInPrimaryConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("declarationInPrimaryConstructor.kt")
|
||||
public void testDeclarationInPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/declarationInPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateProperties.kt")
|
||||
public void testDelegateProperties() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/delegateProperties.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegateProperties.kt")
|
||||
public void testDelegateProperties() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/delegateProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithoutParameterList.kt")
|
||||
public void testFunctionWithoutParameterList() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/functionWithoutParameterList.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionWithoutParameterList.kt")
|
||||
public void testFunctionWithoutParameterList() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/functionWithoutParameterList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funtionType.kt")
|
||||
public void testFuntionType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/funtionType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("funtionType.kt")
|
||||
public void testFuntionType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/funtionType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/localDeclarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/localDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenMember.kt")
|
||||
public void testOverriddenMember() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/overriddenMember.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("overriddenMember.kt")
|
||||
public void testOverriddenMember() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/overriddenMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformType.kt")
|
||||
public void testPlatformType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/platformType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("platformType.kt")
|
||||
public void testPlatformType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/platformType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessor.kt")
|
||||
public void testPropertyAccessor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/propertyAccessor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyAccessor.kt")
|
||||
public void testPropertyAccessor() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/propertyAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleDeclaration.kt")
|
||||
public void testSimpleDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/simpleDeclaration.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleDeclaration.kt")
|
||||
public void testSimpleDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/simpleDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/typeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParam.kt")
|
||||
public void testVarargParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/varargParam.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("varargParam.kt")
|
||||
public void testVarargParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/varargParam.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+443
-443
@@ -28,447 +28,447 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleExpectedExpressionTypeTestGenerated extends AbstractExpectedExpressionTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("afterExclOperand.kt")
|
||||
public void testAfterExclOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/afterExclOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectedExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationPositionalArgument.kt")
|
||||
public void testAnnotationPositionalArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/annotationPositionalArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionGet.kt")
|
||||
public void testArrayAccessExpressionGet() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionGetWithTypeParameters.kt")
|
||||
public void testArrayAccessExpressionGetWithTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionGetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionSet.kt")
|
||||
public void testArrayAccessExpressionSet() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionSetWithTypeParameters.kt")
|
||||
public void testArrayAccessExpressionSetWithTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionSetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conditionInWhenWithSubject.kt")
|
||||
public void testConditionInWhenWithSubject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/conditionInWhenWithSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conditionInWhenWithoutSubject.kt")
|
||||
public void testConditionInWhenWithoutSubject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/conditionInWhenWithoutSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionLeftOperand.kt")
|
||||
public void testElvisExpressionLeftOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionLeftOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionLeftOperandWithoutExplicitType.kt")
|
||||
public void testElvisExpressionLeftOperandWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionLeftOperandWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionRightOperand.kt")
|
||||
public void testElvisExpressionRightOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionRightOperandWithoutExplicitType.kt")
|
||||
public void testElvisExpressionRightOperandWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionRightOperandWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBody.kt")
|
||||
public void testFunctionExpressionBody() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyBlockExpression.kt")
|
||||
public void testFunctionExpressionBodyBlockExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyQualified.kt")
|
||||
public void testFunctionExpressionBodyQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyWithTypeFromRHS.kt")
|
||||
public void testFunctionExpressionBodyWithTypeFromRHS() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyWithoutExplicitType.kt")
|
||||
public void testFunctionExpressionBodyWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionLambdaParam.kt")
|
||||
public void testFunctionLambdaParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionNamedlParam.kt")
|
||||
public void testFunctionNamedlParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionParamWithTypeParam.kt")
|
||||
public void testFunctionParamWithTypeParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionPositionalParam.kt")
|
||||
public void testFunctionPositionalParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionPositionalParamQualified.kt")
|
||||
public void testFunctionPositionalParamQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalTypeSubstitution.kt")
|
||||
public void testFunctionalTypeSubstitution() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionalTypeSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifCondition.kt")
|
||||
public void testIfCondition() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifConditionQualified.kt")
|
||||
public void testIfConditionQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionAsRegularCallParam.kt")
|
||||
public void testInfixFunctionAsRegularCallParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionParam.kt")
|
||||
public void testInfixFunctionParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionParamQualified.kt")
|
||||
public void testInfixFunctionParamQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionTypeParameter.kt")
|
||||
public void testInfixFunctionTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExplicitTypeFromVariable.kt")
|
||||
public void testLambdaWithExplicitTypeFromVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithoutReturnNorExplicitType.kt")
|
||||
public void testLambdaWithoutReturnNorExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInFunctionBlockBody.kt")
|
||||
public void testLastStatementInFunctionBlockBody() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInFunctionBlockBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambda.kt")
|
||||
public void testLastStatementInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambdaWithTypeMismatch.kt")
|
||||
public void testLastStatementInLambdaWithTypeMismatch() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambdaWithTypeMismatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambdaWithoutExplicitType.kt")
|
||||
public void testLastStatementInLambdaWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambdaWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInTry.kt")
|
||||
public void testLastStatementInTry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInTry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInTryWithoutExplicitType.kt")
|
||||
public void testLastStatementInTryWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInTryWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclaration.kt")
|
||||
public void testPropertyDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationNoExplicitType.kt")
|
||||
public void testPropertyDeclarationNoExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationNoExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationQualified.kt")
|
||||
public void testPropertyDeclarationQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithSafeCast.kt")
|
||||
public void testPropertyDeclarationWithSafeCast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithTypeCast.kt")
|
||||
public void testPropertyDeclarationWithTypeCast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithTypeFromRHS.kt")
|
||||
public void testPropertyDeclarationWithTypeFromRHS() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithoutExplicitType.kt")
|
||||
public void testPropertyDeclarationWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunction.kt")
|
||||
public void testReturnFromFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunctionQualifiedReceiver.kt")
|
||||
public void testReturnFromFunctionQualifiedReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunctionQualifiedSelector.kt")
|
||||
public void testReturnFromFunctionQualifiedSelector() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromLambda.kt")
|
||||
public void testReturnFromLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("safeCallArgument.kt")
|
||||
public void testSafeCallArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/safeCallArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sam.kt")
|
||||
public void testSam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsArgument.kt")
|
||||
public void testSamAsArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsConstructorArgument.kt")
|
||||
public void testSamAsConstructorArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsReturn.kt")
|
||||
public void testSamAsReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceAsArgument.kt")
|
||||
public void testSamReferenceAsArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceAsVararg.kt")
|
||||
public void testSamReferenceAsVararg() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceWithTypeCast.kt")
|
||||
public void testSamReferenceWithTypeCast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithExplicitTypeFromProperty.kt")
|
||||
public void testSamWithExplicitTypeFromProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithReturnToExplicitLabel.kt")
|
||||
public void testSamWithReturnToExplicitLabel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithReturnToImplicitLabel.kt")
|
||||
public void testSamWithReturnToImplicitLabel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithTypeCast.kt")
|
||||
public void testSamWithTypeCast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIf.kt")
|
||||
public void testStatementInIf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIfBlockExpression.kt")
|
||||
public void testStatementInIfBlockExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIfBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIfWithoutExplicitType.kt")
|
||||
public void testStatementInIfWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIfWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhen.kt")
|
||||
public void testStatementInWhen() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhenBlockExpression.kt")
|
||||
public void testStatementInWhenBlockExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhenBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhenWithoutExplicitType.kt")
|
||||
public void testStatementInWhenWithoutExplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhenWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("variableAssignment.kt")
|
||||
public void testVariableAssignment() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("variableAssignmentQualified.kt")
|
||||
public void testVariableAssignmentQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileCondition.kt")
|
||||
public void testWhileCondition() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileConditionQualified.kt")
|
||||
public void testWhileConditionQualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.kt");
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("afterExclOperand.kt")
|
||||
public void testAfterExclOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/afterExclOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectedExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationPositionalArgument.kt")
|
||||
public void testAnnotationPositionalArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/annotationPositionalArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionGet.kt")
|
||||
public void testArrayAccessExpressionGet() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionGetWithTypeParameters.kt")
|
||||
public void testArrayAccessExpressionGetWithTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionGetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionSet.kt")
|
||||
public void testArrayAccessExpressionSet() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAccessExpressionSetWithTypeParameters.kt")
|
||||
public void testArrayAccessExpressionSetWithTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/arrayAccessExpressionSetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conditionInWhenWithSubject.kt")
|
||||
public void testConditionInWhenWithSubject() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/conditionInWhenWithSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conditionInWhenWithoutSubject.kt")
|
||||
public void testConditionInWhenWithoutSubject() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/conditionInWhenWithoutSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionLeftOperand.kt")
|
||||
public void testElvisExpressionLeftOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionLeftOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionLeftOperandWithoutExplicitType.kt")
|
||||
public void testElvisExpressionLeftOperandWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionLeftOperandWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionRightOperand.kt")
|
||||
public void testElvisExpressionRightOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisExpressionRightOperandWithoutExplicitType.kt")
|
||||
public void testElvisExpressionRightOperandWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/elvisExpressionRightOperandWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBody.kt")
|
||||
public void testFunctionExpressionBody() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyBlockExpression.kt")
|
||||
public void testFunctionExpressionBodyBlockExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyQualified.kt")
|
||||
public void testFunctionExpressionBodyQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyWithTypeFromRHS.kt")
|
||||
public void testFunctionExpressionBodyWithTypeFromRHS() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionExpressionBodyWithoutExplicitType.kt")
|
||||
public void testFunctionExpressionBodyWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionLambdaParam.kt")
|
||||
public void testFunctionLambdaParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionNamedlParam.kt")
|
||||
public void testFunctionNamedlParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionParamWithTypeParam.kt")
|
||||
public void testFunctionParamWithTypeParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionPositionalParam.kt")
|
||||
public void testFunctionPositionalParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionPositionalParamQualified.kt")
|
||||
public void testFunctionPositionalParamQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalTypeSubstitution.kt")
|
||||
public void testFunctionalTypeSubstitution() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionalTypeSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifCondition.kt")
|
||||
public void testIfCondition() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifConditionQualified.kt")
|
||||
public void testIfConditionQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionAsRegularCallParam.kt")
|
||||
public void testInfixFunctionAsRegularCallParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionParam.kt")
|
||||
public void testInfixFunctionParam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionParamQualified.kt")
|
||||
public void testInfixFunctionParamQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("infixFunctionTypeParameter.kt")
|
||||
public void testInfixFunctionTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExplicitTypeFromVariable.kt")
|
||||
public void testLambdaWithExplicitTypeFromVariable() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithoutReturnNorExplicitType.kt")
|
||||
public void testLambdaWithoutReturnNorExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInFunctionBlockBody.kt")
|
||||
public void testLastStatementInFunctionBlockBody() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInFunctionBlockBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambda.kt")
|
||||
public void testLastStatementInLambda() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambdaWithTypeMismatch.kt")
|
||||
public void testLastStatementInLambdaWithTypeMismatch() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambdaWithTypeMismatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInLambdaWithoutExplicitType.kt")
|
||||
public void testLastStatementInLambdaWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInLambdaWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInTry.kt")
|
||||
public void testLastStatementInTry() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInTry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastStatementInTryWithoutExplicitType.kt")
|
||||
public void testLastStatementInTryWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lastStatementInTryWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclaration.kt")
|
||||
public void testPropertyDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationNoExplicitType.kt")
|
||||
public void testPropertyDeclarationNoExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationNoExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationQualified.kt")
|
||||
public void testPropertyDeclarationQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithSafeCast.kt")
|
||||
public void testPropertyDeclarationWithSafeCast() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithTypeCast.kt")
|
||||
public void testPropertyDeclarationWithTypeCast() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithTypeFromRHS.kt")
|
||||
public void testPropertyDeclarationWithTypeFromRHS() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclarationWithoutExplicitType.kt")
|
||||
public void testPropertyDeclarationWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunction.kt")
|
||||
public void testReturnFromFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunctionQualifiedReceiver.kt")
|
||||
public void testReturnFromFunctionQualifiedReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromFunctionQualifiedSelector.kt")
|
||||
public void testReturnFromFunctionQualifiedSelector() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnFromLambda.kt")
|
||||
public void testReturnFromLambda() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("safeCallArgument.kt")
|
||||
public void testSafeCallArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/safeCallArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sam.kt")
|
||||
public void testSam() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsArgument.kt")
|
||||
public void testSamAsArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsConstructorArgument.kt")
|
||||
public void testSamAsConstructorArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsReturn.kt")
|
||||
public void testSamAsReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceAsArgument.kt")
|
||||
public void testSamReferenceAsArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceAsVararg.kt")
|
||||
public void testSamReferenceAsVararg() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samReferenceWithTypeCast.kt")
|
||||
public void testSamReferenceWithTypeCast() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithExplicitTypeFromProperty.kt")
|
||||
public void testSamWithExplicitTypeFromProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithReturnToExplicitLabel.kt")
|
||||
public void testSamWithReturnToExplicitLabel() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithReturnToImplicitLabel.kt")
|
||||
public void testSamWithReturnToImplicitLabel() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithTypeCast.kt")
|
||||
public void testSamWithTypeCast() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIf.kt")
|
||||
public void testStatementInIf() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIfBlockExpression.kt")
|
||||
public void testStatementInIfBlockExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIfBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInIfWithoutExplicitType.kt")
|
||||
public void testStatementInIfWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIfWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhen.kt")
|
||||
public void testStatementInWhen() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhenBlockExpression.kt")
|
||||
public void testStatementInWhenBlockExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhenBlockExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("statementInWhenWithoutExplicitType.kt")
|
||||
public void testStatementInWhenWithoutExplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInWhenWithoutExplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("variableAssignment.kt")
|
||||
public void testVariableAssignment() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("variableAssignmentQualified.kt")
|
||||
public void testVariableAssignmentQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileCondition.kt")
|
||||
public void testWhileCondition() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileConditionQualified.kt")
|
||||
public void testWhileConditionQualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+353
-353
@@ -28,437 +28,437 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated extends AbstractHLExpressionTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction.kt")
|
||||
public void testAnonymousFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/anonymousFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayElement_arrayOfNulls.kt")
|
||||
public void testArrayElement_arrayOfNulls() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/arrayElement_arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("array_arrayOfNulls.kt")
|
||||
public void testArray_arrayOfNulls() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/array_arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentExpressionTarget.kt")
|
||||
public void testAssignmentExpressionTarget() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignmentExpressionTarget.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpression.kt")
|
||||
public void testBinaryExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/binaryExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("breakExpression.kt")
|
||||
public void testBreakExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/breakExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forExpression.kt")
|
||||
public void testForExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/forExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionCall.kt")
|
||||
public void testFunctionCall() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/functionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inParens.kt")
|
||||
public void testInParens() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/inParens.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteGet.kt")
|
||||
public void testIncompleteGet() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/incompleteGet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("insideStringTemplate.kt")
|
||||
public void testInsideStringTemplate() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("insideStringTemplateWithBinrary.kt")
|
||||
public void testInsideStringTemplateWithBinrary() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplateWithBinrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intLiteral.kt")
|
||||
public void testIntLiteral() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/intLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedType.kt")
|
||||
public void testJavaEnhancedType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/javaEnhancedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedTypeExternalAnnotation.kt")
|
||||
public void testJavaEnhancedTypeExternalAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/javaEnhancedTypeExternalAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listElement_listOf.kt")
|
||||
public void testListElement_listOf() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_listOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listElement_mutableListOf.kt")
|
||||
public void testListElement_mutableListOf() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_mutableListOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("list_listOf.kt")
|
||||
public void testList_listOf() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_listOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("list_mutableListOf.kt")
|
||||
public void testList_mutableListOf() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_mutableListOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameReference.kt")
|
||||
public void testNameReference() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExpression.kt")
|
||||
public void testNonExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nonExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformType.kt")
|
||||
public void testPlatformType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/platformType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssign.kt")
|
||||
public void testPlusAssign() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/plusAssign.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixDec.kt")
|
||||
public void testPostfixDec() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/postfixDec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixInc.kt")
|
||||
public void testPrefixInc() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/prefixInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolvedSuper.kt")
|
||||
public void testResolvedSuper() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/resolvedSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnExpression.kt")
|
||||
public void testReturnExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/returnExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleExpressionLambdaBody.kt")
|
||||
public void testSingleExpressionLambdaBody() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/singleExpressionLambdaBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_asCallArg.kt")
|
||||
public void testSmartcast_asCallArg() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_asCallArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_asReceiver.kt")
|
||||
public void testSmartcast_asReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_asReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_multi.kt")
|
||||
public void testSmartcast_multi() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_multi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_unused.kt")
|
||||
public void testSmartcast_unused() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_unused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument.kt")
|
||||
public void testUnderscoreTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/underscoreTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_multipleSuperTypes.kt")
|
||||
public void testUnresolvedSuper_multipleSuperTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_multipleSuperTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_noSuperType.kt")
|
||||
public void testUnresolvedSuper_noSuperType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_noSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_singleSuperType.kt")
|
||||
public void testUnresolvedSuper_singleSuperType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_singleSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileExpression.kt")
|
||||
public void testWhileExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/whileExpression.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignment {
|
||||
@Test
|
||||
public void testAllFilesPresentInAssignment() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("arrayAssignementTarget.kt")
|
||||
public void testArrayAssignementTarget() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignementTarget.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction.kt")
|
||||
public void testAnonymousFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/anonymousFunction.kt");
|
||||
@TestMetadata("arrayAssignmentTargetUnresovledSet.kt")
|
||||
public void testArrayAssignmentTargetUnresovledSet() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignmentTargetUnresovledSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayElement_arrayOfNulls.kt")
|
||||
public void testArrayElement_arrayOfNulls() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/arrayElement_arrayOfNulls.kt");
|
||||
@TestMetadata("arrayAssignmentTargetWithTypeParameters.kt")
|
||||
public void testArrayAssignmentTargetWithTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignmentTargetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("array_arrayOfNulls.kt")
|
||||
public void testArray_arrayOfNulls() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/array_arrayOfNulls.kt");
|
||||
@TestMetadata("arrayCompoundAssignementTarget.kt")
|
||||
public void testArrayCompoundAssignementTarget() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayCompoundAssignementTarget.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentExpressionTarget.kt")
|
||||
public void testAssignmentExpressionTarget() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignmentExpressionTarget.kt");
|
||||
@TestMetadata("readArrayElement.kt")
|
||||
public void testReadArrayElement() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/readArrayElement.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NameReference {
|
||||
@Test
|
||||
public void testAllFilesPresentInNameReference() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpression.kt")
|
||||
public void testBinaryExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/binaryExpression.kt");
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("breakExpression.kt")
|
||||
public void testBreakExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/breakExpression.kt");
|
||||
@TestMetadata("assignment_qualified.kt")
|
||||
public void testAssignment_qualified() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/assignment_qualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forExpression.kt")
|
||||
public void testForExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/forExpression.kt");
|
||||
@TestMetadata("callableReference.kt")
|
||||
public void testCallableReference() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/callableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/capturedBoundType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionCall.kt")
|
||||
public void testFunctionCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/functionCall.kt");
|
||||
public void testFunctionCall() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inParens.kt")
|
||||
public void testInParens() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/inParens.kt");
|
||||
@TestMetadata("functionCall_invalid.kt")
|
||||
public void testFunctionCall_invalid() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteGet.kt")
|
||||
public void testIncompleteGet() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/incompleteGet.kt");
|
||||
@TestMetadata("functionCall_safeAccess.kt")
|
||||
public void testFunctionCall_safeAccess() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall_safeAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("insideStringTemplate.kt")
|
||||
public void testInsideStringTemplate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplate.kt");
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("insideStringTemplateWithBinrary.kt")
|
||||
public void testInsideStringTemplateWithBinrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplateWithBinrary.kt");
|
||||
@TestMetadata("functionalType_parens_1.kt")
|
||||
public void testFunctionalType_parens_1() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_parens_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intLiteral.kt")
|
||||
public void testIntLiteral() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/intLiteral.kt");
|
||||
@TestMetadata("functionalType_parens_2.kt")
|
||||
public void testFunctionalType_parens_2() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_parens_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedType.kt")
|
||||
public void testJavaEnhancedType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/javaEnhancedType.kt");
|
||||
@TestMetadata("functionalType_withReceiver.kt")
|
||||
public void testFunctionalType_withReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_withReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedTypeExternalAnnotation.kt")
|
||||
public void testJavaEnhancedTypeExternalAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/javaEnhancedTypeExternalAnnotation.kt");
|
||||
@TestMetadata("innerType_constructor.kt")
|
||||
public void testInnerType_constructor() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/innerType_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listElement_listOf.kt")
|
||||
public void testListElement_listOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_listOf.kt");
|
||||
@TestMetadata("innerType_constructor_invalid.kt")
|
||||
public void testInnerType_constructor_invalid() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/innerType_constructor_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listElement_mutableListOf.kt")
|
||||
public void testListElement_mutableListOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_mutableListOf.kt");
|
||||
@TestMetadata("invokeCallOnObject1.kt")
|
||||
public void testInvokeCallOnObject1() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/invokeCallOnObject1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("list_listOf.kt")
|
||||
public void testList_listOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_listOf.kt");
|
||||
@TestMetadata("invokeCallOnObject2.kt")
|
||||
public void testInvokeCallOnObject2() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/invokeCallOnObject2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("list_mutableListOf.kt")
|
||||
public void testList_mutableListOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_mutableListOf.kt");
|
||||
@TestMetadata("nestedType_constructor.kt")
|
||||
public void testNestedType_constructor() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameReference.kt")
|
||||
public void testNameReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference.kt");
|
||||
@TestMetadata("nestedType_constructor_invalid.kt")
|
||||
public void testNestedType_constructor_invalid() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_constructor_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExpression.kt")
|
||||
public void testNonExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nonExpression.kt");
|
||||
@TestMetadata("nestedType_object.kt")
|
||||
public void testNestedType_object() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_object.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformType.kt")
|
||||
public void testPlatformType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/platformType.kt");
|
||||
@TestMetadata("nestedType_object_extensionInvoke.kt")
|
||||
public void testNestedType_object_extensionInvoke() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_object_extensionInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssign.kt")
|
||||
public void testPlusAssign() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/plusAssign.kt");
|
||||
@TestMetadata("propertyCall.kt")
|
||||
public void testPropertyCall() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixDec.kt")
|
||||
public void testPostfixDec() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/postfixDec.kt");
|
||||
@TestMetadata("propertyCall_genericExtension.kt")
|
||||
public void testPropertyCall_genericExtension() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall_genericExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixInc.kt")
|
||||
public void testPrefixInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/prefixInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolvedSuper.kt")
|
||||
public void testResolvedSuper() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/resolvedSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnExpression.kt")
|
||||
public void testReturnExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/returnExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleExpressionLambdaBody.kt")
|
||||
public void testSingleExpressionLambdaBody() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/singleExpressionLambdaBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_asCallArg.kt")
|
||||
public void testSmartcast_asCallArg() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_asCallArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_asReceiver.kt")
|
||||
public void testSmartcast_asReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_asReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_multi.kt")
|
||||
public void testSmartcast_multi() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_multi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_unused.kt")
|
||||
public void testSmartcast_unused() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/smartcast_unused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument.kt")
|
||||
public void testUnderscoreTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/underscoreTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_multipleSuperTypes.kt")
|
||||
public void testUnresolvedSuper_multipleSuperTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_multipleSuperTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_noSuperType.kt")
|
||||
public void testUnresolvedSuper_noSuperType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_noSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuper_singleSuperType.kt")
|
||||
public void testUnresolvedSuper_singleSuperType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_singleSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whileExpression.kt")
|
||||
public void testWhileExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/whileExpression.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignment {
|
||||
@Test
|
||||
public void testAllFilesPresentInAssignment() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAssignementTarget.kt")
|
||||
public void testArrayAssignementTarget() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignementTarget.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAssignmentTargetUnresovledSet.kt")
|
||||
public void testArrayAssignmentTargetUnresovledSet() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignmentTargetUnresovledSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayAssignmentTargetWithTypeParameters.kt")
|
||||
public void testArrayAssignmentTargetWithTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayAssignmentTargetWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayCompoundAssignementTarget.kt")
|
||||
public void testArrayCompoundAssignementTarget() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/arrayCompoundAssignementTarget.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("readArrayElement.kt")
|
||||
public void testReadArrayElement() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment/readArrayElement.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NameReference {
|
||||
@Test
|
||||
public void testAllFilesPresentInNameReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment_qualified.kt")
|
||||
public void testAssignment_qualified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/assignment_qualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReference.kt")
|
||||
public void testCallableReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/callableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/capturedBoundType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionCall.kt")
|
||||
public void testFunctionCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionCall_invalid.kt")
|
||||
public void testFunctionCall_invalid() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionCall_safeAccess.kt")
|
||||
public void testFunctionCall_safeAccess() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall_safeAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType_parens_1.kt")
|
||||
public void testFunctionalType_parens_1() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_parens_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType_parens_2.kt")
|
||||
public void testFunctionalType_parens_2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_parens_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType_withReceiver.kt")
|
||||
public void testFunctionalType_withReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType_withReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerType_constructor.kt")
|
||||
public void testInnerType_constructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/innerType_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerType_constructor_invalid.kt")
|
||||
public void testInnerType_constructor_invalid() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/innerType_constructor_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeCallOnObject1.kt")
|
||||
public void testInvokeCallOnObject1() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/invokeCallOnObject1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeCallOnObject2.kt")
|
||||
public void testInvokeCallOnObject2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/invokeCallOnObject2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedType_constructor.kt")
|
||||
public void testNestedType_constructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedType_constructor_invalid.kt")
|
||||
public void testNestedType_constructor_invalid() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_constructor_invalid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedType_object.kt")
|
||||
public void testNestedType_object() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_object.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedType_object_extensionInvoke.kt")
|
||||
public void testNestedType_object_extensionInvoke() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/nestedType_object_extensionInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyCall.kt")
|
||||
public void testPropertyCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyCall_genericExtension.kt")
|
||||
public void testPropertyCall_genericExtension() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall_genericExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyCall_safeAccess.kt")
|
||||
public void testPropertyCall_safeAccess() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall_safeAccess.kt");
|
||||
}
|
||||
@TestMetadata("propertyCall_safeAccess.kt")
|
||||
public void testPropertyCall_safeAccess() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/propertyCall_safeAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleExpectForActualTestGenerated extends AbstractExpectForActualTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actual_object.kt")
|
||||
public void testActual_object() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/actual_object.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("actual_object.kt")
|
||||
public void testActual_object() {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/actual_object.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectForActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectForActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("matchingButIncompatibleExpect.kt")
|
||||
public void testMatchingButIncompatibleExpect() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/matchingButIncompatibleExpect.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("matchingButIncompatibleExpect.kt")
|
||||
public void testMatchingButIncompatibleExpect() {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/matchingButIncompatibleExpect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleExpects.kt")
|
||||
public void testMultipleExpects() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/multipleExpects.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleExpects.kt")
|
||||
public void testMultipleExpects() {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/multipleExpects.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+86
-86
@@ -28,105 +28,105 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated extends AbstractAnalysisApiPsiTypeProviderTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actual_jvmInline_typealias.kt")
|
||||
public void testActual_jvmInline_typealias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_jvmInline_typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("actual_jvmInline_typealias.kt")
|
||||
public void testActual_jvmInline_typealias() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_jvmInline_typealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actual_typealias.kt")
|
||||
public void testActual_typealias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("actual_typealias.kt")
|
||||
public void testActual_typealias() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_typealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInForDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject_exposedAsReturnValue.kt")
|
||||
public void testAnonymousObject_exposedAsReturnValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/anonymousObject_exposedAsReturnValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObject_exposedAsReturnValue.kt")
|
||||
public void testAnonymousObject_exposedAsReturnValue() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/anonymousObject_exposedAsReturnValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedClass_functionParameter.kt")
|
||||
public void testDuplicatedClass_functionParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/duplicatedClass_functionParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("duplicatedClass_functionParameter.kt")
|
||||
public void testDuplicatedClass_functionParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/duplicatedClass_functionParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorTypeInNestedTypeArgument.kt")
|
||||
public void testErrorTypeInNestedTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/errorTypeInNestedTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorTypeInNestedTypeArgument.kt")
|
||||
public void testErrorTypeInNestedTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/errorTypeInNestedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsMemberInAnonymousObject.kt")
|
||||
public void testLocalClass_exposedAsMemberInAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsMemberInAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsMemberInAnonymousObject.kt")
|
||||
public void testLocalClass_exposedAsMemberInAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsMemberInAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsReturnValue.kt")
|
||||
public void testLocalClass_exposedAsReturnValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsReturnValue.kt")
|
||||
public void testLocalClass_exposedAsReturnValue() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsReturnValue_privateFunction.kt")
|
||||
public void testLocalClass_exposedAsReturnValue_privateFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue_privateFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_exposedAsReturnValue_privateFunction.kt")
|
||||
public void testLocalClass_exposedAsReturnValue_privateFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue_privateFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_localFunctionInSameScope.kt")
|
||||
public void testLocalClass_localFunctionInSameScope() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localFunctionInSameScope.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_localFunctionInSameScope.kt")
|
||||
public void testLocalClass_localFunctionInSameScope() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localFunctionInSameScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_localPropertyInSameScope.kt")
|
||||
public void testLocalClass_localPropertyInSameScope() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSameScope.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_localPropertyInSameScope.kt")
|
||||
public void testLocalClass_localPropertyInSameScope() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSameScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_localPropertyInSampeScope_functionalType.kt")
|
||||
public void testLocalClass_localPropertyInSampeScope_functionalType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSampeScope_functionalType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_localPropertyInSampeScope_functionalType.kt")
|
||||
public void testLocalClass_localPropertyInSampeScope_functionalType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSampeScope_functionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass_memberFunction.kt")
|
||||
public void testLocalClass_memberFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_memberFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass_memberFunction.kt")
|
||||
public void testLocalClass_memberFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionValueParameterNoStdlib.kt")
|
||||
public void testSuspendFunctionValueParameterNoStdlib() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/suspendFunctionValueParameterNoStdlib.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionValueParameterNoStdlib.kt")
|
||||
public void testSuspendFunctionValueParameterNoStdlib() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/suspendFunctionValueParameterNoStdlib.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionValueParameterWithStdlib.kt")
|
||||
public void testSuspendFunctionValueParameterWithStdlib() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/suspendFunctionValueParameterWithStdlib.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionValueParameterWithStdlib.kt")
|
||||
public void testSuspendFunctionValueParameterWithStdlib() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/suspendFunctionValueParameterWithStdlib.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleIsImplicitCompanionReferenceTestGenerated extends AbstractIsImplicitCompanionReferenceTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInIsImplicitReferenceToCompanion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsImplicitReferenceToCompanion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classAccessWithExplicitReferenceToCompanion.kt")
|
||||
public void testClassAccessWithExplicitReferenceToCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/classAccessWithExplicitReferenceToCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classAccessWithExplicitReferenceToCompanion.kt")
|
||||
public void testClassAccessWithExplicitReferenceToCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/classAccessWithExplicitReferenceToCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classAccessWithExplicitReferenceToNamedCompanion.kt")
|
||||
public void testClassAccessWithExplicitReferenceToNamedCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/classAccessWithExplicitReferenceToNamedCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classAccessWithExplicitReferenceToNamedCompanion.kt")
|
||||
public void testClassAccessWithExplicitReferenceToNamedCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/classAccessWithExplicitReferenceToNamedCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorCall.kt")
|
||||
public void testConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/constructorCall.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorCall.kt")
|
||||
public void testConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/constructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorCallWithInvokeInCompanion.kt")
|
||||
public void testConstructorCallWithInvokeInCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/constructorCallWithInvokeInCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorCallWithInvokeInCompanion.kt")
|
||||
public void testConstructorCallWithInvokeInCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/constructorCallWithInvokeInCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitReferenceToCompanion.kt")
|
||||
public void testExplicitReferenceToCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/explicitReferenceToCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("explicitReferenceToCompanion.kt")
|
||||
public void testExplicitReferenceToCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/explicitReferenceToCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitReferenceToNamedCompanion.kt")
|
||||
public void testExplicitReferenceToNamedCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/explicitReferenceToNamedCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("explicitReferenceToNamedCompanion.kt")
|
||||
public void testExplicitReferenceToNamedCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/explicitReferenceToNamedCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("impicitReferenceToCompanion.kt")
|
||||
public void testImpicitReferenceToCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/impicitReferenceToCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("impicitReferenceToCompanion.kt")
|
||||
public void testImpicitReferenceToCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/impicitReferenceToCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifierReferenceToClassWithCompanion.kt")
|
||||
public void testQualifierReferenceToClassWithCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/qualifierReferenceToClassWithCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("qualifierReferenceToClassWithCompanion.kt")
|
||||
public void testQualifierReferenceToClassWithCompanion() {
|
||||
runTest("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion/qualifierReferenceToClassWithCompanion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,51 +28,51 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleDelegateMemberScopeTestGenerated extends AbstractDelegateMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegatedMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegatedMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithGetter.kt")
|
||||
public void testPropertyWithGetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/propertyWithGetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyWithGetter.kt")
|
||||
public void testPropertyWithGetter() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/propertyWithGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleLibrary.kt")
|
||||
public void testSimpleLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simpleLibrary.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleLibrary.kt")
|
||||
public void testSimpleLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simpleLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withImplicitType.kt")
|
||||
public void testWithImplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/withImplicitType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withImplicitType.kt")
|
||||
public void testWithImplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/withImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withOverridden.kt")
|
||||
public void testWithOverridden() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/withOverridden.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withOverridden.kt")
|
||||
public void testWithOverridden() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/withOverridden.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleFileScopeTestGenerated extends AbstractFileScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFileScopeTest() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInFileScopeTest() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileScope.kt")
|
||||
public void testFileScope() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest/fileScope.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fileScope.kt")
|
||||
public void testFileScope() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest/fileScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFileScope.kt")
|
||||
public void testSimpleFileScope() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest/simpleFileScope.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleFileScope.kt")
|
||||
public void testSimpleFileScope() {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/fileScopeTest/simpleFileScope.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+61
-61
@@ -28,75 +28,75 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleHLSmartCastInfoTestGenerated extends AbstractHLSmartCastInfoTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSmartCastInfo() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSmartCastInfo() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bothImplicitReceiversSmartCast.kt")
|
||||
public void testBothImplicitReceiversSmartCast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/bothImplicitReceiversSmartCast.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("bothImplicitReceiversSmartCast.kt")
|
||||
public void testBothImplicitReceiversSmartCast() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/bothImplicitReceiversSmartCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiSmartcastAsReceiver_stable.kt")
|
||||
public void testMultiSmartcastAsReceiver_stable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_stable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multiSmartcastAsReceiver_stable.kt")
|
||||
public void testMultiSmartcastAsReceiver_stable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_stable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiSmartcastAsReceiver_unstable.kt")
|
||||
public void testMultiSmartcastAsReceiver_unstable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_unstable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multiSmartcastAsReceiver_unstable.kt")
|
||||
public void testMultiSmartcastAsReceiver_unstable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_unstable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiSmartcast_stable.kt")
|
||||
public void testMultiSmartcast_stable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_stable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multiSmartcast_stable.kt")
|
||||
public void testMultiSmartcast_stable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_stable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiSmartcast_unstable.kt")
|
||||
public void testMultiSmartcast_unstable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_unstable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multiSmartcast_unstable.kt")
|
||||
public void testMultiSmartcast_unstable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_unstable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastAsReceiver_stable.kt")
|
||||
public void testSmartcastAsReceiver_stable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_stable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcastAsReceiver_stable.kt")
|
||||
public void testSmartcastAsReceiver_stable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_stable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcastAsReceiver_unstable.kt")
|
||||
public void testSmartcastAsReceiver_unstable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_unstable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcastAsReceiver_unstable.kt")
|
||||
public void testSmartcastAsReceiver_unstable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_unstable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_stable.kt")
|
||||
public void testSmartcast_stable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_stable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast_stable.kt")
|
||||
public void testSmartcast_stable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_stable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast_unstable.kt")
|
||||
public void testSmartcast_unstable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_unstable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast_unstable.kt")
|
||||
public void testSmartcast_unstable() {
|
||||
runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_unstable.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/isSubclassOf")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleIsSubclassOfTestGenerated extends AbstractIsSubclassOfTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInIsSubclassOf() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/isSubclassOf"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsSubclassOf() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/isSubclassOf"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClasses.kt")
|
||||
public void testLocalClasses() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/isSubclassOf/localClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClasses.kt")
|
||||
public void testLocalClasses() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/isSubclassOf/localClasses.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+106
-106
@@ -28,129 +28,129 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleOverriddenDeclarationProviderTestGenerated extends AbstractOverriddenDeclarationProviderTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInOverriddenSymbols() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInOverriddenSymbols() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arraylistSubtype.kt")
|
||||
public void testArraylistSubtype() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/arraylistSubtype.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("arraylistSubtype.kt")
|
||||
public void testArraylistSubtype() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/arraylistSubtype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("backingField.kt")
|
||||
public void testBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/backingField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("backingField.kt")
|
||||
public void testBackingField() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/backingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testDelegateOverrideWithImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/delegateOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegateOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testDelegateOverrideWithImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/delegateOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testDelegateOverrideWithoutImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/delegateOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegateOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testDelegateOverrideWithoutImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/delegateOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inAnonymousClass.kt")
|
||||
public void testInAnonymousClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inAnonymousClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inAnonymousClass.kt")
|
||||
public void testInAnonymousClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inAnonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inLocalClass.kt")
|
||||
public void testInLocalClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inLocalClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inLocalClass.kt")
|
||||
public void testInLocalClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inOtherFile.kt")
|
||||
public void testInOtherFile() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inOtherFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inOtherFile.kt")
|
||||
public void testInOtherFile() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inOtherFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride2.kt")
|
||||
public void testIntersectionOverride2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride2.kt")
|
||||
public void testIntersectionOverride2() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testIntersectionOverrideWithImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testIntersectionOverrideWithImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testIntersectionOverrideWithoutImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testIntersectionOverrideWithoutImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAccessors.kt")
|
||||
public void testJavaAccessors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/javaAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaAccessors.kt")
|
||||
public void testJavaAccessors() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/javaAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleInterfaces.kt")
|
||||
public void testMultipleInterfaces() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/multipleInterfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleInterfaces.kt")
|
||||
public void testMultipleInterfaces() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/multipleInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onEnumEntry.kt")
|
||||
public void testOnEnumEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/onEnumEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onEnumEntry.kt")
|
||||
public void testOnEnumEntry() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/onEnumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterWithGeneratedProperty.kt")
|
||||
public void testParameterWithGeneratedProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/parameterWithGeneratedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("parameterWithGeneratedProperty.kt")
|
||||
public void testParameterWithGeneratedProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/parameterWithGeneratedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sequenceOfOverrides.kt")
|
||||
public void testSequenceOfOverrides() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/sequenceOfOverrides.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sequenceOfOverrides.kt")
|
||||
public void testSequenceOfOverrides() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/sequenceOfOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("substitutionOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testSubstitutionOverrideWithImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/substitutionOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("substitutionOverrideWithImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testSubstitutionOverrideWithImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/substitutionOverrideWithImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("substitutionOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testSubstitutionOverrideWithoutImplicitTypeInsideAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/substitutionOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("substitutionOverrideWithoutImplicitTypeInsideAnonymousObject.kt")
|
||||
public void testSubstitutionOverrideWithoutImplicitTypeInsideAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/substitutionOverrideWithoutImplicitTypeInsideAnonymousObject.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+212
-212
@@ -28,229 +28,229 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleRendererTestGenerated extends AbstractRendererTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInRenderDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexTypes.kt")
|
||||
public void testComplexTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/complexTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorInObject.kt")
|
||||
public void testConstructorInObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorOfAnonymousObject.kt")
|
||||
public void testConstructorOfAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorOfAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/contextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegates.kt")
|
||||
public void testDelegates() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/delegates.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedClass.kt")
|
||||
public void testDerivedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/derivedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyAnonymousObject.kt")
|
||||
public void testEmptyAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/emptyAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums2.kt")
|
||||
public void testEnums2() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/expectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("F.kt")
|
||||
public void testF() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalTypeAliases.kt")
|
||||
public void testFunctionalTypeAliases() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionalTypeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFunctions.kt")
|
||||
public void testGenericFunctions() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericProperty.kt")
|
||||
public void testGenericProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionType.kt")
|
||||
public void testIntersectionType() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/intersectionType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedOfAliasedType.kt")
|
||||
public void testNestedOfAliasedType() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedOfAliasedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedSuperType.kt")
|
||||
public void testNestedSuperType() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noPrimaryConstructor.kt")
|
||||
public void testNoPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/noPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClass.kt")
|
||||
public void testSimpleClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFun.kt")
|
||||
public void testSimpleFun() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTypeAlias.kt")
|
||||
public void testSimpleTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasWithGeneric.kt")
|
||||
public void testTypeAliasWithGeneric() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeAliasWithGeneric.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterVsNested.kt")
|
||||
public void testTypeParameterVsNested() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameterVsNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("where.kt")
|
||||
public void testWhere() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/where.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Types {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInRenderDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("annotationOnTypes.kt")
|
||||
public void testAnnotationOnTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/annotationOnTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/annotation.kt");
|
||||
@TestMetadata("annotationOnTypesWithComplexExpression.kt")
|
||||
public void testAnnotationOnTypesWithComplexExpression() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/annotationOnTypesWithComplexExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexTypes.kt")
|
||||
public void testComplexTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/complexTypes.kt");
|
||||
@TestMetadata("contextFunctionTypes.kt")
|
||||
public void testContextFunctionTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/contextFunctionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorInObject.kt")
|
||||
public void testConstructorInObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorOfAnonymousObject.kt")
|
||||
public void testConstructorOfAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorOfAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/contextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegates.kt")
|
||||
public void testDelegates() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/delegates.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedClass.kt")
|
||||
public void testDerivedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/derivedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyAnonymousObject.kt")
|
||||
public void testEmptyAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/emptyAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums2.kt")
|
||||
public void testEnums2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/expectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("F.kt")
|
||||
public void testF() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalTypeAliases.kt")
|
||||
public void testFunctionalTypeAliases() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionalTypeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFunctions.kt")
|
||||
public void testGenericFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericProperty.kt")
|
||||
public void testGenericProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionType.kt")
|
||||
public void testIntersectionType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/intersectionType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedOfAliasedType.kt")
|
||||
public void testNestedOfAliasedType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedOfAliasedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedSuperType.kt")
|
||||
public void testNestedSuperType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noPrimaryConstructor.kt")
|
||||
public void testNoPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/noPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClass.kt")
|
||||
public void testSimpleClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFun.kt")
|
||||
public void testSimpleFun() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTypeAlias.kt")
|
||||
public void testSimpleTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasWithGeneric.kt")
|
||||
public void testTypeAliasWithGeneric() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeAliasWithGeneric.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterVsNested.kt")
|
||||
public void testTypeParameterVsNested() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameterVsNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("where.kt")
|
||||
public void testWhere() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/where.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Types {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationOnTypes.kt")
|
||||
public void testAnnotationOnTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/annotationOnTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationOnTypesWithComplexExpression.kt")
|
||||
public void testAnnotationOnTypesWithComplexExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/annotationOnTypesWithComplexExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextFunctionTypes.kt")
|
||||
public void testContextFunctionTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/contextFunctionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extraTypeArguments.kt")
|
||||
public void testExtraTypeArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/extraTypeArguments.kt");
|
||||
}
|
||||
@TestMetadata("extraTypeArguments.kt")
|
||||
public void testExtraTypeArguments() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/types/extraTypeArguments.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+36
-36
@@ -28,45 +28,45 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSymbolRenderingByReferenceTestGenerated extends AbstractSymbolRenderingByReferenceTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolRenderingByReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolRenderingByReference() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedType.kt")
|
||||
public void testJavaEnhancedType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaEnhancedType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedType.kt")
|
||||
public void testJavaEnhancedType() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaEnhancedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedTypeExternalAnnotation.kt")
|
||||
public void testJavaEnhancedTypeExternalAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaEnhancedTypeExternalAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaEnhancedTypeExternalAnnotation.kt")
|
||||
public void testJavaEnhancedTypeExternalAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaEnhancedTypeExternalAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithMultipleTypeParametersBound.kt")
|
||||
public void testJavaMethodWithMultipleTypeParametersBound() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaMethodWithMultipleTypeParametersBound.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithMultipleTypeParametersBound.kt")
|
||||
public void testJavaMethodWithMultipleTypeParametersBound() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaMethodWithMultipleTypeParametersBound.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithTypeParametersBound.kt")
|
||||
public void testJavaMethodWithTypeParametersBound() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaMethodWithTypeParametersBound.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithTypeParametersBound.kt")
|
||||
public void testJavaMethodWithTypeParametersBound() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/symbolRenderingByReference/javaMethodWithTypeParametersBound.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,51 +28,51 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleAnnotationApplicableTargetsTestGenerated extends AbstractAnnotationApplicableTargetsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationApplicableTargets() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationApplicableTargets() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultTargets.kt")
|
||||
public void testDefaultTargets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/defaultTargets.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultTargets.kt")
|
||||
public void testDefaultTargets() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/defaultTargets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyTargets.kt")
|
||||
public void testEmptyTargets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/emptyTargets.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("emptyTargets.kt")
|
||||
public void testEmptyTargets() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/emptyTargets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotation.kt")
|
||||
public void testJavaAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/javaAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaAnnotation.kt")
|
||||
public void testJavaAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/javaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listedTargets.kt")
|
||||
public void testListedTargets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/listedTargets.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("listedTargets.kt")
|
||||
public void testListedTargets() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/listedTargets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAnnotationClass.kt")
|
||||
public void testNonAnnotationClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/nonAnnotationClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonAnnotationClass.kt")
|
||||
public void testNonAnnotationClass() {
|
||||
runTest("analysis/analysis-api/testData/components/symbolInfoProvider/annotationApplicableTargets/nonAnnotationClass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeCreator/classType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleBuildClassTypeTestGenerated extends AbstractBuildClassTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInClassType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeCreator/classType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInClassType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeCreator/classType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/classType/unresolved.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/classType/unresolved.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeCreator/typeParameter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleTypeParameterTypeTestGenerated extends AbstractTypeParameterTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeParameter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeCreator/typeParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeParameter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeCreator/typeParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleBounds.kt")
|
||||
public void testMultipleBounds() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/multipleBounds.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleBounds.kt")
|
||||
public void testMultipleBounds() {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/multipleBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("regular.kt")
|
||||
public void testRegular() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/regular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("regular.kt")
|
||||
public void testRegular() {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/regular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reified.kt")
|
||||
public void testReified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/reified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("reified.kt")
|
||||
public void testReified() {
|
||||
runTest("analysis/analysis-api/testData/components/typeCreator/typeParameter/reified.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleDoubleColonReceiverTypeTestGenerated extends AbstractDoubleColonReceiverTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDoubleColonReceiverType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDoubleColonReceiverType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getClass_primitive.kt")
|
||||
public void testGetClass_primitive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_primitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("getClass_primitive.kt")
|
||||
public void testGetClass_primitive() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_primitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getClass_type.kt")
|
||||
public void testGetClass_type() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_type.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("getClass_type.kt")
|
||||
public void testGetClass_type() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_type.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getClass_variable.kt")
|
||||
public void testGetClass_variable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_variable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("getClass_variable.kt")
|
||||
public void testGetClass_variable() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/getClass_variable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodReference_java.kt")
|
||||
public void testMethodReference_java() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_java.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodReference_java.kt")
|
||||
public void testMethodReference_java() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_java.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodReference_type.kt")
|
||||
public void testMethodReference_type() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_type.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodReference_type.kt")
|
||||
public void testMethodReference_type() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_type.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodReference_typeArgument.kt")
|
||||
public void testMethodReference_typeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_typeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodReference_typeArgument.kt")
|
||||
public void testMethodReference_typeArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_typeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodReference_typeArgument_startProjection.kt")
|
||||
public void testMethodReference_typeArgument_startProjection() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_typeArgument_startProjection.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodReference_typeArgument_startProjection.kt")
|
||||
public void testMethodReference_typeArgument_startProjection() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_typeArgument_startProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodReference_variable.kt")
|
||||
public void testMethodReference_variable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_variable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodReference_variable.kt")
|
||||
public void testMethodReference_variable() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/doubleColonReceiverType/methodReference_variable.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+36
-36
@@ -28,45 +28,45 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleFunctionClassKindTestGenerated extends AbstractFunctionClassKindTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionClassKind() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionClassKind() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/function.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/function.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kFunction.kt")
|
||||
public void testKFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kFunction.kt")
|
||||
public void testKFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kSuspendFunction.kt")
|
||||
public void testKSuspendFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kSuspendFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kSuspendFunction.kt")
|
||||
public void testKSuspendFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kSuspendFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunction.kt")
|
||||
public void testSuspendFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/suspendFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("suspendFunction.kt")
|
||||
public void testSuspendFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/suspendFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+36
-36
@@ -28,45 +28,45 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleIsDenotableTestGenerated extends AbstractIsDenotableTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInIsDenotable() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile(".*\\.descriptors\\.kt$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsDenotable() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile(".*\\.descriptors\\.kt$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localTypes.kt")
|
||||
public void testLocalTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localTypes.kt")
|
||||
public void testLocalTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTypes.kt")
|
||||
public void testSimpleTypes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/simpleTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleTypes.kt")
|
||||
public void testSimpleTypes() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/simpleTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/smartcast.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/smartcast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/typeParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/typeParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+36
-36
@@ -28,45 +28,45 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleHasCommonSubtypeTestGenerated extends AbstractHasCommonSubtypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInHaveCommonSubtype() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInHaveCommonSubtype() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collections.kt")
|
||||
public void testCollections() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/collections.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("collections.kt")
|
||||
public void testCollections() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/collections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataClasses.kt")
|
||||
public void testDataClasses() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/dataClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("dataClasses.kt")
|
||||
public void testDataClasses() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/dataClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/enums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+111
-111
@@ -28,135 +28,135 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/typeProvider/typeReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleTypeReferenceTestGenerated extends AbstractTypeReferenceTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/typeReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeReference() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/typeReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntry.kt")
|
||||
public void testAnnotationEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationEntry.kt")
|
||||
public void testAnnotationEntry() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntryBackingField.kt")
|
||||
public void testAnnotationEntryBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryBackingField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationEntryBackingField.kt")
|
||||
public void testAnnotationEntryBackingField() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntryGetter.kt")
|
||||
public void testAnnotationEntryGetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryGetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationEntryGetter.kt")
|
||||
public void testAnnotationEntryGetter() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntryOnParameter.kt")
|
||||
public void testAnnotationEntryOnParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryOnParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationEntryOnParameter.kt")
|
||||
public void testAnnotationEntryOnParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryOnParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntrySetter.kt")
|
||||
public void testAnnotationEntrySetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntrySetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationEntrySetter.kt")
|
||||
public void testAnnotationEntrySetter() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntrySetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationOnFunction.kt")
|
||||
public void testAnnotationOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationOnFunction.kt")
|
||||
public void testAnnotationOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReturn.kt")
|
||||
public void testFunctionReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functionReturn.kt")
|
||||
public void testFunctionReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReceiver.kt")
|
||||
public void testPropertyReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyReceiver.kt")
|
||||
public void testPropertyReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReturn.kt")
|
||||
public void testPropertyReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyReturn.kt")
|
||||
public void testPropertyReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjection.kt")
|
||||
public void testStarProjection() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/starProjection.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("starProjection.kt")
|
||||
public void testStarProjection() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/starProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superTypeEntry.kt")
|
||||
public void testSuperTypeEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/superTypeEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superTypeEntry.kt")
|
||||
public void testSuperTypeEntry() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/superTypeEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superTypeEntry_withTypeArgument.kt")
|
||||
public void testSuperTypeEntry_withTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/superTypeEntry_withTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superTypeEntry_withTypeArgument.kt")
|
||||
public void testSuperTypeEntry_withTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/superTypeEntry_withTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeArgument_functionCall.kt")
|
||||
public void testTypeArgument_functionCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/typeArgument_functionCall.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeArgument_functionCall.kt")
|
||||
public void testTypeArgument_functionCall() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/typeArgument_functionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeArgument_superTypeEntry.kt")
|
||||
public void testTypeArgument_superTypeEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/typeArgument_superTypeEntry.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeArgument_superTypeEntry.kt")
|
||||
public void testTypeArgument_superTypeEntry() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/typeArgument_superTypeEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument_inferred.kt")
|
||||
public void testUnderscoreTypeArgument_inferred() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/underscoreTypeArgument_inferred.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument_inferred.kt")
|
||||
public void testUnderscoreTypeArgument_inferred() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/underscoreTypeArgument_inferred.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument_reified.kt")
|
||||
public void testUnderscoreTypeArgument_reified() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/underscoreTypeArgument_reified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("underscoreTypeArgument_reified.kt")
|
||||
public void testUnderscoreTypeArgument_reified() {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/underscoreTypeArgument_reified.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+3090
-3090
File diff suppressed because it is too large
Load Diff
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/multiModuleSymbolByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleMultiModuleSymbolByPsiTestGenerated extends AbstractMultiModuleSymbolByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMultiModuleSymbolByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/multiModuleSymbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMultiModuleSymbolByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/multiModuleSymbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/multiModuleSymbolByPsi/expectActual.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() {
|
||||
runTest("analysis/analysis-api/testData/symbols/multiModuleSymbolByPsi/expectActual.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+286
-286
@@ -28,369 +28,369 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSingleSymbolByPsiTestGenerated extends AbstractSingleSymbolByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSingleSymbolByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExpandedParameterType.kt")
|
||||
public void testExpandedParameterType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExpandedReturnType.kt")
|
||||
public void testExpandedReturnType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithReceiverAnnotation.kt")
|
||||
public void testFunctionWithReceiverAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getterWithAnnotations.kt")
|
||||
public void testGetterWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getterWithReceiverAndAnnotations.kt")
|
||||
public void testGetterWithReceiverAndAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeAnnotationWithTypeAlias.kt")
|
||||
public void testNestedTypeAnnotationWithTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/nestedTypeAnnotationWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeAnnotationWithTypeAliasAsAnnotation.kt")
|
||||
public void testNestedTypeAnnotationWithTypeAliasAsAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/nestedTypeAnnotationWithTypeAliasAsAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithAnnotations.kt")
|
||||
public void testPropertyWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithAnnotationsAndAccessors.kt")
|
||||
public void testPropertyWithAnnotationsAndAccessors() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithDelegateAndAnnotations.kt")
|
||||
public void testPropertyWithDelegateAndAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithReceiverAnnotation.kt")
|
||||
public void testPropertyWithReceiverAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setterWithAnnotations.kt")
|
||||
public void testSetterWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationWithArgument.kt")
|
||||
public void testTypeAnnotationWithArgument() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationWithArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionParameterType.kt")
|
||||
public void testTypeAnnotationsOnFunctionParameterType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionReceiverType.kt")
|
||||
public void testTypeAnnotationsOnFunctionReceiverType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionalTypeWithTypeAlias.kt")
|
||||
public void testTypeAnnotationsOnFunctionalTypeWithTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionalTypeWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyGetterReturnType.kt")
|
||||
public void testTypeAnnotationsOnPropertyGetterReturnType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyReceiverType.kt")
|
||||
public void testTypeAnnotationsOnPropertyReceiverType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyReturnType.kt")
|
||||
public void testTypeAnnotationsOnPropertyReturnType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertySetterParameterType.kt")
|
||||
public void testTypeAnnotationsOnPropertySetterParameterType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.kt")
|
||||
public void testTypeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperClassCall.kt")
|
||||
public void testTypeAnnotationsOnSuperClassCall() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperClassCallOnAnonymousObject.kt")
|
||||
public void testTypeAnnotationsOnSuperClassCallOnAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperInterface.kt")
|
||||
public void testTypeAnnotationsOnSuperInterface() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperInterfaceOnAnonymousObject.kt")
|
||||
public void testTypeAnnotationsOnSuperInterfaceOnAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsWithTypeAlias.kt")
|
||||
public void testTypeAnnotationsWithTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClass.kt")
|
||||
public void testValueClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/valueClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Contracts {
|
||||
@Test
|
||||
public void testAllFilesPresentInContracts() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSingleSymbolByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("booleanConstReferenceInImplies.kt")
|
||||
public void testBooleanConstReferenceInImplies() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExpandedParameterType.kt")
|
||||
public void testExpandedParameterType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.kt");
|
||||
@TestMetadata("booleanExprContract.kt")
|
||||
public void testBooleanExprContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanExprContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExpandedReturnType.kt")
|
||||
public void testExpandedReturnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.kt");
|
||||
@TestMetadata("callsInPlaceAtLeastOnceContract.kt")
|
||||
public void testCallsInPlaceAtLeastOnceContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithReceiverAnnotation.kt")
|
||||
public void testFunctionWithReceiverAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.kt");
|
||||
@TestMetadata("callsInPlaceAtMostOnceContract.kt")
|
||||
public void testCallsInPlaceAtMostOnceContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getterWithAnnotations.kt")
|
||||
public void testGetterWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.kt");
|
||||
@TestMetadata("callsInPlaceExactlyOnceContract.kt")
|
||||
public void testCallsInPlaceExactlyOnceContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getterWithReceiverAndAnnotations.kt")
|
||||
public void testGetterWithReceiverAndAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.kt");
|
||||
@TestMetadata("callsInPlaceUnknownContract.kt")
|
||||
public void testCallsInPlaceUnknownContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeAnnotationWithTypeAlias.kt")
|
||||
public void testNestedTypeAnnotationWithTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/nestedTypeAnnotationWithTypeAlias.kt");
|
||||
@TestMetadata("invalidContractParameterPassedToReturns.kt")
|
||||
public void testInvalidContractParameterPassedToReturns() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeAnnotationWithTypeAliasAsAnnotation.kt")
|
||||
public void testNestedTypeAnnotationWithTypeAliasAsAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/nestedTypeAnnotationWithTypeAliasAsAnnotation.kt");
|
||||
@TestMetadata("isInstancePredicateContract.kt")
|
||||
public void testIsInstancePredicateContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/isInstancePredicateContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithAnnotations.kt")
|
||||
public void testPropertyWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.kt");
|
||||
@TestMetadata("logicalNotContract.kt")
|
||||
public void testLogicalNotContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/logicalNotContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithAnnotationsAndAccessors.kt")
|
||||
public void testPropertyWithAnnotationsAndAccessors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.kt");
|
||||
@TestMetadata("referenceBooleanReceiverInContract.kt")
|
||||
public void testReferenceBooleanReceiverInContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithDelegateAndAnnotations.kt")
|
||||
public void testPropertyWithDelegateAndAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.kt");
|
||||
@TestMetadata("referenceReceiverInContract.kt")
|
||||
public void testReferenceReceiverInContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceReceiverInContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithReceiverAnnotation.kt")
|
||||
public void testPropertyWithReceiverAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.kt");
|
||||
@TestMetadata("returnsContract.kt")
|
||||
public void testReturnsContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setterWithAnnotations.kt")
|
||||
public void testSetterWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.kt");
|
||||
@TestMetadata("returnsFalseContract.kt")
|
||||
public void testReturnsFalseContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsFalseContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationWithArgument.kt")
|
||||
public void testTypeAnnotationWithArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationWithArgument.kt");
|
||||
@TestMetadata("returnsNotNullContract.kt")
|
||||
public void testReturnsNotNullContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNotNullContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionParameterType.kt")
|
||||
public void testTypeAnnotationsOnFunctionParameterType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.kt");
|
||||
@TestMetadata("returnsNullContract.kt")
|
||||
public void testReturnsNullContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNullContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionReceiverType.kt")
|
||||
public void testTypeAnnotationsOnFunctionReceiverType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.kt");
|
||||
@TestMetadata("returnsTrueContract.kt")
|
||||
public void testReturnsTrueContract() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsTrueContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnFunctionalTypeWithTypeAlias.kt")
|
||||
public void testTypeAnnotationsOnFunctionalTypeWithTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionalTypeWithTypeAlias.kt");
|
||||
@TestMetadata("twoContracts.kt")
|
||||
public void testTwoContracts() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/twoContracts.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyGetterReturnType.kt")
|
||||
public void testTypeAnnotationsOnPropertyGetterReturnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.kt");
|
||||
@TestMetadata("destructuringDeclaration.kt")
|
||||
public void testDestructuringDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyReceiverType.kt")
|
||||
public void testTypeAnnotationsOnPropertyReceiverType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.kt");
|
||||
@TestMetadata("destructuringDeclarationInLambda.kt")
|
||||
public void testDestructuringDeclarationInLambda() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclarationInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertyReturnType.kt")
|
||||
public void testTypeAnnotationsOnPropertyReturnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.kt");
|
||||
@TestMetadata("destructuringDeclarationParameterInLambda.kt")
|
||||
public void testDestructuringDeclarationParameterInLambda() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertySetterParameterType.kt")
|
||||
public void testTypeAnnotationsOnPropertySetterParameterType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.kt");
|
||||
@TestMetadata("entryInDestructuringDeclaration.kt")
|
||||
public void testEntryInDestructuringDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryInDestructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.kt")
|
||||
public void testTypeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.kt");
|
||||
@TestMetadata("entryInDestructuringDeclarationParameterInLambda.kt")
|
||||
public void testEntryInDestructuringDeclarationParameterInLambda() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryInDestructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperClassCall.kt")
|
||||
public void testTypeAnnotationsOnSuperClassCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.kt");
|
||||
@TestMetadata("entryUnderscoreInDestructuringDeclaration.kt")
|
||||
public void testEntryUnderscoreInDestructuringDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryUnderscoreInDestructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperClassCallOnAnonymousObject.kt")
|
||||
public void testTypeAnnotationsOnSuperClassCallOnAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.kt");
|
||||
@TestMetadata("entryUnderscoreInDestructuringDeclarationParameterInLambda.kt")
|
||||
public void testEntryUnderscoreInDestructuringDeclarationParameterInLambda() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryUnderscoreInDestructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Errors {
|
||||
@Test
|
||||
public void testAllFilesPresentInErrors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperInterface.kt")
|
||||
public void testTypeAnnotationsOnSuperInterface() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.kt");
|
||||
@TestMetadata("anonymousObjectInInvalidPosition.kt")
|
||||
public void testAnonymousObjectInInvalidPosition() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsOnSuperInterfaceOnAnonymousObject.kt")
|
||||
public void testTypeAnnotationsOnSuperInterfaceOnAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationsWithTypeAlias.kt")
|
||||
public void testTypeAnnotationsWithTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueClass.kt")
|
||||
public void testValueClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/valueClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Contracts {
|
||||
@Test
|
||||
public void testAllFilesPresentInContracts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("booleanConstReferenceInImplies.kt")
|
||||
public void testBooleanConstReferenceInImplies() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("booleanExprContract.kt")
|
||||
public void testBooleanExprContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanExprContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callsInPlaceAtLeastOnceContract.kt")
|
||||
public void testCallsInPlaceAtLeastOnceContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callsInPlaceAtMostOnceContract.kt")
|
||||
public void testCallsInPlaceAtMostOnceContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callsInPlaceExactlyOnceContract.kt")
|
||||
public void testCallsInPlaceExactlyOnceContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callsInPlaceUnknownContract.kt")
|
||||
public void testCallsInPlaceUnknownContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invalidContractParameterPassedToReturns.kt")
|
||||
public void testInvalidContractParameterPassedToReturns() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("isInstancePredicateContract.kt")
|
||||
public void testIsInstancePredicateContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/isInstancePredicateContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("logicalNotContract.kt")
|
||||
public void testLogicalNotContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/logicalNotContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceBooleanReceiverInContract.kt")
|
||||
public void testReferenceBooleanReceiverInContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceReceiverInContract.kt")
|
||||
public void testReferenceReceiverInContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceReceiverInContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnsContract.kt")
|
||||
public void testReturnsContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnsFalseContract.kt")
|
||||
public void testReturnsFalseContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsFalseContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnsNotNullContract.kt")
|
||||
public void testReturnsNotNullContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNotNullContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnsNullContract.kt")
|
||||
public void testReturnsNullContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNullContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnsTrueContract.kt")
|
||||
public void testReturnsTrueContract() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsTrueContract.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoContracts.kt")
|
||||
public void testTwoContracts() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/twoContracts.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclaration.kt")
|
||||
public void testDestructuringDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclarationInLambda.kt")
|
||||
public void testDestructuringDeclarationInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclarationInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclarationParameterInLambda.kt")
|
||||
public void testDestructuringDeclarationParameterInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/destructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entryInDestructuringDeclaration.kt")
|
||||
public void testEntryInDestructuringDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryInDestructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entryInDestructuringDeclarationParameterInLambda.kt")
|
||||
public void testEntryInDestructuringDeclarationParameterInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryInDestructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entryUnderscoreInDestructuringDeclaration.kt")
|
||||
public void testEntryUnderscoreInDestructuringDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryUnderscoreInDestructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entryUnderscoreInDestructuringDeclarationParameterInLambda.kt")
|
||||
public void testEntryUnderscoreInDestructuringDeclarationParameterInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/destructuring/entryUnderscoreInDestructuringDeclarationParameterInLambda.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Errors {
|
||||
@Test
|
||||
public void testAllFilesPresentInErrors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObjectInInvalidPosition.kt")
|
||||
public void testAnonymousObjectInInvalidPosition() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectWithTypeArgsAsExpression.kt")
|
||||
public void testObjectWithTypeArgsAsExpression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.kt");
|
||||
}
|
||||
@TestMetadata("objectWithTypeArgsAsExpression.kt")
|
||||
public void testObjectWithTypeArgsAsExpression() {
|
||||
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+95
-95
@@ -28,103 +28,103 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByFqName")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSymbolByFqNameTestGenerated extends AbstractSymbolByFqNameTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByFqName() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByFqName"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFromJdk.kt")
|
||||
public void testClassFromJdk() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileWalkDirectionEnum.kt")
|
||||
public void testFileWalkDirectionEnum() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("iterator.kt")
|
||||
public void testIterator() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/iterator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kclass.kt")
|
||||
public void testKclass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/kclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listOf.kt")
|
||||
public void testListOf() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/listOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionWithOverloads.kt")
|
||||
public void testMemberFunctionWithOverloads() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/typealias.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByFqName() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByFqName"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFromJdk.kt")
|
||||
public void testClassFromJdk() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileWalkDirectionEnum.kt")
|
||||
public void testFileWalkDirectionEnum() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("iterator.kt")
|
||||
public void testIterator() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/iterator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kclass.kt")
|
||||
public void testKclass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/kclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listOf.kt")
|
||||
public void testListOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/listOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionWithOverloads.kt")
|
||||
public void testMemberFunctionWithOverloads() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/typealias.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("myInterfaceSupertype.kt")
|
||||
public void testMyInterfaceSupertype() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.kt");
|
||||
}
|
||||
@TestMetadata("myInterfaceSupertype.kt")
|
||||
public void testMyInterfaceSupertype() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+369
-369
@@ -28,431 +28,431 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSymbolByPsiTestGenerated extends AbstractSymbolByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("backingField.kt")
|
||||
public void testBackingField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/backingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classInitializer.kt")
|
||||
public void testClassInitializer() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMembes.kt")
|
||||
public void testClassMembes() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classPrimaryConstructor.kt")
|
||||
public void testClassPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSecondaryConstructors.kt")
|
||||
public void testClassSecondaryConstructors() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithTypeParams.kt")
|
||||
public void testClassWithTypeParams() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateField.kt")
|
||||
public void testDelegateField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProp.kt")
|
||||
public void testDelegatedProp() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclaration.kt")
|
||||
public void testDestructuringDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamic.kt")
|
||||
public void testDynamic() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryFunctions.kt")
|
||||
public void testEnumEntryFunctions() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryOverride.kt")
|
||||
public void testEnumEntryOverride() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryProperties.kt")
|
||||
public void testEnumEntryProperties() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValueMember.kt")
|
||||
public void testEnumValueMember() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitBackingField.kt")
|
||||
public void testExplicitBackingField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("facadeWithJvmName.kt")
|
||||
public void testFacadeWithJvmName() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/facadeWithJvmName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopVariable.kt")
|
||||
public void testForLoopVariable() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/forLoopVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/function.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithTypeAlias.kt")
|
||||
public void testFunctionWithTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithTypeParams.kt")
|
||||
public void testFunctionWithTypeParams() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsFromCompanion.kt")
|
||||
public void testFunctionsFromCompanion() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionsFromCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitConstructorDelegationCall.kt")
|
||||
public void testImplicitConstructorDelegationCall() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitReturn.kt")
|
||||
public void testImplicitReturn() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitReturnInLambda.kt")
|
||||
public void testImplicitReturnInLambda() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmField.kt")
|
||||
public void testJvmField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmName.kt")
|
||||
public void testJvmName() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/localDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctions.kt")
|
||||
public void testMemberFunctions() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/memberFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberProperties.kt")
|
||||
public void testMemberProperties() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multifilePart.kt")
|
||||
public void testMultifilePart() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/multifilePart.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerAndInnerClasses.kt")
|
||||
public void testOuterAndInnerClasses() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/outerAndInnerClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerAndInnerTypeAlias.kt")
|
||||
public void testOuterAndInnerTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/outerAndInnerTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesFromCompanion.kt")
|
||||
public void testPropertiesFromCompanion() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/propertiesFromCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("similarGenericSignature.kt")
|
||||
public void testSimilarGenericSignature() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/similarGenericSignature.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/topLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotations.kt")
|
||||
public void testTypeAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargFunctions.kt")
|
||||
public void testVarargFunctions() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ContextReceivers {
|
||||
@Test
|
||||
public void testAllFilesPresentInContextReceivers() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("contextReceiversOnClass.kt")
|
||||
public void testContextReceiversOnClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/annotations.kt");
|
||||
@TestMetadata("contextReceiversOnFunction.kt")
|
||||
public void testContextReceiversOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.kt");
|
||||
@TestMetadata("contextReceiversOnProperty.kt")
|
||||
public void testContextReceiversOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("backingField.kt")
|
||||
public void testBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/backingField.kt");
|
||||
@TestMetadata("similarSignatures.kt")
|
||||
public void testSimilarSignatures() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ValueParameters {
|
||||
@Test
|
||||
public void testAllFilesPresentInValueParameters() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/class.kt");
|
||||
@TestMetadata("parameterInlining.kt")
|
||||
public void testParameterInlining() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classInitializer.kt")
|
||||
public void testClassInitializer() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.kt");
|
||||
@TestMetadata("parameterNotFunctionalType.kt")
|
||||
public void testParameterNotFunctionalType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterNotFunctionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMembes.kt")
|
||||
public void testClassMembes() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.kt");
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classPrimaryConstructor.kt")
|
||||
public void testClassPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.kt");
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructor.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSecondaryConstructors.kt")
|
||||
public void testClassSecondaryConstructors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.kt");
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorAsProperty.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorAsProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithTypeParams.kt")
|
||||
public void testClassWithTypeParams() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.kt");
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorAsPropertyWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateField.kt")
|
||||
public void testDelegateField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.kt");
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorWithoutType.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProp.kt")
|
||||
public void testDelegatedProp() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.kt");
|
||||
@TestMetadata("varargInPrimaryConstructor.kt")
|
||||
public void testVarargInPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.kt");
|
||||
@TestMetadata("varargInPrimaryConstructorAsProperty.kt")
|
||||
public void testVarargInPrimaryConstructorAsProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclaration.kt")
|
||||
public void testDestructuringDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.kt");
|
||||
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType.kt")
|
||||
public void testVarargInPrimaryConstructorAsPropertyWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamic.kt")
|
||||
public void testDynamic() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.kt");
|
||||
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType2.kt")
|
||||
public void testVarargInPrimaryConstructorAsPropertyWithoutType2() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enum.kt");
|
||||
@TestMetadata("varargInPrimaryConstructorWithoutType.kt")
|
||||
public void testVarargInPrimaryConstructorWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryFunctions.kt")
|
||||
public void testEnumEntryFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.kt");
|
||||
@TestMetadata("varargInSecondaryConstructor.kt")
|
||||
public void testVarargInSecondaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryOverride.kt")
|
||||
public void testEnumEntryOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.kt");
|
||||
@TestMetadata("varargInSecondaryConstructorWithoutType.kt")
|
||||
public void testVarargInSecondaryConstructorWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryProperties.kt")
|
||||
public void testEnumEntryProperties() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValueMember.kt")
|
||||
public void testEnumValueMember() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitBackingField.kt")
|
||||
public void testExplicitBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("facadeWithJvmName.kt")
|
||||
public void testFacadeWithJvmName() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/facadeWithJvmName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopVariable.kt")
|
||||
public void testForLoopVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/forLoopVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/function.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithTypeAlias.kt")
|
||||
public void testFunctionWithTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithTypeParams.kt")
|
||||
public void testFunctionWithTypeParams() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsFromCompanion.kt")
|
||||
public void testFunctionsFromCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/functionsFromCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitConstructorDelegationCall.kt")
|
||||
public void testImplicitConstructorDelegationCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitReturn.kt")
|
||||
public void testImplicitReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitReturnInLambda.kt")
|
||||
public void testImplicitReturnInLambda() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmField.kt")
|
||||
public void testJvmField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmName.kt")
|
||||
public void testJvmName() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/localDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctions.kt")
|
||||
public void testMemberFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/memberFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberProperties.kt")
|
||||
public void testMemberProperties() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multifilePart.kt")
|
||||
public void testMultifilePart() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/multifilePart.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerAndInnerClasses.kt")
|
||||
public void testOuterAndInnerClasses() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/outerAndInnerClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerAndInnerTypeAlias.kt")
|
||||
public void testOuterAndInnerTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/outerAndInnerTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesFromCompanion.kt")
|
||||
public void testPropertiesFromCompanion() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/propertiesFromCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("similarGenericSignature.kt")
|
||||
public void testSimilarGenericSignature() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/similarGenericSignature.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctions.kt")
|
||||
public void testTopLevelFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/topLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotations.kt")
|
||||
public void testTypeAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargFunctions.kt")
|
||||
public void testVarargFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ContextReceivers {
|
||||
@Test
|
||||
public void testAllFilesPresentInContextReceivers() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiversOnClass.kt")
|
||||
public void testContextReceiversOnClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiversOnFunction.kt")
|
||||
public void testContextReceiversOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiversOnProperty.kt")
|
||||
public void testContextReceiversOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("similarSignatures.kt")
|
||||
public void testSimilarSignatures() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ValueParameters {
|
||||
@Test
|
||||
public void testAllFilesPresentInValueParameters() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterInlining.kt")
|
||||
public void testParameterInlining() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNotFunctionalType.kt")
|
||||
public void testParameterNotFunctionalType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterNotFunctionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructor.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorAsProperty.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorAsProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorAsPropertyWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationPrimaryConstructorWithoutType.kt")
|
||||
public void testVarargInAnnotationPrimaryConstructorWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInPrimaryConstructor.kt")
|
||||
public void testVarargInPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInPrimaryConstructorAsProperty.kt")
|
||||
public void testVarargInPrimaryConstructorAsProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType.kt")
|
||||
public void testVarargInPrimaryConstructorAsPropertyWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType2.kt")
|
||||
public void testVarargInPrimaryConstructorAsPropertyWithoutType2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInPrimaryConstructorWithoutType.kt")
|
||||
public void testVarargInPrimaryConstructorWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInSecondaryConstructor.kt")
|
||||
public void testVarargInSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInSecondaryConstructorWithoutType.kt")
|
||||
public void testVarargInSecondaryConstructorWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructorWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargWithoutType.kt")
|
||||
public void testVarargWithoutType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargWithoutType.kt");
|
||||
}
|
||||
@TestMetadata("varargWithoutType.kt")
|
||||
public void testVarargWithoutType() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargWithoutType.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+294
-294
@@ -28,311 +28,311 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated extends AbstractSymbolByReferenceTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorField.kt")
|
||||
public void testAccessorField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/accessorField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByReference() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorValueParameter.kt")
|
||||
public void testConstructorValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/constructorValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorViaTypeAlias.kt")
|
||||
public void testConstructorViaTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntries.kt")
|
||||
public void testEnumEntries() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumEntries.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValueOf.kt")
|
||||
public void testEnumValueOf() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValues.kt")
|
||||
public void testEnumValues() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitLambdaParameter.kt")
|
||||
public void testExplicitLambdaParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/explicitLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiverParameter.kt")
|
||||
public void testFunctionReceiverParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/functionReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFromFunctionInLocalClass.kt")
|
||||
public void testGenericFromFunctionInLocalClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/genericFromFunctionInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFromOuterClassInInnerClass.kt")
|
||||
public void testGenericFromOuterClassInInnerClass() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/genericFromOuterClassInInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitLambdaParameter.kt")
|
||||
public void testImplicitLambdaParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/implicitLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaClassWithEmptyAnnotationName.kt")
|
||||
public void testJavaClassWithEmptyAnnotationName() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaClassWithEmptyAnnotationName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaField.kt")
|
||||
public void testJavaField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFieldWithTypeAnnotation.kt")
|
||||
public void testJavaFieldWithTypeAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaFieldWithTypeAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethod.kt")
|
||||
public void testJavaMethod() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithExternalNotNullAnnotation.kt")
|
||||
public void testJavaMethodWithExternalNotNullAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethodWithExternalNotNullAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithNotNullAnnotation.kt")
|
||||
public void testJavaMethodWithNotNullAnnotation() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethodWithNotNullAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticMethod.kt")
|
||||
public void testJavaStaticMethod() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaStaticMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaSyntheticAccessor.kt")
|
||||
public void testJavaSyntheticAccessor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaSyntheticAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorProperty.kt")
|
||||
public void testLibraryConstructorProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorPropertyWithAnnotations.kt")
|
||||
public void testLibraryConstructorPropertyWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorVariable.kt")
|
||||
public void testLibraryConstructorVariable() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorVariableWithAnnotations.kt")
|
||||
public void testLibraryConstructorVariableWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberProperty.kt")
|
||||
public void testLibraryMemberProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberPropertyWithAnnotations.kt")
|
||||
public void testLibraryMemberPropertyWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberVariable.kt")
|
||||
public void testLibraryMemberVariable() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberVariableWithAnnotations.kt")
|
||||
public void testLibraryMemberVariableWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryProperty.kt")
|
||||
public void testLibraryProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryPropertyWithAnnotations.kt")
|
||||
public void testLibraryPropertyWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryVariable.kt")
|
||||
public void testLibraryVariable() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryVariableWithAnnotations.kt")
|
||||
public void testLibraryVariableWithAnnotations() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorValueParameter.kt")
|
||||
public void testPrimaryConstructorValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/primaryConstructorValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorValueParameterAsProperty.kt")
|
||||
public void testPrimaryConstructorValueParameterAsProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/primaryConstructorValueParameterAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReceiverParameter.kt")
|
||||
public void testPropertyReceiverParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/propertyReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConstructor.kt")
|
||||
public void testSamConstructor() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setterValueParameter.kt")
|
||||
public void testSetterValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/setterValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticProperty.kt")
|
||||
public void testSyntheticProperty() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/syntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationOnBackingField.kt")
|
||||
public void testTypeAnnotationOnBackingField() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/typeAnnotationOnBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/typeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/valueParameter.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByReference/js")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Js {
|
||||
@Test
|
||||
public void testAllFilesPresentInJs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference/js"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorField.kt")
|
||||
public void testAccessorField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/accessorField.kt");
|
||||
@TestMetadata("functionFromJsDynamicScopeNoArguments.kt")
|
||||
public void testFunctionFromJsDynamicScopeNoArguments() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/functionFromJsDynamicScopeNoArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolByReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("functionFromJsDynamicScopeWithArguments.kt")
|
||||
public void testFunctionFromJsDynamicScopeWithArguments() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/functionFromJsDynamicScopeWithArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorValueParameter.kt")
|
||||
public void testConstructorValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/constructorValueParameter.kt");
|
||||
@TestMetadata("propertyFromJsDynamicScope.kt")
|
||||
public void testPropertyFromJsDynamicScope() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/propertyFromJsDynamicScope.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorViaTypeAlias.kt")
|
||||
public void testConstructorViaTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntries.kt")
|
||||
public void testEnumEntries() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumEntries.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValueOf.kt")
|
||||
public void testEnumValueOf() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValues.kt")
|
||||
public void testEnumValues() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitLambdaParameter.kt")
|
||||
public void testExplicitLambdaParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/explicitLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiverParameter.kt")
|
||||
public void testFunctionReceiverParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/functionReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFromFunctionInLocalClass.kt")
|
||||
public void testGenericFromFunctionInLocalClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/genericFromFunctionInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericFromOuterClassInInnerClass.kt")
|
||||
public void testGenericFromOuterClassInInnerClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/genericFromOuterClassInInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitLambdaParameter.kt")
|
||||
public void testImplicitLambdaParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/implicitLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaClassWithEmptyAnnotationName.kt")
|
||||
public void testJavaClassWithEmptyAnnotationName() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaClassWithEmptyAnnotationName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaField.kt")
|
||||
public void testJavaField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFieldWithTypeAnnotation.kt")
|
||||
public void testJavaFieldWithTypeAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaFieldWithTypeAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethod.kt")
|
||||
public void testJavaMethod() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithExternalNotNullAnnotation.kt")
|
||||
public void testJavaMethodWithExternalNotNullAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethodWithExternalNotNullAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaMethodWithNotNullAnnotation.kt")
|
||||
public void testJavaMethodWithNotNullAnnotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaMethodWithNotNullAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticMethod.kt")
|
||||
public void testJavaStaticMethod() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaStaticMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaSyntheticAccessor.kt")
|
||||
public void testJavaSyntheticAccessor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaSyntheticAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorProperty.kt")
|
||||
public void testLibraryConstructorProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorPropertyWithAnnotations.kt")
|
||||
public void testLibraryConstructorPropertyWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorVariable.kt")
|
||||
public void testLibraryConstructorVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryConstructorVariableWithAnnotations.kt")
|
||||
public void testLibraryConstructorVariableWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberProperty.kt")
|
||||
public void testLibraryMemberProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberPropertyWithAnnotations.kt")
|
||||
public void testLibraryMemberPropertyWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberVariable.kt")
|
||||
public void testLibraryMemberVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryMemberVariableWithAnnotations.kt")
|
||||
public void testLibraryMemberVariableWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryProperty.kt")
|
||||
public void testLibraryProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryPropertyWithAnnotations.kt")
|
||||
public void testLibraryPropertyWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryPropertyWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryVariable.kt")
|
||||
public void testLibraryVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryVariableWithAnnotations.kt")
|
||||
public void testLibraryVariableWithAnnotations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariableWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorValueParameter.kt")
|
||||
public void testPrimaryConstructorValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/primaryConstructorValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorValueParameterAsProperty.kt")
|
||||
public void testPrimaryConstructorValueParameterAsProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/primaryConstructorValueParameterAsProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReceiverParameter.kt")
|
||||
public void testPropertyReceiverParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/propertyReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setterValueParameter.kt")
|
||||
public void testSetterValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/setterValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticProperty.kt")
|
||||
public void testSyntheticProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/syntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAnnotationOnBackingField.kt")
|
||||
public void testTypeAnnotationOnBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/typeAnnotationOnBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/typeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/valueParameter.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByReference/js")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Js {
|
||||
@Test
|
||||
public void testAllFilesPresentInJs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference/js"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionFromJsDynamicScopeNoArguments.kt")
|
||||
public void testFunctionFromJsDynamicScopeNoArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/functionFromJsDynamicScopeNoArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionFromJsDynamicScopeWithArguments.kt")
|
||||
public void testFunctionFromJsDynamicScopeWithArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/functionFromJsDynamicScopeWithArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyFromJsDynamicScope.kt")
|
||||
public void testPropertyFromJsDynamicScope() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/js/propertyFromJsDynamicScope.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedCompanionWorksAsValue.kt")
|
||||
public void testGeneratedCompanionWorksAsValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled/generatedCompanionWorksAsValue.kt");
|
||||
}
|
||||
@TestMetadata("generatedCompanionWorksAsValue.kt")
|
||||
public void testGeneratedCompanionWorksAsValue() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolByReference/withTestCompilerPluginEnabled/generatedCompanionWorksAsValue.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleSymbolRestoreFromDifferentModuleTestGenerated extends AbstractSymbolRestoreFromDifferentModuleTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolRestoreFromDifferentModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSymbolRestoreFromDifferentModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noDependency.kt")
|
||||
public void testNoDependency() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule/noDependency.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noDependency.kt")
|
||||
public void testNoDependency() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule/noDependency.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withDependency.kt")
|
||||
public void testWithDependency() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule/withDependency.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withDependency.kt")
|
||||
public void testWithDependency() {
|
||||
runTest("analysis/analysis-api/testData/symbols/symbolRestoreFromDifferentModule/withDependency.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/types/builtins")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleBuiltInTypeTestGenerated extends AbstractBuiltInTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/types/builtins"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBuiltins() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/types/builtins"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("any.kt")
|
||||
public void testAny() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/builtins/any.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("any.kt")
|
||||
public void testAny() {
|
||||
runTest("analysis/analysis-api/testData/types/builtins/any.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyWithoutBuiltins.kt")
|
||||
public void testAnyWithoutBuiltins() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/builtins/anyWithoutBuiltins.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anyWithoutBuiltins.kt")
|
||||
public void testAnyWithoutBuiltins() {
|
||||
runTest("analysis/analysis-api/testData/types/builtins/anyWithoutBuiltins.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+36
-36
@@ -28,45 +28,45 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/types/byDeclarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fe10IdeNormalAnalysisSourceModuleTypeByDeclarationReturnTypeTestGenerated extends AbstractTypeByDeclarationReturnTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fe10,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInByDeclarationReturnType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/types/byDeclarationReturnType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInByDeclarationReturnType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/types/byDeclarationReturnType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction.kt")
|
||||
public void testAnonymousFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/anonymousFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction.kt")
|
||||
public void testAnonymousFunction() {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/anonymousFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassType.kt")
|
||||
public void testLocalClassType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localClassType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassType.kt")
|
||||
public void testLocalClassType() {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localClassType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithTypeArgumentsType.kt")
|
||||
public void testLocalClassWithTypeArgumentsType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localClassWithTypeArgumentsType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassWithTypeArgumentsType.kt")
|
||||
public void testLocalClassWithTypeArgumentsType() {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localClassWithTypeArgumentsType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localNestedClassType.kt")
|
||||
public void testLocalNestedClassType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localNestedClassType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localNestedClassType.kt")
|
||||
public void testLocalNestedClassType() {
|
||||
runTest("analysis/analysis-api/testData/types/byDeclarationReturnType/localNestedClassType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+32
-32
@@ -28,41 +28,41 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInDirect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/metaAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiAnnotationsOnDeclarationsWithMetaTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsWithMetaTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiAnnotationsOnTypesTestGenerated extends AbstractAnalysisApiAnnotationsOnTypesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/specificAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiSpecificAnnotationOnDeclarationTestGenerated extends AbstractAnalysisApiSpecificAnnotationOnDeclarationTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+134
-134
@@ -28,149 +28,149 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInDirect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/metaAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsWithMetaTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsWithMetaTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+51
-51
@@ -28,63 +28,63 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiAnnotationsOnTypesTestGenerated extends AbstractAnalysisApiAnnotationsOnTypesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+66
-66
@@ -28,81 +28,81 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/specificAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiSpecificAnnotationOnDeclarationTestGenerated extends AbstractAnalysisApiSpecificAnnotationOnDeclarationTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+32
-32
@@ -28,41 +28,41 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInDirect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/metaAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiAnnotationsOnDeclarationsWithMetaTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsWithMetaTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnFiles")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiAnnotationsOnFilesTestGenerated extends AbstractAnalysisApiAnnotationsOnFilesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiAnnotationsOnTypesTestGenerated extends AbstractAnalysisApiAnnotationsOnTypesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/specificAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiSpecificAnnotationOnDeclarationTestGenerated extends AbstractAnalysisApiSpecificAnnotationOnDeclarationTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+134
-134
@@ -28,149 +28,149 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInDirect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/deprecated.kt");
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Direct {
|
||||
@Test
|
||||
@TestMetadata("aliasedThrowsOnFunction.kt")
|
||||
public void testAliasedThrowsOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/aliasedThrowsOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyJavaSpreadParameter.kt")
|
||||
public void testEmptyJavaSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/emptyJavaSpreadParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onClass.kt")
|
||||
public void testOnClass() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onFunction.kt")
|
||||
public void testOnFunction() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFunction_unresolvedClassReference.kt")
|
||||
public void testOnFunction_unresolvedClassReference() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction_unresolvedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_targets.kt")
|
||||
public void testOnProperty_javaAnnotation_targets() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onTypeAlias.kt")
|
||||
public void testOnTypeAlias() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedParameter.kt")
|
||||
public void testUnsignedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargComplexParameter.kt")
|
||||
public void testVarargComplexParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargNamedParameter.kt")
|
||||
public void testVarargNamedParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargNamedParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargParameter.kt")
|
||||
public void testVarargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargSpreadParameter.kt")
|
||||
public void testVarargSpreadParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargSpreadParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class UseSite {
|
||||
@Test
|
||||
public void testAllFilesPresentInUseSite() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onGetter.kt")
|
||||
public void testOnGetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onParam.kt")
|
||||
public void testOnParam() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty.kt")
|
||||
public void testOnProperty() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onSetter.kt")
|
||||
public void testOnSetter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/useSite/onSetter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/metaAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsWithMetaTestGenerated extends AbstractAnalysisApiAnnotationsOnDeclarationsWithMetaTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMetaAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/metaAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onProperty_javaAnnotation_varargParameter.kt")
|
||||
public void testOnProperty_javaAnnotation_varargParameter() {
|
||||
runTest("analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnFiles")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnFilesTestGenerated extends AbstractAnalysisApiAnnotationsOnFilesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnFiles() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnFiles"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onFile.kt")
|
||||
public void testOnFile() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnFiles/onFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onFile.kt")
|
||||
public void testOnFile() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnFiles/onFile.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+51
-51
@@ -28,63 +28,63 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/annotationsOnTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnTypesTestGenerated extends AbstractAnalysisApiAnnotationsOnTypesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAnnotationsOnTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/annotationsOnTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnType.kt")
|
||||
public void testAnnotaionOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionOnTypeArgumentOfTypeArgument.kt")
|
||||
public void testAnnotaionOnTypeArgumentOfTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnTypeArgumentOfTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnType.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithComplexArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithComplexArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnType.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnType() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotaionWithLiteralArgumentOnTypeArgument.kt")
|
||||
public void testAnnotaionWithLiteralArgumentOnTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnTypeArgument.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+66
-66
@@ -28,81 +28,81 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/annotations/specificAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiSpecificAnnotationOnDeclarationTestGenerated extends AbstractAnalysisApiSpecificAnnotationOnDeclarationTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInSpecificAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/annotations/specificAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithEmptyArguments.kt")
|
||||
public void testJavaTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgument.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testJavaTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithSeveralArguments.kt")
|
||||
public void testJavaTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaTargetAnnotationWithoutArguments.kt")
|
||||
public void testJavaTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/javaTargetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithEmptyArguments.kt")
|
||||
public void testTargetAnnotationWithEmptyArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithEmptyArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgument.kt")
|
||||
public void testTargetAnnotationWithOneArgument() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithOneArgumentAsImport.kt")
|
||||
public void testTargetAnnotationWithOneArgumentAsImport() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithOneArgumentAsImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithSeveralArguments.kt")
|
||||
public void testTargetAnnotationWithSeveralArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithSeveralArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("targetAnnotationWithoutArguments.kt")
|
||||
public void testTargetAnnotationWithoutArguments() {
|
||||
runTest("analysis/analysis-api/testData/annotations/specificAnnotations/targetAnnotationWithoutArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -28,31 +28,31 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleMultiModuleResolveCallTestGenerated extends AbstractMultiModuleResolveCallTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,71 +28,71 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleResolveCallTestGenerated extends AbstractResolveCallTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/assignments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignments {
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInAssignments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/assignments"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/assignments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignments {
|
||||
@Test
|
||||
public void testAllFilesPresentInAssignments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/assignments"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvalidCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInInvalidCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvalidCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInInvalidCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/invokeOnObjects")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvokeOnObjects {
|
||||
@Test
|
||||
public void testAllFilesPresentInInvokeOnObjects() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/invokeOnObjects"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/invokeOnObjects")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InvokeOnObjects {
|
||||
@Test
|
||||
public void testAllFilesPresentInInvokeOnObjects() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/invokeOnObjects"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/nonCalls")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NonCalls {
|
||||
@Test
|
||||
public void testAllFilesPresentInNonCalls() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/nonCalls"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/nonCalls")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NonCalls {
|
||||
@Test
|
||||
public void testAllFilesPresentInNonCalls() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/nonCalls"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+40
-40
@@ -28,51 +28,51 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleResolveCandidatesTestGenerated extends AbstractResolveCandidatesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCandidates() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/multipleCandidates")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MultipleCandidates {
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCandidates() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInMultipleCandidates() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/multipleCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/multipleCandidates")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MultipleCandidates {
|
||||
@Test
|
||||
public void testAllFilesPresentInMultipleCandidates() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/multipleCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/noCandidates")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NoCandidates {
|
||||
@Test
|
||||
public void testAllFilesPresentInNoCandidates() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/noCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/noCandidates")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class NoCandidates {
|
||||
@Test
|
||||
public void testAllFilesPresentInNoCandidates() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/noCandidates"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SingleCandidate {
|
||||
@Test
|
||||
public void testAllFilesPresentInSingleCandidate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SingleCandidate {
|
||||
@Test
|
||||
public void testAllFilesPresentInSingleCandidate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,49 +28,49 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleMultiModuleResolveCallTestGenerated extends AbstractMultiModuleResolveCallTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitTypeSubstituteOverrideFromOtherModule.kt")
|
||||
public void testImplicitTypeSubstituteOverrideFromOtherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/implicitTypeSubstituteOverrideFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unitTypeFromOtherModule.kt")
|
||||
public void testUnitTypeFromOtherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/unitTypeFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInResolveCall() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitTypeSubstituteOverrideFromOtherModule.kt")
|
||||
public void testImplicitTypeSubstituteOverrideFromOtherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/implicitTypeSubstituteOverrideFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unitTypeFromOtherModule.kt")
|
||||
public void testUnitTypeFromOtherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/unitTypeFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WithTestCompilerPluginEnabled {
|
||||
@Test
|
||||
public void testAllFilesPresentInWithTestCompilerPluginEnabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationFromOtherModule.kt")
|
||||
public void testAnnotationFromOtherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled/annotationFromOtherModule.kt");
|
||||
}
|
||||
@TestMetadata("annotationFromOtherModule.kt")
|
||||
public void testAnnotationFromOtherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/multiModuleCallResolver/resolveCall/withTestCompilerPluginEnabled/annotationFromOtherModule.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1054
-1054
File diff suppressed because it is too large
Load Diff
+511
-511
File diff suppressed because it is too large
Load Diff
+24
-24
@@ -28,31 +28,31 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleCompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInIncompleteCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+254
-254
@@ -28,271 +28,271 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -28,31 +28,31 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleCompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInIncompleteCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+254
-254
@@ -28,271 +28,271 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInEvaluate() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayWithInc.kt")
|
||||
public void testArrayWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("binaryExpressionWithString.kt")
|
||||
public void testBinaryExpressionWithString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_entire.kt")
|
||||
public void testIntegerLiteral_minusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_minusOne_justOne.kt")
|
||||
public void testIntegerLiteral_minusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_minusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_entire.kt")
|
||||
public void testIntegerLiteral_plusOne_entire() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_entire.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteral_plusOne_justOne.kt")
|
||||
public void testIntegerLiteral_plusOne_justOne() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/integerLiteral_plusOne_justOne.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interpolationWithInc.kt")
|
||||
public void testInterpolationWithInc() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/interpolationWithInc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaFinalField.kt")
|
||||
public void testJavaFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticField.kt")
|
||||
public void testJavaStaticField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaStaticFinalField.kt")
|
||||
public void testJavaStaticFinalField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/javaStaticFinalField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_const.kt")
|
||||
public void testNamedReference_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_userType.kt")
|
||||
public void testNamedReference_userType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_userType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_val.kt")
|
||||
public void testNamedReference_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedReference_var.kt")
|
||||
public void testNamedReference_var() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/namedReference_var.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject.kt")
|
||||
public void testPropertyInCompanionObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect.kt")
|
||||
public void testPropertyInCompanionObject_indirect() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInCompanionObject_indirect_twice.kt")
|
||||
public void testPropertyInCompanionObject_indirect_twice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Byte.kt")
|
||||
public void testPropertyInit_Byte() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_const.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_const() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_const.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByOtherProperty_val.kt")
|
||||
public void testPropertyInit_DivByOtherProperty_val() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByOtherProperty_val.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_DivByZero.kt")
|
||||
public void testPropertyInit_DivByZero() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Double.kt")
|
||||
public void testPropertyInit_Double() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Float.kt")
|
||||
public void testPropertyInit_Float() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Int.kt")
|
||||
public void testPropertyInit_Int() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_Long.kt")
|
||||
public void testPropertyInit_Long() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyInit_UInt.kt")
|
||||
public void testPropertyInit_UInt() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLiteral.kt")
|
||||
public void testStringLiteral() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_compareTo.kt")
|
||||
public void testString_compareTo() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_compareTo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_length.kt")
|
||||
public void testString_length() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_length.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusMany.kt")
|
||||
public void testString_plusMany() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusMany.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusOnce.kt")
|
||||
public void testString_plusOnce() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_plusTwice.kt")
|
||||
public void testString_plusTwice() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusTwice.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateConst.kt")
|
||||
public void testString_templateConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_templateNonConst.kt")
|
||||
public void testString_templateNonConst() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_toString.kt")
|
||||
public void testString_toString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_toString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string_trimIndent.kt")
|
||||
public void testString_trimIndent() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_trimIndent.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IncompleteCode {
|
||||
@Test
|
||||
public void testAllFilesPresentInIncompleteCode() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteRange.kt")
|
||||
public void testIncompleteRange() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/incompleteRange.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperand.kt")
|
||||
public void testNoRightOperand() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperand.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandLong.kt")
|
||||
public void testNoRightOperandLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandLong.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
@TestMetadata("noRightOperandUnsignedLong.kt")
|
||||
public void testNoRightOperandUnsignedLong() {
|
||||
runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/incompleteCode/noRightOperandUnsignedLong.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+290
-290
@@ -28,353 +28,353 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisLibrarySourceModuleCompilerFacilityTestGenerated extends AbstractCompilerFacilityTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.LibrarySource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.LibrarySource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classKinds.kt")
|
||||
public void testClassKinds() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFiles.kt")
|
||||
public void testMultipleFiles() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/multipleFiles.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/simple.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
@TestMetadata("annotationUsage.kt")
|
||||
public void testAnnotationUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/annotationUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classKinds.kt")
|
||||
public void testClassKinds() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt");
|
||||
@TestMetadata("commonContext.kt")
|
||||
public void testCommonContext() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customName.kt")
|
||||
public void testCustomName() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/customName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateLibrary.kt")
|
||||
public void testDuplicateLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fragmentFunction.kt")
|
||||
public void testFragmentFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/fragmentFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
|
||||
public void testImports() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFiles.kt")
|
||||
public void testMultipleFiles() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/multipleFiles.kt");
|
||||
@TestMetadata("inlineFunctionUsage.kt")
|
||||
public void testInlineFunctionUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsageSource.kt")
|
||||
public void testInlineFunctionUsageSource() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsageSource.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/local.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/simple.kt");
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntaxError.kt")
|
||||
public void testSyntaxError() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/syntaxError.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments")
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
public class Capturing {
|
||||
@Test
|
||||
public void testAllFilesPresentInCapturing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationUsage.kt")
|
||||
public void testAnnotationUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/annotationUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonContext.kt")
|
||||
public void testCommonContext() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextReceiverExplicit.kt")
|
||||
public void testContextReceiverExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiverExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customName.kt")
|
||||
public void testCustomName() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/customName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiver.kt")
|
||||
public void testExtensionReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateLibrary.kt")
|
||||
public void testDuplicateLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverExplicit.kt")
|
||||
public void testExtensionReceiverExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fragmentFunction.kt")
|
||||
public void testFragmentFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/fragmentFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverLabeled.kt")
|
||||
public void testExtensionReceiverLabeled() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverLabeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverProperty.kt")
|
||||
public void testExtensionReceiverProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsage.kt")
|
||||
public void testInlineFunctionUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyExplicit.kt")
|
||||
public void testExtensionReceiverPropertyExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsageSource.kt")
|
||||
public void testInlineFunctionUsageSource() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsageSource.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyLabeled.kt")
|
||||
public void testExtensionReceiverPropertyLabeled() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyLabeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/local.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverSmartCasted.kt")
|
||||
public void testExtensionReceiverSmartCasted() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverSmartCasted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializer.kt")
|
||||
public void testInitializer() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/initializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntaxError.kt")
|
||||
public void testSyntaxError() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/syntaxError.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Capturing {
|
||||
@Test
|
||||
public void testAllFilesPresentInCapturing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kt")
|
||||
public void testLocalDelegatedProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiverExplicit.kt")
|
||||
public void testContextReceiverExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiverExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionContainingClassClosure.kt")
|
||||
public void testLocalFunctionContainingClassClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiver.kt")
|
||||
public void testExtensionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionExtensionReceiverClosure.kt")
|
||||
public void testLocalFunctionExtensionReceiverClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionExtensionReceiverClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverExplicit.kt")
|
||||
public void testExtensionReceiverExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLambdaParameterClosure.kt")
|
||||
public void testLocalFunctionLambdaParameterClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverLabeled.kt")
|
||||
public void testExtensionReceiverLabeled() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverLabeled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosure.kt")
|
||||
public void testLocalFunctionLocalClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverProperty.kt")
|
||||
public void testExtensionReceiverProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosureMutating.kt")
|
||||
public void testLocalFunctionLocalClosureMutating() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyExplicit.kt")
|
||||
public void testExtensionReceiverPropertyExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionMultipleCapturing.kt")
|
||||
public void testLocalFunctionMultipleCapturing() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyLabeled.kt")
|
||||
public void testExtensionReceiverPropertyLabeled() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyLabeled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionParameterClosure.kt")
|
||||
public void testLocalFunctionParameterClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverSmartCasted.kt")
|
||||
public void testExtensionReceiverSmartCasted() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverSmartCasted.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localMutated.kt")
|
||||
public void testLocalMutated() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializer.kt")
|
||||
public void testInitializer() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/initializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localVariable.kt")
|
||||
public void testLocalVariable() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleClassAndFunctionContextReceivers.kt")
|
||||
public void testMultipleClassAndFunctionContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kt")
|
||||
public void testLocalDelegatedProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleClassContextReceivers.kt")
|
||||
public void testMultipleClassContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleFunctionContextReceivers.kt")
|
||||
public void testMultipleFunctionContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionContainingClassClosure.kt")
|
||||
public void testLocalFunctionContainingClassClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedOuterClass.kt")
|
||||
public void testNestedOuterClass() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionExtensionReceiverClosure.kt")
|
||||
public void testLocalFunctionExtensionReceiverClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionExtensionReceiverClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLambdaParameterClosure.kt")
|
||||
public void testLocalFunctionLambdaParameterClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClass.kt")
|
||||
public void testOuterClass() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosure.kt")
|
||||
public void testLocalFunctionLocalClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClassMutated.kt")
|
||||
public void testOuterClassMutated() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosureMutating.kt")
|
||||
public void testLocalFunctionLocalClosureMutating() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClassMutatedPrivate.kt")
|
||||
public void testOuterClassMutatedPrivate() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutatedPrivate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionMultipleCapturing.kt")
|
||||
public void testLocalFunctionMultipleCapturing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("preferCorrectResolve.kt")
|
||||
public void testPreferCorrectResolve() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/preferCorrectResolve.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionParameterClosure.kt")
|
||||
public void testLocalFunctionParameterClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateMemberCall.kt")
|
||||
public void testPrivateMemberCall() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/privateMemberCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localMutated.kt")
|
||||
public void testLocalMutated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localMutated.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("secondClassContextReceiver.kt")
|
||||
public void testSecondClassContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localVariable.kt")
|
||||
public void testLocalVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleClassContextReceiver.kt")
|
||||
public void testSingleClassContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleClassAndFunctionContextReceivers.kt")
|
||||
public void testMultipleClassAndFunctionContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartCastExtensionReceiver.kt")
|
||||
public void testSmartCastExtensionReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleClassContextReceivers.kt")
|
||||
public void testMultipleClassContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartCastValueParameter.kt")
|
||||
public void testSmartCastValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFunctionContextReceivers.kt")
|
||||
public void testMultipleFunctionContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedOuterClass.kt")
|
||||
public void testNestedOuterClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClass.kt")
|
||||
public void testOuterClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClassMutated.kt")
|
||||
public void testOuterClassMutated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClassMutatedPrivate.kt")
|
||||
public void testOuterClassMutatedPrivate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutatedPrivate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("preferCorrectResolve.kt")
|
||||
public void testPreferCorrectResolve() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/preferCorrectResolve.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateMemberCall.kt")
|
||||
public void testPrivateMemberCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/privateMemberCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondClassContextReceiver.kt")
|
||||
public void testSecondClassContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleClassContextReceiver.kt")
|
||||
public void testSingleClassContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastExtensionReceiver.kt")
|
||||
public void testSmartCastExtensionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastValueParameter.kt")
|
||||
public void testSmartCastValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/valueParameter.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/valueParameter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+290
-290
@@ -28,353 +28,353 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleCompilerFacilityTestGenerated extends AbstractCompilerFacilityTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classKinds.kt")
|
||||
public void testClassKinds() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFiles.kt")
|
||||
public void testMultipleFiles() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/multipleFiles.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/simple.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
@TestMetadata("annotationUsage.kt")
|
||||
public void testAnnotationUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/annotationUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classKinds.kt")
|
||||
public void testClassKinds() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt");
|
||||
@TestMetadata("commonContext.kt")
|
||||
public void testCommonContext() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customName.kt")
|
||||
public void testCustomName() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/customName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateLibrary.kt")
|
||||
public void testDuplicateLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fragmentFunction.kt")
|
||||
public void testFragmentFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/fragmentFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
|
||||
public void testImports() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFiles.kt")
|
||||
public void testMultipleFiles() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/multipleFiles.kt");
|
||||
@TestMetadata("inlineFunctionUsage.kt")
|
||||
public void testInlineFunctionUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsageSource.kt")
|
||||
public void testInlineFunctionUsageSource() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsageSource.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/local.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/simple.kt");
|
||||
public void testSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntaxError.kt")
|
||||
public void testSyntaxError() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/syntaxError.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments")
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
public class Capturing {
|
||||
@Test
|
||||
public void testAllFilesPresentInCapturing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationUsage.kt")
|
||||
public void testAnnotationUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/annotationUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonContext.kt")
|
||||
public void testCommonContext() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextReceiverExplicit.kt")
|
||||
public void testContextReceiverExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiverExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customName.kt")
|
||||
public void testCustomName() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/customName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiver.kt")
|
||||
public void testExtensionReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateLibrary.kt")
|
||||
public void testDuplicateLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverExplicit.kt")
|
||||
public void testExtensionReceiverExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fragmentFunction.kt")
|
||||
public void testFragmentFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/fragmentFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverLabeled.kt")
|
||||
public void testExtensionReceiverLabeled() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverLabeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imports.kt")
|
||||
public void testImports() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverProperty.kt")
|
||||
public void testExtensionReceiverProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsage.kt")
|
||||
public void testInlineFunctionUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyExplicit.kt")
|
||||
public void testExtensionReceiverPropertyExplicit() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyExplicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunctionUsageSource.kt")
|
||||
public void testInlineFunctionUsageSource() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsageSource.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyLabeled.kt")
|
||||
public void testExtensionReceiverPropertyLabeled() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyLabeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/local.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverSmartCasted.kt")
|
||||
public void testExtensionReceiverSmartCasted() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverSmartCasted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializer.kt")
|
||||
public void testInitializer() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/initializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntaxError.kt")
|
||||
public void testSyntaxError() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/syntaxError.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Capturing {
|
||||
@Test
|
||||
public void testAllFilesPresentInCapturing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kt")
|
||||
public void testLocalDelegatedProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiver.kt")
|
||||
public void testContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextReceiverExplicit.kt")
|
||||
public void testContextReceiverExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/contextReceiverExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionContainingClassClosure.kt")
|
||||
public void testLocalFunctionContainingClassClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiver.kt")
|
||||
public void testExtensionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionExtensionReceiverClosure.kt")
|
||||
public void testLocalFunctionExtensionReceiverClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionExtensionReceiverClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverExplicit.kt")
|
||||
public void testExtensionReceiverExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLambdaParameterClosure.kt")
|
||||
public void testLocalFunctionLambdaParameterClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverLabeled.kt")
|
||||
public void testExtensionReceiverLabeled() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverLabeled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosure.kt")
|
||||
public void testLocalFunctionLocalClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverProperty.kt")
|
||||
public void testExtensionReceiverProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosureMutating.kt")
|
||||
public void testLocalFunctionLocalClosureMutating() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyExplicit.kt")
|
||||
public void testExtensionReceiverPropertyExplicit() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyExplicit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionMultipleCapturing.kt")
|
||||
public void testLocalFunctionMultipleCapturing() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverPropertyLabeled.kt")
|
||||
public void testExtensionReceiverPropertyLabeled() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverPropertyLabeled.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunctionParameterClosure.kt")
|
||||
public void testLocalFunctionParameterClosure() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionReceiverSmartCasted.kt")
|
||||
public void testExtensionReceiverSmartCasted() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverSmartCasted.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localMutated.kt")
|
||||
public void testLocalMutated() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializer.kt")
|
||||
public void testInitializer() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/initializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localVariable.kt")
|
||||
public void testLocalVariable() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleClassAndFunctionContextReceivers.kt")
|
||||
public void testMultipleClassAndFunctionContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kt")
|
||||
public void testLocalDelegatedProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localDelegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleClassContextReceivers.kt")
|
||||
public void testMultipleClassContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleFunctionContextReceivers.kt")
|
||||
public void testMultipleFunctionContextReceivers() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionContainingClassClosure.kt")
|
||||
public void testLocalFunctionContainingClassClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedOuterClass.kt")
|
||||
public void testNestedOuterClass() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionExtensionReceiverClosure.kt")
|
||||
public void testLocalFunctionExtensionReceiverClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionExtensionReceiverClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLambdaParameterClosure.kt")
|
||||
public void testLocalFunctionLambdaParameterClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClass.kt")
|
||||
public void testOuterClass() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosure.kt")
|
||||
public void testLocalFunctionLocalClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClassMutated.kt")
|
||||
public void testOuterClassMutated() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionLocalClosureMutating.kt")
|
||||
public void testLocalFunctionLocalClosureMutating() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("outerClassMutatedPrivate.kt")
|
||||
public void testOuterClassMutatedPrivate() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutatedPrivate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionMultipleCapturing.kt")
|
||||
public void testLocalFunctionMultipleCapturing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("preferCorrectResolve.kt")
|
||||
public void testPreferCorrectResolve() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/preferCorrectResolve.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionParameterClosure.kt")
|
||||
public void testLocalFunctionParameterClosure() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateMemberCall.kt")
|
||||
public void testPrivateMemberCall() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/privateMemberCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localMutated.kt")
|
||||
public void testLocalMutated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localMutated.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("secondClassContextReceiver.kt")
|
||||
public void testSecondClassContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localVariable.kt")
|
||||
public void testLocalVariable() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleClassContextReceiver.kt")
|
||||
public void testSingleClassContextReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleClassAndFunctionContextReceivers.kt")
|
||||
public void testMultipleClassAndFunctionContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartCastExtensionReceiver.kt")
|
||||
public void testSmartCastExtensionReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleClassContextReceivers.kt")
|
||||
public void testMultipleClassContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartCastValueParameter.kt")
|
||||
public void testSmartCastValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleFunctionContextReceivers.kt")
|
||||
public void testMultipleFunctionContextReceivers() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedOuterClass.kt")
|
||||
public void testNestedOuterClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClass.kt")
|
||||
public void testOuterClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClassMutated.kt")
|
||||
public void testOuterClassMutated() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerClassMutatedPrivate.kt")
|
||||
public void testOuterClassMutatedPrivate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutatedPrivate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("preferCorrectResolve.kt")
|
||||
public void testPreferCorrectResolve() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/preferCorrectResolve.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateMemberCall.kt")
|
||||
public void testPrivateMemberCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/privateMemberCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondClassContextReceiver.kt")
|
||||
public void testSecondClassContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleClassContextReceiver.kt")
|
||||
public void testSingleClassContextReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastExtensionReceiver.kt")
|
||||
public void testSmartCastExtensionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastValueParameter.kt")
|
||||
public void testSmartCastValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/smartCastValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/valueParameter.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("valueParameter.kt")
|
||||
public void testValueParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/valueParameter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+47
-47
@@ -28,55 +28,55 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleMultiModuleCompilerFacilityTestGenerated extends AbstractMultiModuleCompilerFacilityTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilationMultiModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonUsage.kt")
|
||||
public void testCommonUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/commonUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameterValue.kt")
|
||||
public void testDefaultParameterValue() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/defaultParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalUsage.kt")
|
||||
public void testInternalUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/internalUsage.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCompilationMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonUsage.kt")
|
||||
public void testCommonUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/commonUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameterValue.kt")
|
||||
public void testDefaultParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/defaultParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalUsage.kt")
|
||||
public void testInternalUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/internalUsage.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class CodeFragments {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("compilerPluginUsage.kt")
|
||||
public void testCompilerPluginUsage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments/compilerPluginUsage.kt");
|
||||
}
|
||||
@TestMetadata("compilerPluginUsage.kt")
|
||||
public void testCompilerPluginUsage() {
|
||||
runTest("analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/codeFragments/compilerPluginUsage.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleContainingDeclarationProviderByDelegatedMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByDelegatedMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleContainingDeclarationProviderByMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleContainingDeclarationProviderByPsiTestGenerated extends AbstractContainingDeclarationProviderByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptWithResultProperty.kts")
|
||||
public void testScriptWithResultProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/scriptWithResultProperty.kts");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("scriptWithResultProperty.kts")
|
||||
public void testScriptWithResultProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/scriptWithResultProperty.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleContainingDeclarationProviderForSetterParameterTestGenerated extends AbstractContainingDeclarationProviderForSetterParameterTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleContainingDeclarationProviderByDelegatedMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByDelegatedMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope/delegation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope/delegation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleContainingDeclarationProviderByMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/intersectionOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/intersectionOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("subsitutionOverride.kt")
|
||||
public void testSubsitutionOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("subsitutionOverride.kt")
|
||||
public void testSubsitutionOverride() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+51
-51
@@ -28,63 +28,63 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleContainingDeclarationProviderByPsiTestGenerated extends AbstractContainingDeclarationProviderByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/classes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("codeFragments.kt")
|
||||
public void testCodeFragments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/codeFragments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("codeFragments.kt")
|
||||
public void testCodeFragments() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/codeFragments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deeplyNestedCode.kt")
|
||||
public void testDeeplyNestedCode() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/deeplyNestedCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deeplyNestedCode.kt")
|
||||
public void testDeeplyNestedCode() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/deeplyNestedCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/enums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/typeAliases.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/typeAliases.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleContainingDeclarationProviderForSetterParameterTestGenerated extends AbstractContainingDeclarationProviderForSetterParameterTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultSetter.kt")
|
||||
public void testDefaultSetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter/defaultSetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultSetter.kt")
|
||||
public void testDefaultSetter() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter/defaultSetter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleContainingDeclarationProviderByDelegatedMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByDelegatedMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleContainingDeclarationProviderByMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleContainingDeclarationProviderByPsiTestGenerated extends AbstractContainingDeclarationProviderByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptWithResultProperty.kts")
|
||||
public void testScriptWithResultProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/scriptWithResultProperty.kts");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("scriptWithResultProperty.kts")
|
||||
public void testScriptWithResultProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/scriptWithResultProperty.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleContainingDeclarationProviderForSetterParameterTestGenerated extends AbstractContainingDeclarationProviderForSetterParameterTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleContainingDeclarationProviderByDelegatedMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByDelegatedMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByDelegatedMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope/delegation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope/delegation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleContainingDeclarationProviderByMemberScopeTestGenerated extends AbstractContainingDeclarationProviderByMemberScopeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationFromMemberScope() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/intersectionOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intersectionOverride.kt")
|
||||
public void testIntersectionOverride() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/intersectionOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("subsitutionOverride.kt")
|
||||
public void testSubsitutionOverride() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("subsitutionOverride.kt")
|
||||
public void testSubsitutionOverride() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+51
-51
@@ -28,63 +28,63 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleContainingDeclarationProviderByPsiTestGenerated extends AbstractContainingDeclarationProviderByPsiTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationByPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/classes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("codeFragments.kt")
|
||||
public void testCodeFragments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/codeFragments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("codeFragments.kt")
|
||||
public void testCodeFragments() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/codeFragments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deeplyNestedCode.kt")
|
||||
public void testDeeplyNestedCode() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/deeplyNestedCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deeplyNestedCode.kt")
|
||||
public void testDeeplyNestedCode() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/deeplyNestedCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/enums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localDeclarations.kt")
|
||||
public void testLocalDeclarations() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/typeAliases.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/typeAliases.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+21
-21
@@ -28,27 +28,27 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleContainingDeclarationProviderForSetterParameterTestGenerated extends AbstractContainingDeclarationProviderForSetterParameterTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInContainingDeclarationForSetterParameter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultSetter.kt")
|
||||
public void testDefaultSetter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter/defaultSetter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultSetter.kt")
|
||||
public void testDefaultSetter() {
|
||||
runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationForSetterParameter/defaultSetter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,53 +28,53 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleCollectDiagnosticsTestGenerated extends AbstractCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty.kts")
|
||||
public void testScriptUninitializedTopLevelProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty.kts")
|
||||
public void testScriptUninitializedTopLevelProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty2.kts")
|
||||
public void testScriptUninitializedTopLevelProperty2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty2.kts");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty2.kts")
|
||||
public void testScriptUninitializedTopLevelProperty2() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty2.kts");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,53 +28,53 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleDanglingFileCollectDiagnosticsTestGenerated extends AbstractDanglingFileCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty.kts")
|
||||
public void testScriptUninitializedTopLevelProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty.kts")
|
||||
public void testScriptUninitializedTopLevelProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty2.kts")
|
||||
public void testScriptUninitializedTopLevelProperty2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty2.kts");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("scriptUninitializedTopLevelProperty2.kts")
|
||||
public void testScriptUninitializedTopLevelProperty2() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty2.kts");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+41
-41
@@ -28,51 +28,51 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleCodeFragmentCollectDiagnosticsTestGenerated extends AbstractCodeFragmentCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragmentDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodeFragmentDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("evalJvm.kt")
|
||||
public void testEvalJvm() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvm.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("evalJvm.kt")
|
||||
public void testEvalJvm() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvm.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("evalJvmJs.kt")
|
||||
public void testEvalJvmJs() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvmJs.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("evalJvmJs.kt")
|
||||
public void testEvalJvmJs() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvmJs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/localClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/localFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/localFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatch.kt")
|
||||
public void testTypeMismatch() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/typeMismatch.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeMismatch.kt")
|
||||
public void testTypeMismatch() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/typeMismatch.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+276
-276
@@ -28,335 +28,335 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated extends AbstractCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+276
-276
@@ -28,335 +28,335 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleDanglingFileCollectDiagnosticsTestGenerated extends AbstractDanglingFileCollectDiagnosticsTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Normal,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithEnumFromDuplicatedLibrary.kt")
|
||||
public void testAnnotationWithEnumFromDuplicatedLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddle.kt")
|
||||
public void testDanglingAnnotationInMiddle() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddle.kt");
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationInMiddleWithComment.kt")
|
||||
public void testDanglingAnnotationInMiddleWithComment() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/danglingAnnotationInMiddleWithComment.kt");
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationErrors.kt")
|
||||
public void testDeclarationErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.kt");
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegationToLibraryInterface.kt")
|
||||
public void testDelegationToLibraryInterface() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/delegationToLibraryInterface.kt");
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatedCallableWithImplicitType.kt")
|
||||
public void testDuplicatedCallableWithImplicitType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt");
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorsInFunctionalInterfacesInstances.kt")
|
||||
public void testErrorsInFunctionalInterfacesInstances() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt");
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteDelegation.kt")
|
||||
public void testIncompleteDelegation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteDelegation.kt");
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incompleteFor.kt")
|
||||
public void testIncompleteFor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegate.kt")
|
||||
public void testInferTypeFromGetValueDelegate() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
|
||||
public void testInferTypeFromGetValueDelegateLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClass.kt")
|
||||
public void testJavaInnerClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromAnotherModule.kt")
|
||||
public void testJavaInnerClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaInnerClassFromLibrary.kt")
|
||||
public void testJavaInnerClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromLibrary.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClass.kt")
|
||||
public void testJavaNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt");
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromAnotherModule.kt")
|
||||
public void testJavaNestedClassFromAnotherModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromAnotherModule.kt");
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNestedClassFromLibrary.kt")
|
||||
public void testJavaNestedClassFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClassFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopy.kt")
|
||||
public void testLibraryDataClassCopy() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("libraryDataClassCopyReversedOrder.kt")
|
||||
public void testLibraryDataClassCopyReversedOrder() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/libraryDataClassCopyReversedOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
|
||||
public void testOverrideProtectedClassReturnFromLibrary() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/overrideProtectedClassReturnFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("resolutionErrors.kt")
|
||||
public void testResolutionErrors() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/resolutionErrors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeMismatches.kt")
|
||||
public void testTypeMismatches() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/typeMismatches.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolved.kt")
|
||||
public void testUnresolved() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedAnnotationsOnPropertyFromParameter.kt")
|
||||
public void testUnresolvedAnnotationsOnPropertyFromParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedAnnotationsOnPropertyFromParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCall.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt")
|
||||
public void testUnresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperConstructorCallWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt")
|
||||
public void testUnresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedReferenceInsideSuperPrimaryConstructorCallWithLocalFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedSuperConstructorCall.kt")
|
||||
public void testUnresolvedSuperConstructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unresolvedSuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedDestructuring.kt")
|
||||
public void testUnusedDestructuring() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suppression {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuppression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel.kt")
|
||||
public void testConflictingOverloadsAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevel2.kt")
|
||||
public void testConflictingOverloadsAtTopLevel2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsAtTopLevelWithFileSuppression.kt")
|
||||
public void testConflictingOverloadsAtTopLevelWithFileSuppression() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevelWithFileSuppression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInClass.kt")
|
||||
public void testConflictingOverloadsInClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsInNestedClass.kt")
|
||||
public void testConflictingOverloadsInNestedClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsInNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecationAtTopLevel.kt")
|
||||
public void testDeprecationAtTopLevel() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/deprecationAtTopLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class When {
|
||||
@Test
|
||||
public void testAllFilesPresentInWhen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyExhaustive.kt")
|
||||
public void testSealedClassFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromDependencyMissingCase.kt")
|
||||
public void testSealedClassFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryExhaustive.kt")
|
||||
public void testSealedClassFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassFromLibraryMissingCase.kt")
|
||||
public void testSealedClassFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleExhaustive.kt")
|
||||
public void testSealedClassSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassSameModuleMissingCase.kt")
|
||||
public void testSealedClassSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedClassSameModuleMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyExhaustive.kt")
|
||||
public void testSealedInterfaceFromDependencyExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromDependencyMissingCase.kt")
|
||||
public void testSealedInterfaceFromDependencyMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromDependencyMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryExhaustive.kt")
|
||||
public void testSealedInterfaceFromLibraryExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceFromLibraryMissingCase.kt")
|
||||
public void testSealedInterfaceFromLibraryMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceFromLibraryMissingCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleExhaustive.kt")
|
||||
public void testSealedInterfaceSameModuleExhaustive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleExhaustive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
@TestMetadata("sealedInterfaceSameModuleMissingCase.kt")
|
||||
public void testSealedInterfaceSameModuleMissingCase() {
|
||||
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when/sealedInterfaceSameModuleMissingCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleIsUsedAsExpressionTestGenerated extends AbstractIsUsedAsExpressionTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInIsUsedAsExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsUsedAsExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleReturnTargetSymbolTestGenerated extends AbstractReturnTargetSymbolTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleWhenMissingCasesTestGenerated extends AbstractWhenMissingCasesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.ScriptSource,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+2003
-2003
File diff suppressed because it is too large
Load Diff
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleReturnTargetSymbolTestGenerated extends AbstractReturnTargetSymbolTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInReturnExpressionTargetSymbol() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledReturn.kt")
|
||||
public void testLabeledReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/labeledReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("labeledReturn.kt")
|
||||
public void testLabeledReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/labeledReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("normalReturn.kt")
|
||||
public void testNormalReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/normalReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("normalReturn.kt")
|
||||
public void testNormalReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/normalReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedReturn.kt")
|
||||
public void testUnresolvedReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/unresolvedReturn.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unresolvedReturn.kt")
|
||||
public void testUnresolvedReturn() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/unresolvedReturn.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+101
-101
@@ -28,123 +28,123 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleWhenMissingCasesTestGenerated extends AbstractWhenMissingCasesTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
AnalysisApiMode.Ide
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInWhenMissingCases() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_else.kt")
|
||||
public void testBoolean_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_else.kt")
|
||||
public void testBoolean_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_empty.kt")
|
||||
public void testBoolean_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_empty.kt")
|
||||
public void testBoolean_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject.kt")
|
||||
public void testBoolean_noSubject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject.kt")
|
||||
public void testBoolean_noSubject() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubjectIncorrectCode.kt")
|
||||
public void testBoolean_noSubjectIncorrectCode() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubjectIncorrectCode.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubjectIncorrectCode.kt")
|
||||
public void testBoolean_noSubjectIncorrectCode() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubjectIncorrectCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject_else.kt")
|
||||
public void testBoolean_noSubject_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_noSubject_else.kt")
|
||||
public void testBoolean_noSubject_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_noSubject_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boolean_partial.kt")
|
||||
public void testBoolean_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("boolean_partial.kt")
|
||||
public void testBoolean_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_else.kt")
|
||||
public void testEnum_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_else.kt")
|
||||
public void testEnum_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_empty.kt")
|
||||
public void testEnum_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_empty.kt")
|
||||
public void testEnum_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum_partial.kt")
|
||||
public void testEnum_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enum_partial.kt")
|
||||
public void testEnum_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothing.kt")
|
||||
public void testNothing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nothing.kt")
|
||||
public void testNothing() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableBoolean.kt")
|
||||
public void testNullableBoolean() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableBoolean.kt")
|
||||
public void testNullableBoolean() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableEnum.kt")
|
||||
public void testNullableEnum() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableEnum.kt")
|
||||
public void testNullableEnum() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableNothing.kt")
|
||||
public void testNullableNothing() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableNothing.kt")
|
||||
public void testNullableNothing() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableSealedClass_empty.kt")
|
||||
public void testNullableSealedClass_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableSealedClass_empty.kt")
|
||||
public void testNullableSealedClass_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_else.kt")
|
||||
public void testSealedClass_else() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_else.kt")
|
||||
public void testSealedClass_else() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_empty.kt")
|
||||
public void testSealedClass_empty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_empty.kt")
|
||||
public void testSealedClass_empty() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClass_partial.kt")
|
||||
public void testSealedClass_partial() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClass_partial.kt")
|
||||
public void testSealedClass_partial() {
|
||||
runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user