[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleIsUsedAsExpressionTestGenerated extends AbstractIsUsedAsExpressionTest {
|
||||
@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 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 FirIdeNormalAnalysisScriptSourceModuleReturnTargetSymbolTestGenerated extends AbstractReturnTargetSymbolTest {
|
||||
@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 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 FirIdeNormalAnalysisScriptSourceModuleWhenMissingCasesTestGenerated extends AbstractWhenMissingCasesTest {
|
||||
@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 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 FirIdeNormalAnalysisSourceModuleReturnTargetSymbolTestGenerated extends AbstractReturnTargetSymbolTest {
|
||||
@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 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 FirIdeNormalAnalysisSourceModuleWhenMissingCasesTestGenerated extends AbstractWhenMissingCasesTest {
|
||||
@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 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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleDeclarationReturnTypeTestGenerated extends AbstractDeclarationReturnTypeTest {
|
||||
@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 testAllFilesPresentInDeclarationReturnType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarationReturnType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleExpectedExpressionTypeTestGenerated extends AbstractExpectedExpressionTypeTest {
|
||||
@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 testAllFilesPresentInExpectedExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectedExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+32
-32
@@ -28,41 +28,41 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleHLExpressionTypeTestGenerated extends AbstractHLExpressionTypeTest {
|
||||
@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 testAllFilesPresentInExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignment {
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInAssignment() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+71
-71
@@ -28,87 +28,87 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleDeclarationReturnTypeTestGenerated extends AbstractDeclarationReturnTypeTest {
|
||||
@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 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 FirIdeDependentAnalysisSourceModuleExpectedExpressionTypeTestGenerated extends AbstractExpectedExpressionTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
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 AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
TestModuleKind.Source,
|
||||
AnalysisSessionMode.Dependent,
|
||||
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 FirIdeDependentAnalysisSourceModuleHLExpressionTypeTestGenerated extends AbstractHLExpressionTypeTest {
|
||||
@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 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleDeclarationReturnTypeTestGenerated extends AbstractDeclarationReturnTypeTest {
|
||||
@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 testAllFilesPresentInDeclarationReturnType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarationReturnType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleExpectedExpressionTypeTestGenerated extends AbstractExpectedExpressionTypeTest {
|
||||
@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 testAllFilesPresentInExpectedExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectedExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+32
-32
@@ -28,41 +28,41 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleHLExpressionTypeTestGenerated extends AbstractHLExpressionTypeTest {
|
||||
@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 testAllFilesPresentInExpressionType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Assignment {
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
public void testAllFilesPresentInAssignment() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@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("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+71
-71
@@ -28,87 +28,87 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleDeclarationReturnTypeTestGenerated extends AbstractDeclarationReturnTypeTest {
|
||||
@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 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 FirIdeNormalAnalysisSourceModuleExpectedExpressionTypeTestGenerated extends AbstractExpectedExpressionTypeTest {
|
||||
@NotNull
|
||||
@Override
|
||||
public AnalysisApiTestConfigurator getConfigurator() {
|
||||
return AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
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 AnalysisApiFirTestConfiguratorFactory.INSTANCE.createConfigurator(
|
||||
new AnalysisApiTestConfiguratorFactoryData(
|
||||
FrontendKind.Fir,
|
||||
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 FirIdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated extends AbstractHLExpressionTypeTest {
|
||||
@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 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -28,31 +28,31 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiImportOptimizerTestGenerated extends AbstractAnalysisApiImportOptimizerTest {
|
||||
@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 testAllFilesPresentInAnalyseImports() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReferencesWithErrors {
|
||||
@Test
|
||||
public void testAllFilesPresentInAnalyseImports() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReferencesWithErrors {
|
||||
@Test
|
||||
public void testAllFilesPresentInReferencesWithErrors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInReferencesWithErrors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+305
-305
@@ -28,367 +28,367 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiImportOptimizerTestGenerated extends AbstractAnalysisApiImportOptimizerTest {
|
||||
@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 testAllFilesPresentInAnalyseImports() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsedObjectWithExtensionFromObject.kt")
|
||||
public void testUnsedObjectWithExtensionFromObject() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unsedObjectWithExtensionFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedAliasedImportFromSamePackage.kt")
|
||||
public void testUnusedAliasedImportFromSamePackage() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedAliasedImportFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedAliasedTypeImport.kt")
|
||||
public void testUnusedAliasedTypeImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedAliasedTypeImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedExtensionFunctionFromObject_implicitReceiver.kt")
|
||||
public void testUnusedExtensionFunctionFromObject_implicitReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedExtensionFunctionFromObject_implicitReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedExtensionFunction_componentOperator.kt")
|
||||
public void testUnusedExtensionFunction_componentOperator() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedExtensionFunction_componentOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedFunctionImportedFromObjectSuperClass.kt")
|
||||
public void testUnusedFunctionImportedFromObjectSuperClass() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedFunctionImportedFromObjectSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedFunctionImports.kt")
|
||||
public void testUnusedFunctionImports() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedFunctionImports.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedGenericTypeQualifier.kt")
|
||||
public void testUnusedGenericTypeQualifier() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedGenericTypeQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImplicitReturnTypeReference_destructuring.kt")
|
||||
public void testUnusedImplicitReturnTypeReference_destructuring() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImplicitReturnTypeReference_destructuring.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImportFromObject.kt")
|
||||
public void testUnusedImportFromObject() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImportFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImportsFromSamePackage.kt")
|
||||
public void testUnusedImportsFromSamePackage() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImportsFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedInvokeOperatorImport.kt")
|
||||
public void testUnusedInvokeOperatorImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedInvokeOperatorImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedObject_invokeOperator.kt")
|
||||
public void testUnusedObject_invokeOperator() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedObject_invokeOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedStaticFunctionImportFromJavaChildClass.kt")
|
||||
public void testUnusedStaticFunctionImportFromJavaChildClass() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedStaticFunctionImportFromJavaChildClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedTypeAsVarargType.kt")
|
||||
public void testUnusedTypeAsVarargType() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedTypeAsVarargType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedType_underscoreNameInCatchSection.kt")
|
||||
public void testUnusedType_underscoreNameInCatchSection() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedType_underscoreNameInCatchSection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedType_underscoreVariableInDestructuringDeclaration.kt")
|
||||
public void testUnusedType_underscoreVariableInDestructuringDeclaration() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedType_underscoreVariableInDestructuringDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedAndRegularImportsFromSamePackage.kt")
|
||||
public void testUsedAliasedAndRegularImportsFromSamePackage() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedAndRegularImportsFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedFunctionReference.kt")
|
||||
public void testUsedAliasedFunctionReference() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedFunctionReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedImportsFromSamePackage.kt")
|
||||
public void testUsedAliasedImportsFromSamePackage() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedImportsFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedTypeImport.kt")
|
||||
public void testUsedAliasedTypeImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedTypeImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunctionFromObject_implicitReceiver.kt")
|
||||
public void testUsedExtensionFunctionFromObject_implicitReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunctionFromObject_implicitReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunction_componentOperator.kt")
|
||||
public void testUsedExtensionFunction_componentOperator() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunction_componentOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunction_objectReceiver.kt")
|
||||
public void testUsedExtensionFunction_objectReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunction_objectReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedFunctionImport.kt")
|
||||
public void testUsedFunctionImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedFunctionImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedFunctionImportedFromObjectSuperClass.kt")
|
||||
public void testUsedFunctionImportedFromObjectSuperClass() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedFunctionImportedFromObjectSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedGenericTypeQualifier.kt")
|
||||
public void testUsedGenericTypeQualifier() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedGenericTypeQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedImportFromObject.kt")
|
||||
public void testUsedImportFromObject() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedImportFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorAliasedImport.kt")
|
||||
public void testUsedInvokeOperatorAliasedImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorAliasedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorExplicitImport.kt")
|
||||
public void testUsedInvokeOperatorExplicitImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorExplicitImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorImport.kt")
|
||||
public void testUsedInvokeOperatorImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedNestedSamInterface_constructorCall.kt")
|
||||
public void testUsedNestedSamInterface_constructorCall() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedNestedSamInterface_constructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedNestedSamInterface_constructorReference.kt")
|
||||
public void testUsedNestedSamInterface_constructorReference() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedNestedSamInterface_constructorReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedObject_invokeOperator.kt")
|
||||
public void testUsedObject_invokeOperator() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedObject_invokeOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedStaticFunctionImportFromJavaChildClass.kt")
|
||||
public void testUsedStaticFunctionImportFromJavaChildClass() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedStaticFunctionImportFromJavaChildClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeAsTypeParameter.kt")
|
||||
public void testUsedTypeAsTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedTypeAsTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeAsVarargType.kt")
|
||||
public void testUsedTypeAsVarargType() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedTypeAsVarargType.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReferencesWithErrors {
|
||||
@Test
|
||||
public void testAllFilesPresentInReferencesWithErrors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAnalyseImports() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
@TestMetadata("ambiguousFunction.kt")
|
||||
public void testAmbiguousFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/ambiguousFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsedObjectWithExtensionFromObject.kt")
|
||||
public void testUnsedObjectWithExtensionFromObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unsedObjectWithExtensionFromObject.kt");
|
||||
@TestMetadata("missingFunctionCall.kt")
|
||||
public void testMissingFunctionCall() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/missingFunctionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedAliasedImportFromSamePackage.kt")
|
||||
public void testUnusedAliasedImportFromSamePackage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedAliasedImportFromSamePackage.kt");
|
||||
@TestMetadata("unresolvedFunction.kt")
|
||||
public void testUnresolvedFunction() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedAliasedTypeImport.kt")
|
||||
public void testUnusedAliasedTypeImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedAliasedTypeImport.kt");
|
||||
@TestMetadata("unresolvedFunctionStarImport.kt")
|
||||
public void testUnresolvedFunctionStarImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedFunctionStarImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedExtensionFunctionFromObject_implicitReceiver.kt")
|
||||
public void testUnusedExtensionFunctionFromObject_implicitReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedExtensionFunctionFromObject_implicitReceiver.kt");
|
||||
@TestMetadata("unresolvedProperty.kt")
|
||||
public void testUnresolvedProperty() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedExtensionFunction_componentOperator.kt")
|
||||
public void testUnusedExtensionFunction_componentOperator() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedExtensionFunction_componentOperator.kt");
|
||||
@TestMetadata("unresolvedType.kt")
|
||||
public void testUnresolvedType() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedFunctionImportedFromObjectSuperClass.kt")
|
||||
public void testUnusedFunctionImportedFromObjectSuperClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedFunctionImportedFromObjectSuperClass.kt");
|
||||
@TestMetadata("unresolvedTypeArgument.kt")
|
||||
public void testUnresolvedTypeArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedFunctionImports.kt")
|
||||
public void testUnusedFunctionImports() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedFunctionImports.kt");
|
||||
@TestMetadata("unresolvedTypeQualifier.kt")
|
||||
public void testUnresolvedTypeQualifier() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedGenericTypeQualifier.kt")
|
||||
public void testUnusedGenericTypeQualifier() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedGenericTypeQualifier.kt");
|
||||
@TestMetadata("unresolvedTypeQualifierConstructor.kt")
|
||||
public void testUnresolvedTypeQualifierConstructor() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeQualifierConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImplicitReturnTypeReference_destructuring.kt")
|
||||
public void testUnusedImplicitReturnTypeReference_destructuring() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImplicitReturnTypeReference_destructuring.kt");
|
||||
@TestMetadata("unresolvedViaImportAlias.kt")
|
||||
public void testUnresolvedViaImportAlias() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedViaImportAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImportFromObject.kt")
|
||||
public void testUnusedImportFromObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImportFromObject.kt");
|
||||
@TestMetadata("unusedTypeHiddenByTypeParameter_invalidAsArgument.kt")
|
||||
public void testUnusedTypeHiddenByTypeParameter_invalidAsArgument() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unusedTypeHiddenByTypeParameter_invalidAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedImportsFromSamePackage.kt")
|
||||
public void testUnusedImportsFromSamePackage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedImportsFromSamePackage.kt");
|
||||
@TestMetadata("unusedUnresolvedImport.kt")
|
||||
public void testUnusedUnresolvedImport() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unusedUnresolvedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedInvokeOperatorImport.kt")
|
||||
public void testUnusedInvokeOperatorImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedInvokeOperatorImport.kt");
|
||||
@TestMetadata("usedConstructor_invalidArguments.kt")
|
||||
public void testUsedConstructor_invalidArguments() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedObject_invokeOperator.kt")
|
||||
public void testUnusedObject_invokeOperator() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedObject_invokeOperator.kt");
|
||||
@TestMetadata("usedConstructor_missingCall.kt")
|
||||
public void testUsedConstructor_missingCall() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_missingCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedStaticFunctionImportFromJavaChildClass.kt")
|
||||
public void testUnusedStaticFunctionImportFromJavaChildClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedStaticFunctionImportFromJavaChildClass.kt");
|
||||
@TestMetadata("usedExtensionFunction_invalidArguments.kt")
|
||||
public void testUsedExtensionFunction_invalidArguments() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionFunction_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedTypeAsVarargType.kt")
|
||||
public void testUnusedTypeAsVarargType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedTypeAsVarargType.kt");
|
||||
@TestMetadata("usedExtensionProperty_invalidReceiver.kt")
|
||||
public void testUsedExtensionProperty_invalidReceiver() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionProperty_invalidReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedType_underscoreNameInCatchSection.kt")
|
||||
public void testUnusedType_underscoreNameInCatchSection() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedType_underscoreNameInCatchSection.kt");
|
||||
@TestMetadata("usedInvokeOperator_invalidArguments.kt")
|
||||
public void testUsedInvokeOperator_invalidArguments() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedInvokeOperator_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedType_underscoreVariableInDestructuringDeclaration.kt")
|
||||
public void testUnusedType_underscoreVariableInDestructuringDeclaration() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedType_underscoreVariableInDestructuringDeclaration.kt");
|
||||
@TestMetadata("usedTypeAsTypeParameter_missingOuterType.kt")
|
||||
public void testUsedTypeAsTypeParameter_missingOuterType() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedTypeAsTypeParameter_missingOuterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedAndRegularImportsFromSamePackage.kt")
|
||||
public void testUsedAliasedAndRegularImportsFromSamePackage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedAndRegularImportsFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedFunctionReference.kt")
|
||||
public void testUsedAliasedFunctionReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedFunctionReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedImportsFromSamePackage.kt")
|
||||
public void testUsedAliasedImportsFromSamePackage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedImportsFromSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedAliasedTypeImport.kt")
|
||||
public void testUsedAliasedTypeImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedTypeImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunctionFromObject_implicitReceiver.kt")
|
||||
public void testUsedExtensionFunctionFromObject_implicitReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunctionFromObject_implicitReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunction_componentOperator.kt")
|
||||
public void testUsedExtensionFunction_componentOperator() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunction_componentOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunction_objectReceiver.kt")
|
||||
public void testUsedExtensionFunction_objectReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedExtensionFunction_objectReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedFunctionImport.kt")
|
||||
public void testUsedFunctionImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedFunctionImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedFunctionImportedFromObjectSuperClass.kt")
|
||||
public void testUsedFunctionImportedFromObjectSuperClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedFunctionImportedFromObjectSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedGenericTypeQualifier.kt")
|
||||
public void testUsedGenericTypeQualifier() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedGenericTypeQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedImportFromObject.kt")
|
||||
public void testUsedImportFromObject() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedImportFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorAliasedImport.kt")
|
||||
public void testUsedInvokeOperatorAliasedImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorAliasedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorExplicitImport.kt")
|
||||
public void testUsedInvokeOperatorExplicitImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorExplicitImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperatorImport.kt")
|
||||
public void testUsedInvokeOperatorImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedNestedSamInterface_constructorCall.kt")
|
||||
public void testUsedNestedSamInterface_constructorCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedNestedSamInterface_constructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedNestedSamInterface_constructorReference.kt")
|
||||
public void testUsedNestedSamInterface_constructorReference() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedNestedSamInterface_constructorReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedObject_invokeOperator.kt")
|
||||
public void testUsedObject_invokeOperator() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedObject_invokeOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedStaticFunctionImportFromJavaChildClass.kt")
|
||||
public void testUsedStaticFunctionImportFromJavaChildClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedStaticFunctionImportFromJavaChildClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeAsTypeParameter.kt")
|
||||
public void testUsedTypeAsTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedTypeAsTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeAsVarargType.kt")
|
||||
public void testUsedTypeAsVarargType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedTypeAsVarargType.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReferencesWithErrors {
|
||||
@Test
|
||||
public void testAllFilesPresentInReferencesWithErrors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ambiguousFunction.kt")
|
||||
public void testAmbiguousFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/ambiguousFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("missingFunctionCall.kt")
|
||||
public void testMissingFunctionCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/missingFunctionCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedFunction.kt")
|
||||
public void testUnresolvedFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedFunctionStarImport.kt")
|
||||
public void testUnresolvedFunctionStarImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedFunctionStarImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedProperty.kt")
|
||||
public void testUnresolvedProperty() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedType.kt")
|
||||
public void testUnresolvedType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedTypeArgument.kt")
|
||||
public void testUnresolvedTypeArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedTypeQualifier.kt")
|
||||
public void testUnresolvedTypeQualifier() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedTypeQualifierConstructor.kt")
|
||||
public void testUnresolvedTypeQualifierConstructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedTypeQualifierConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedViaImportAlias.kt")
|
||||
public void testUnresolvedViaImportAlias() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unresolvedViaImportAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedTypeHiddenByTypeParameter_invalidAsArgument.kt")
|
||||
public void testUnusedTypeHiddenByTypeParameter_invalidAsArgument() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unusedTypeHiddenByTypeParameter_invalidAsArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unusedUnresolvedImport.kt")
|
||||
public void testUnusedUnresolvedImport() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/unusedUnresolvedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedConstructor_invalidArguments.kt")
|
||||
public void testUsedConstructor_invalidArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedConstructor_missingCall.kt")
|
||||
public void testUsedConstructor_missingCall() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_missingCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionFunction_invalidArguments.kt")
|
||||
public void testUsedExtensionFunction_invalidArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionFunction_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedExtensionProperty_invalidReceiver.kt")
|
||||
public void testUsedExtensionProperty_invalidReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionProperty_invalidReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedInvokeOperator_invalidArguments.kt")
|
||||
public void testUsedInvokeOperator_invalidArguments() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedInvokeOperator_invalidArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeAsTypeParameter_missingOuterType.kt")
|
||||
public void testUsedTypeAsTypeParameter_missingOuterType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedTypeAsTypeParameter_missingOuterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("usedTypeImport_missingGeneric.kt")
|
||||
public void testUsedTypeImport_missingGeneric() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedTypeImport_missingGeneric.kt");
|
||||
}
|
||||
@TestMetadata("usedTypeImport_missingGeneric.kt")
|
||||
public void testUsedTypeImport_missingGeneric() {
|
||||
runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedTypeImport_missingGeneric.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleExpectForActualTestGenerated extends AbstractExpectForActualTest {
|
||||
@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 testAllFilesPresentInExpectForActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectForActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleExpectForActualTestGenerated extends AbstractExpectForActualTest {
|
||||
@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
|
||||
@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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleExpectForActualTestGenerated extends AbstractExpectForActualTest {
|
||||
@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 testAllFilesPresentInExpectForActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExpectForActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+31
-31
@@ -28,39 +28,39 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleExpectForActualTestGenerated extends AbstractExpectForActualTest {
|
||||
@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
|
||||
@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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiExpressionPsiTypeProviderTestGenerated extends AbstractAnalysisApiExpressionPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiKtTypeByPsiTypeProviderTestGenerated extends AbstractAnalysisApiKtTypeByPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInAsKtType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAsKtType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiPsiTypeProviderTestGenerated extends AbstractAnalysisApiPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+61
-61
@@ -28,75 +28,75 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiExpressionPsiTypeProviderTestGenerated extends AbstractAnalysisApiExpressionPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/capturedBoundType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/capturedBoundType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class_object_call.kt")
|
||||
public void testClass_object_call() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_call.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class_object_call.kt")
|
||||
public void testClass_object_call() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_call.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class_object_constructor.kt")
|
||||
public void testClass_object_constructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_constructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class_object_constructor.kt")
|
||||
public void testClass_object_constructor() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorType.kt")
|
||||
public void testErrorType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/errorType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorType.kt")
|
||||
public void testErrorType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/errorType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("KTIJ25461.kt")
|
||||
public void testKTIJ25461() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/KTIJ25461.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("KTIJ25461.kt")
|
||||
public void testKTIJ25461() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/KTIJ25461.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithUnresolvedSuperType.kt")
|
||||
public void testLocalClassWithUnresolvedSuperType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/localClassWithUnresolvedSuperType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassWithUnresolvedSuperType.kt")
|
||||
public void testLocalClassWithUnresolvedSuperType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/localClassWithUnresolvedSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localSimple.kt")
|
||||
public void testRecursiveTypeParameter_localSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localSimple.kt")
|
||||
public void testRecursiveTypeParameter_localSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localWithTypeParameter.kt")
|
||||
public void testRecursiveTypeParameter_localWithTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localWithTypeParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localWithTypeParameter.kt")
|
||||
public void testRecursiveTypeParameter_localWithTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParamFlexibleUpperBound.kt")
|
||||
public void testTypeParamFlexibleUpperBound() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/typeParamFlexibleUpperBound.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParamFlexibleUpperBound.kt")
|
||||
public void testTypeParamFlexibleUpperBound() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/typeParamFlexibleUpperBound.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleAnalysisApiKtTypeByPsiTypeProviderTestGenerated extends AbstractAnalysisApiKtTypeByPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInAsKtType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAsKtType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonym.kt")
|
||||
public void testAnonym() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/anonym.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonym.kt")
|
||||
public void testAnonym() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/anonym.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extends.kt")
|
||||
public void testExtends() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/extends.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extends.kt")
|
||||
public void testExtends() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/extends.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodTypeParameters.kt")
|
||||
public void testMethodTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/methodTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodTypeParameters.kt")
|
||||
public void testMethodTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/methodTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedGenerics.kt")
|
||||
public void testNestedGenerics() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nestedGenerics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedGenerics.kt")
|
||||
public void testNestedGenerics() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nestedGenerics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableString.kt")
|
||||
public void testNullableString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nullableString.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableString.kt")
|
||||
public void testNullableString() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nullableString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitive.kt")
|
||||
public void testPrimitive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/primitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitive.kt")
|
||||
public void testPrimitive() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/primitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters2.kt")
|
||||
public void testTypeParameters2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameters2.kt")
|
||||
public void testTypeParameters2() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters2.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 FirIdeDependentAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated extends AbstractAnalysisApiPsiTypeProviderTest {
|
||||
@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
|
||||
@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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiExpressionPsiTypeProviderTestGenerated extends AbstractAnalysisApiExpressionPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiKtTypeByPsiTypeProviderTestGenerated extends AbstractAnalysisApiKtTypeByPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInAsKtType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAsKtType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiPsiTypeProviderTestGenerated extends AbstractAnalysisApiPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForDeclaration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForDeclaration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+61
-61
@@ -28,75 +28,75 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiExpressionPsiTypeProviderTestGenerated extends AbstractAnalysisApiExpressionPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInForExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInForExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/capturedBoundType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("capturedBoundType.kt")
|
||||
public void testCapturedBoundType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/capturedBoundType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class_object_call.kt")
|
||||
public void testClass_object_call() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_call.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class_object_call.kt")
|
||||
public void testClass_object_call() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_call.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class_object_constructor.kt")
|
||||
public void testClass_object_constructor() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_constructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("class_object_constructor.kt")
|
||||
public void testClass_object_constructor() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorType.kt")
|
||||
public void testErrorType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/errorType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorType.kt")
|
||||
public void testErrorType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/errorType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("KTIJ25461.kt")
|
||||
public void testKTIJ25461() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/KTIJ25461.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("KTIJ25461.kt")
|
||||
public void testKTIJ25461() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/KTIJ25461.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithUnresolvedSuperType.kt")
|
||||
public void testLocalClassWithUnresolvedSuperType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/localClassWithUnresolvedSuperType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassWithUnresolvedSuperType.kt")
|
||||
public void testLocalClassWithUnresolvedSuperType() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/localClassWithUnresolvedSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localSimple.kt")
|
||||
public void testRecursiveTypeParameter_localSimple() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localSimple.kt")
|
||||
public void testRecursiveTypeParameter_localSimple() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localWithTypeParameter.kt")
|
||||
public void testRecursiveTypeParameter_localWithTypeParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localWithTypeParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursiveTypeParameter_localWithTypeParameter.kt")
|
||||
public void testRecursiveTypeParameter_localWithTypeParameter() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/recursiveTypeParameter_localWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParamFlexibleUpperBound.kt")
|
||||
public void testTypeParamFlexibleUpperBound() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/typeParamFlexibleUpperBound.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParamFlexibleUpperBound.kt")
|
||||
public void testTypeParamFlexibleUpperBound() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/typeParamFlexibleUpperBound.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleAnalysisApiKtTypeByPsiTypeProviderTestGenerated extends AbstractAnalysisApiKtTypeByPsiTypeProviderTest {
|
||||
@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 testAllFilesPresentInAsKtType() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInAsKtType() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonym.kt")
|
||||
public void testAnonym() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/anonym.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonym.kt")
|
||||
public void testAnonym() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/anonym.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extends.kt")
|
||||
public void testExtends() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/extends.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extends.kt")
|
||||
public void testExtends() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/extends.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodTypeParameters.kt")
|
||||
public void testMethodTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/methodTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodTypeParameters.kt")
|
||||
public void testMethodTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/methodTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedGenerics.kt")
|
||||
public void testNestedGenerics() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nestedGenerics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedGenerics.kt")
|
||||
public void testNestedGenerics() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nestedGenerics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableString.kt")
|
||||
public void testNullableString() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nullableString.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableString.kt")
|
||||
public void testNullableString() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/nullableString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitive.kt")
|
||||
public void testPrimitive() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/primitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitive.kt")
|
||||
public void testPrimitive() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/primitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameters.kt")
|
||||
public void testTypeParameters() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameters2.kt")
|
||||
public void testTypeParameters2() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeParameters2.kt")
|
||||
public void testTypeParameters2() {
|
||||
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/asKtType/typeParameters2.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 FirIdeNormalAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated extends AbstractAnalysisApiPsiTypeProviderTest {
|
||||
@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
|
||||
@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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleIsImplicitCompanionReferenceTestGenerated extends AbstractIsImplicitCompanionReferenceTest {
|
||||
@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 testAllFilesPresentInIsImplicitReferenceToCompanion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsImplicitReferenceToCompanion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleIsImplicitCompanionReferenceTestGenerated extends AbstractIsImplicitCompanionReferenceTest {
|
||||
@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 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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisScriptSourceModuleIsImplicitCompanionReferenceTestGenerated extends AbstractIsImplicitCompanionReferenceTest {
|
||||
@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 testAllFilesPresentInIsImplicitReferenceToCompanion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIsImplicitReferenceToCompanion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+56
-56
@@ -28,69 +28,69 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/referenceResolveProvider/isImplicitReferenceToCompanion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeNormalAnalysisSourceModuleIsImplicitCompanionReferenceTestGenerated extends AbstractIsImplicitCompanionReferenceTest {
|
||||
@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 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");
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -28,21 +28,21 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisScriptSourceModuleResolveExtensionInfoProviderTestGenerated extends AbstractResolveExtensionInfoProviderTest {
|
||||
@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 testAllFilesPresentInExtensionScopeWithPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExtensionScopeWithPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
+26
-26
@@ -28,33 +28,33 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirIdeDependentAnalysisSourceModuleResolveExtensionInfoProviderTestGenerated extends AbstractResolveExtensionInfoProviderTest {
|
||||
@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 testAllFilesPresentInExtensionScopeWithPsi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInExtensionScopeWithPsi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleExtensions.kt")
|
||||
public void testMultipleExtensions() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi/multipleExtensions.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleExtensions.kt")
|
||||
public void testMultipleExtensions() {
|
||||
runTest("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi/multipleExtensions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleModule.kt")
|
||||
public void testSingleModule() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi/singleModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleModule.kt")
|
||||
public void testSingleModule() {
|
||||
runTest("analysis/analysis-api/testData/components/resolveExtensionInfoProvider/extensionScopeWithPsi/singleModule.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user