Analysis API: regenerate tests

This commit is contained in:
Ilya Kirillov
2021-11-17 19:32:02 +01:00
parent 7cb1f19a79
commit 7f6afcabf1
23 changed files with 554 additions and 554 deletions
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.callResolver;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,461 +16,461 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/analysisSession/resolveCall") @TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10ResolveCallTestGenerated extends AbstractKtFe10ResolveCallTest { public class KtFe10ResolveCallTestGenerated extends AbstractKtFe10ResolveCallTest {
@Test @Test
public void testAllFilesPresentInResolveCall() throws Exception { public void testAllFilesPresentInResolveCall() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/analysisSession/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotationEntry.kt") @TestMetadata("annotationEntry.kt")
public void testAnnotationEntry() throws Exception { public void testAnnotationEntry() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationEntry.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationEntry.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_arrayOf.kt") @TestMetadata("annotationInAnnotation_arrayOf.kt")
public void testAnnotationInAnnotation_arrayOf() throws Exception { public void testAnnotationInAnnotation_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_collectionLiteral.kt")
public void testAnnotationInAnnotation_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt")
public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_multipleAnnotations_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_multipleAnnotations_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt")
public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_noarg.kt") @TestMetadata("annotationInAnnotation_noarg.kt")
public void testAnnotationInAnnotation_noarg() throws Exception { public void testAnnotationInAnnotation_noarg() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_noarg.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_noarg.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_vararg.kt") @TestMetadata("annotationInAnnotation_vararg.kt")
public void testAnnotationInAnnotation_vararg() throws Exception { public void testAnnotationInAnnotation_vararg() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_vararg.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_vararg.kt");
} }
@Test @Test
@TestMetadata("annotationOnDelegate.kt") @TestMetadata("annotationOnDelegate.kt")
public void testAnnotationOnDelegate() throws Exception { public void testAnnotationOnDelegate() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnDelegate.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnDelegate.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_asT.kt") @TestMetadata("annotationOnExpression_asT.kt")
public void testAnnotationOnExpression_asT() throws Exception { public void testAnnotationOnExpression_asT() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_asT.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_asT.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_destructuring.kt") @TestMetadata("annotationOnExpression_destructuring.kt")
public void testAnnotationOnExpression_destructuring() throws Exception { public void testAnnotationOnExpression_destructuring() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_destructuring.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_destructuring.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_if.kt") @TestMetadata("annotationOnExpression_if.kt")
public void testAnnotationOnExpression_if() throws Exception { public void testAnnotationOnExpression_if() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_if.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_if.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_whenBranch.kt") @TestMetadata("annotationOnExpression_whenBranch.kt")
public void testAnnotationOnExpression_whenBranch() throws Exception { public void testAnnotationOnExpression_whenBranch() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_whenBranch.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_whenBranch.kt");
} }
@Test @Test
@TestMetadata("annotationOnFile.kt") @TestMetadata("annotationOnFile.kt")
public void testAnnotationOnFile() throws Exception { public void testAnnotationOnFile() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnFile.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnFile.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_param.kt") @TestMetadata("annotationOnParameter_param.kt")
public void testAnnotationOnParameter_param() throws Exception { public void testAnnotationOnParameter_param() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_param.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_param.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_parameterProperty.kt") @TestMetadata("annotationOnParameter_parameterProperty.kt")
public void testAnnotationOnParameter_parameterProperty() throws Exception { public void testAnnotationOnParameter_parameterProperty() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_parameterProperty.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_parameterProperty.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_reified.kt") @TestMetadata("annotationOnParameter_reified.kt")
public void testAnnotationOnParameter_reified() throws Exception { public void testAnnotationOnParameter_reified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_reified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_reified.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_setparam.kt") @TestMetadata("annotationOnParameter_setparam.kt")
public void testAnnotationOnParameter_setparam() throws Exception { public void testAnnotationOnParameter_setparam() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_setparam.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_setparam.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_field.kt") @TestMetadata("annotationOnProperty_field.kt")
public void testAnnotationOnProperty_field() throws Exception { public void testAnnotationOnProperty_field() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_field.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_field.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_get.kt") @TestMetadata("annotationOnProperty_get.kt")
public void testAnnotationOnProperty_get() throws Exception { public void testAnnotationOnProperty_get() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_get.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_get.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_property.kt") @TestMetadata("annotationOnProperty_property.kt")
public void testAnnotationOnProperty_property() throws Exception { public void testAnnotationOnProperty_property() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_property.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_property.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_set.kt") @TestMetadata("annotationOnProperty_set.kt")
public void testAnnotationOnProperty_set() throws Exception { public void testAnnotationOnProperty_set() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_set.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_set.kt");
} }
@Test @Test
@TestMetadata("annotationOnReceiver.kt") @TestMetadata("annotationOnReceiver.kt")
public void testAnnotationOnReceiver() throws Exception { public void testAnnotationOnReceiver() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnReceiver.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnReceiver.kt");
} }
@Test @Test
@TestMetadata("arrayOfInAnnotation.kt") @TestMetadata("arrayOfInAnnotation.kt")
public void testArrayOfInAnnotation() throws Exception { public void testArrayOfInAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/arrayOfInAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/arrayOfInAnnotation.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_super.kt") @TestMetadata("delegatedConstructorCall_super.kt")
public void testDelegatedConstructorCall_super() throws Exception { public void testDelegatedConstructorCall_super() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_super.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_super.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_super_unresolved.kt") @TestMetadata("delegatedConstructorCall_super_unresolved.kt")
public void testDelegatedConstructorCall_super_unresolved() throws Exception { public void testDelegatedConstructorCall_super_unresolved() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_super_unresolved.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_super_unresolved.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_this.kt") @TestMetadata("delegatedConstructorCall_this.kt")
public void testDelegatedConstructorCall_this() throws Exception { public void testDelegatedConstructorCall_this() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_this.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_this.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_this_unresolved.kt") @TestMetadata("delegatedConstructorCall_this_unresolved.kt")
public void testDelegatedConstructorCall_this_unresolved() throws Exception { public void testDelegatedConstructorCall_this_unresolved() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_this_unresolved.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_this_unresolved.kt");
} }
@Test @Test
@TestMetadata("enumAsAnnotationValue.kt") @TestMetadata("enumAsAnnotationValue.kt")
public void testEnumAsAnnotationValue() throws Exception { public void testEnumAsAnnotationValue() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/enumAsAnnotationValue.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/enumAsAnnotationValue.kt");
} }
@Test @Test
@TestMetadata("functionCallInTheSameFile.kt") @TestMetadata("functionCallInTheSameFile.kt")
public void testFunctionCallInTheSameFile() throws Exception { public void testFunctionCallInTheSameFile() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallInTheSameFile.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallInTheSameFile.kt");
} }
@Test @Test
@TestMetadata("functionCallWithExtensionReceiverAndTypeArgument.kt") @TestMetadata("functionCallWithExtensionReceiverAndTypeArgument.kt")
public void testFunctionCallWithExtensionReceiverAndTypeArgument() throws Exception { public void testFunctionCallWithExtensionReceiverAndTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithExtensionReceiverAndTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithExtensionReceiverAndTypeArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithLambdaArgument.kt") @TestMetadata("functionCallWithLambdaArgument.kt")
public void testFunctionCallWithLambdaArgument() throws Exception { public void testFunctionCallWithLambdaArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithLambdaArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithLambdaArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithNamedArgument.kt") @TestMetadata("functionCallWithNamedArgument.kt")
public void testFunctionCallWithNamedArgument() throws Exception { public void testFunctionCallWithNamedArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithNamedArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithNamedArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithNonTrailingLambdaArgument.kt") @TestMetadata("functionCallWithNonTrailingLambdaArgument.kt")
public void testFunctionCallWithNonTrailingLambdaArgument() throws Exception { public void testFunctionCallWithNonTrailingLambdaArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithNonTrailingLambdaArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithNonTrailingLambdaArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithSpreadArgument.kt") @TestMetadata("functionCallWithSpreadArgument.kt")
public void testFunctionCallWithSpreadArgument() throws Exception { public void testFunctionCallWithSpreadArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithSpreadArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithSpreadArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithTypeArgument.kt") @TestMetadata("functionCallWithTypeArgument.kt")
public void testFunctionCallWithTypeArgument() throws Exception { public void testFunctionCallWithTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithTypeArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithVarargArgument.kt") @TestMetadata("functionCallWithVarargArgument.kt")
public void testFunctionCallWithVarargArgument() throws Exception { public void testFunctionCallWithVarargArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithVarargArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithVarargArgument.kt");
} }
@Test @Test
@TestMetadata("functionWithReceiverCall.kt") @TestMetadata("functionWithReceiverCall.kt")
public void testFunctionWithReceiverCall() throws Exception { public void testFunctionWithReceiverCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionWithReceiverCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionWithReceiverCall.kt");
} }
@Test @Test
@TestMetadata("functionWithReceiverSafeCall.kt") @TestMetadata("functionWithReceiverSafeCall.kt")
public void testFunctionWithReceiverSafeCall() throws Exception { public void testFunctionWithReceiverSafeCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionWithReceiverSafeCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionWithReceiverSafeCall.kt");
} }
@Test @Test
@TestMetadata("implicitConstructorDelegationCall.kt") @TestMetadata("implicitConstructorDelegationCall.kt")
public void testImplicitConstructorDelegationCall() throws Exception { public void testImplicitConstructorDelegationCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitConstructorDelegationCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitConstructorDelegationCall.kt");
} }
@Test @Test
@TestMetadata("implicitConstuctorCall.kt") @TestMetadata("implicitConstuctorCall.kt")
public void testImplicitConstuctorCall() throws Exception { public void testImplicitConstuctorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitConstuctorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitConstuctorCall.kt");
} }
@Test @Test
@TestMetadata("implicitJavaConstuctorCall.kt") @TestMetadata("implicitJavaConstuctorCall.kt")
public void testImplicitJavaConstuctorCall() throws Exception { public void testImplicitJavaConstuctorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitJavaConstuctorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitJavaConstuctorCall.kt");
} }
@Test @Test
@TestMetadata("indexedGet.kt") @TestMetadata("indexedGet.kt")
public void testIndexedGet() throws Exception { public void testIndexedGet() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGet.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGet.kt");
} }
@Test @Test
@TestMetadata("indexedGetWithNotEnoughArgs.kt") @TestMetadata("indexedGetWithNotEnoughArgs.kt")
public void testIndexedGetWithNotEnoughArgs() throws Exception { public void testIndexedGetWithNotEnoughArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGetWithNotEnoughArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGetWithNotEnoughArgs.kt");
} }
@Test @Test
@TestMetadata("indexedGetWithTooManyArgs.kt") @TestMetadata("indexedGetWithTooManyArgs.kt")
public void testIndexedGetWithTooManyArgs() throws Exception { public void testIndexedGetWithTooManyArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGetWithTooManyArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGetWithTooManyArgs.kt");
} }
@Test @Test
@TestMetadata("indexedSet.kt") @TestMetadata("indexedSet.kt")
public void testIndexedSet() throws Exception { public void testIndexedSet() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSet.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSet.kt");
} }
@Test @Test
@TestMetadata("indexedSetWithNotEnoughArgs.kt") @TestMetadata("indexedSetWithNotEnoughArgs.kt")
public void testIndexedSetWithNotEnoughArgs() throws Exception { public void testIndexedSetWithNotEnoughArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSetWithNotEnoughArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSetWithNotEnoughArgs.kt");
} }
@Test @Test
@TestMetadata("indexedSetWithTooManyArgs.kt") @TestMetadata("indexedSetWithTooManyArgs.kt")
public void testIndexedSetWithTooManyArgs() throws Exception { public void testIndexedSetWithTooManyArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSetWithTooManyArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSetWithTooManyArgs.kt");
} }
@Test @Test
@TestMetadata("intArrayOfInAnnotation.kt") @TestMetadata("intArrayOfInAnnotation.kt")
public void testIntArrayOfInAnnotation() throws Exception { public void testIntArrayOfInAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/intArrayOfInAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/intArrayOfInAnnotation.kt");
} }
@Test @Test
@TestMetadata("javaFunctionCall.kt") @TestMetadata("javaFunctionCall.kt")
public void testJavaFunctionCall() throws Exception { public void testJavaFunctionCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaFunctionCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaFunctionCall.kt");
} }
@Test @Test
@TestMetadata("javaPropertyGetter.kt") @TestMetadata("javaPropertyGetter.kt")
public void testJavaPropertyGetter() throws Exception { public void testJavaPropertyGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertyGetter_unqualified.kt") @TestMetadata("javaPropertyGetter_unqualified.kt")
public void testJavaPropertyGetter_unqualified() throws Exception { public void testJavaPropertyGetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyGetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("javaPropertyNestedGetter.kt") @TestMetadata("javaPropertyNestedGetter.kt")
public void testJavaPropertyNestedGetter() throws Exception { public void testJavaPropertyNestedGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyNestedGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyNestedGetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetter.kt") @TestMetadata("javaPropertySetter.kt")
public void testJavaPropertySetter() throws Exception { public void testJavaPropertySetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetterIncomplete.kt") @TestMetadata("javaPropertySetterIncomplete.kt")
public void testJavaPropertySetterIncomplete() throws Exception { public void testJavaPropertySetterIncomplete() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetterIncomplete.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetterIncomplete.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetter_unqualified.kt") @TestMetadata("javaPropertySetter_unqualified.kt")
public void testJavaPropertySetter_unqualified() throws Exception { public void testJavaPropertySetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyGetter.kt") @TestMetadata("kotlinPropertyGetter.kt")
public void testKotlinPropertyGetter() throws Exception { public void testKotlinPropertyGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyGetter_unqualified.kt") @TestMetadata("kotlinPropertyGetter_unqualified.kt")
public void testKotlinPropertyGetter_unqualified() throws Exception { public void testKotlinPropertyGetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyGetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyNestedGetter.kt") @TestMetadata("kotlinPropertyNestedGetter.kt")
public void testKotlinPropertyNestedGetter() throws Exception { public void testKotlinPropertyNestedGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyNestedGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyNestedGetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertySetter.kt") @TestMetadata("kotlinPropertySetter.kt")
public void testKotlinPropertySetter() throws Exception { public void testKotlinPropertySetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertySetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertySetter_unqualified.kt") @TestMetadata("kotlinPropertySetter_unqualified.kt")
public void testKotlinPropertySetter_unqualified() throws Exception { public void testKotlinPropertySetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertySetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("memberFunctionCallWithTypeArgument.kt") @TestMetadata("memberFunctionCallWithTypeArgument.kt")
public void testMemberFunctionCallWithTypeArgument() throws Exception { public void testMemberFunctionCallWithTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/memberFunctionCallWithTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/memberFunctionCallWithTypeArgument.kt");
} }
@Test @Test
@TestMetadata("resolveCallInSuperConstructorParam.kt") @TestMetadata("resolveCallInSuperConstructorParam.kt")
public void testResolveCallInSuperConstructorParam() throws Exception { public void testResolveCallInSuperConstructorParam() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/resolveCallInSuperConstructorParam.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/resolveCallInSuperConstructorParam.kt");
} }
@Test @Test
@TestMetadata("samConstructorCall.kt") @TestMetadata("samConstructorCall.kt")
public void testSamConstructorCall() throws Exception { public void testSamConstructorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/samConstructorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/samConstructorCall.kt");
} }
@Test @Test
@TestMetadata("simpleCallWithNonMatchingArgs.kt") @TestMetadata("simpleCallWithNonMatchingArgs.kt")
public void testSimpleCallWithNonMatchingArgs() throws Exception { public void testSimpleCallWithNonMatchingArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/simpleCallWithNonMatchingArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/simpleCallWithNonMatchingArgs.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuperReference.kt") @TestMetadata("unresolvedSuperReference.kt")
public void testUnresolvedSuperReference() throws Exception { public void testUnresolvedSuperReference() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/unresolvedSuperReference.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/unresolvedSuperReference.kt");
} }
@Test @Test
@TestMetadata("variableAsFunction.kt") @TestMetadata("variableAsFunction.kt")
public void testVariableAsFunction() throws Exception { public void testVariableAsFunction() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunction.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunction.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionLikeCall.kt") @TestMetadata("variableAsFunctionLikeCall.kt")
public void testVariableAsFunctionLikeCall() throws Exception { public void testVariableAsFunctionLikeCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionLikeCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionLikeCall.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterName.kt") @TestMetadata("variableAsFunctionWithParameterName.kt")
public void testVariableAsFunctionWithParameterName() throws Exception { public void testVariableAsFunctionWithParameterName() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterName.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterName.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameAnnotation.kt") @TestMetadata("variableAsFunctionWithParameterNameAnnotation.kt")
public void testVariableAsFunctionWithParameterNameAnnotation() throws Exception { public void testVariableAsFunctionWithParameterNameAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameAnnotation.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameAnnotationConflict.kt") @TestMetadata("variableAsFunctionWithParameterNameAnnotationConflict.kt")
public void testVariableAsFunctionWithParameterNameAnnotationConflict() throws Exception { public void testVariableAsFunctionWithParameterNameAnnotationConflict() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameAnnotationConflict.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameAnnotationConflict.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameGeneric.kt") @TestMetadata("variableAsFunctionWithParameterNameGeneric.kt")
public void testVariableAsFunctionWithParameterNameGeneric() throws Exception { public void testVariableAsFunctionWithParameterNameGeneric() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameGeneric.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameGeneric.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameInNonFunctionType.kt") @TestMetadata("variableAsFunctionWithParameterNameInNonFunctionType.kt")
public void testVariableAsFunctionWithParameterNameInNonFunctionType() throws Exception { public void testVariableAsFunctionWithParameterNameInNonFunctionType() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameInNonFunctionType.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameInNonFunctionType.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameMixed.kt") @TestMetadata("variableAsFunctionWithParameterNameMixed.kt")
public void testVariableAsFunctionWithParameterNameMixed() throws Exception { public void testVariableAsFunctionWithParameterNameMixed() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameMixed.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameMixed.kt");
} }
@Test @Test
@TestMetadata("variableWithExtensionInvoke.kt") @TestMetadata("variableWithExtensionInvoke.kt")
public void testVariableWithExtensionInvoke() throws Exception { public void testVariableWithExtensionInvoke() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableWithExtensionInvoke.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableWithExtensionInvoke.kt");
} }
@Test @Test
@TestMetadata("variableWithMemberInvoke.kt") @TestMetadata("variableWithMemberInvoke.kt")
public void testVariableWithMemberInvoke() throws Exception { public void testVariableWithMemberInvoke() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableWithMemberInvoke.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableWithMemberInvoke.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.symbols; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.compileTimeConstantProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,107 +16,107 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantEvaluator") @TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10CompileTimeConstantEvaluatorTestGenerated extends AbstractKtFe10CompileTimeConstantEvaluatorTest { public class KtFe10CompileTimeConstantEvaluatorTestGenerated extends AbstractKtFe10CompileTimeConstantEvaluatorTest {
@Test @Test
public void testAllFilesPresentInCompileTimeConstantEvaluator() throws Exception { public void testAllFilesPresentInEvaluate() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotationInAnnotation_arrayOf.kt") @TestMetadata("annotationInAnnotation_arrayOf.kt")
public void testAnnotationInAnnotation_arrayOf() throws Exception { public void testAnnotationInAnnotation_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_collectionLiteral.kt")
public void testAnnotationInAnnotation_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral_spread.kt") @TestMetadata("annotationInAnnotation_collectionLiteral_spread.kt")
public void testAnnotationInAnnotation_collectionLiteral_spread() throws Exception { public void testAnnotationInAnnotation_collectionLiteral_spread() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_collectionLiteral_spread.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_collectionLiteral_spread.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt")
public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_multipleAnnotations_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_multipleAnnotations_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt")
public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_single.kt") @TestMetadata("annotationInAnnotation_single.kt")
public void testAnnotationInAnnotation_single() throws Exception { public void testAnnotationInAnnotation_single() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_single.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_single.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_vararg.kt") @TestMetadata("annotationInAnnotation_vararg.kt")
public void testAnnotationInAnnotation_vararg() throws Exception { public void testAnnotationInAnnotation_vararg() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_vararg.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_vararg.kt");
} }
@Test @Test
@TestMetadata("enumAsAnnotationValue.kt") @TestMetadata("enumAsAnnotationValue.kt")
public void testEnumAsAnnotationValue() throws Exception { public void testEnumAsAnnotationValue() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/enumAsAnnotationValue.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/enumAsAnnotationValue.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Byte.kt") @TestMetadata("propertyInit_Byte.kt")
public void testPropertyInit_Byte() throws Exception { public void testPropertyInit_Byte() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Byte.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
} }
@Test @Test
@TestMetadata("propertyInit_DivByZero.kt") @TestMetadata("propertyInit_DivByZero.kt")
public void testPropertyInit_DivByZero() throws Exception { public void testPropertyInit_DivByZero() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_DivByZero.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Double.kt") @TestMetadata("propertyInit_Double.kt")
public void testPropertyInit_Double() throws Exception { public void testPropertyInit_Double() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Double.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Float.kt") @TestMetadata("propertyInit_Float.kt")
public void testPropertyInit_Float() throws Exception { public void testPropertyInit_Float() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Float.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Int.kt") @TestMetadata("propertyInit_Int.kt")
public void testPropertyInit_Int() throws Exception { public void testPropertyInit_Int() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Int.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Long.kt") @TestMetadata("propertyInit_Long.kt")
public void testPropertyInit_Long() throws Exception { public void testPropertyInit_Long() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Long.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
} }
@Test @Test
@TestMetadata("propertyInit_UInt.kt") @TestMetadata("propertyInit_UInt.kt")
public void testPropertyInit_UInt() throws Exception { public void testPropertyInit_UInt() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_UInt.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
} }
@Test @Test
@TestMetadata("stringLiteral.kt") @TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception { public void testStringLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/stringLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.expressionInfoProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,95 +16,95 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/whenMissingCases") @TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10WhenMissingCasesTestGenerated extends AbstractKtFe10WhenMissingCasesTest { public class KtFe10WhenMissingCasesTestGenerated extends AbstractKtFe10WhenMissingCasesTest {
@Test @Test
public void testAllFilesPresentInWhenMissingCases() throws Exception { public void testAllFilesPresentInWhenMissingCases() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("boolean_else.kt") @TestMetadata("boolean_else.kt")
public void testBoolean_else() throws Exception { public void testBoolean_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
} }
@Test @Test
@TestMetadata("boolean_empty.kt") @TestMetadata("boolean_empty.kt")
public void testBoolean_empty() throws Exception { public void testBoolean_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
} }
@Test @Test
@TestMetadata("boolean_partial.kt") @TestMetadata("boolean_partial.kt")
public void testBoolean_partial() throws Exception { public void testBoolean_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
} }
@Test @Test
@TestMetadata("enum_else.kt") @TestMetadata("enum_else.kt")
public void testEnum_else() throws Exception { public void testEnum_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
} }
@Test @Test
@TestMetadata("enum_empty.kt") @TestMetadata("enum_empty.kt")
public void testEnum_empty() throws Exception { public void testEnum_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
} }
@Test @Test
@TestMetadata("enum_partial.kt") @TestMetadata("enum_partial.kt")
public void testEnum_partial() throws Exception { public void testEnum_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
} }
@Test @Test
@TestMetadata("nothing.kt") @TestMetadata("nothing.kt")
public void testNothing() throws Exception { public void testNothing() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nothing.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
} }
@Test @Test
@TestMetadata("nullableBoolean.kt") @TestMetadata("nullableBoolean.kt")
public void testNullableBoolean() throws Exception { public void testNullableBoolean() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableBoolean.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
} }
@Test @Test
@TestMetadata("nullableEnum.kt") @TestMetadata("nullableEnum.kt")
public void testNullableEnum() throws Exception { public void testNullableEnum() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableEnum.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
} }
@Test @Test
@TestMetadata("nullableNothing.kt") @TestMetadata("nullableNothing.kt")
public void testNullableNothing() throws Exception { public void testNullableNothing() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableNothing.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
} }
@Test @Test
@TestMetadata("nullableSealedClass_empty.kt") @TestMetadata("nullableSealedClass_empty.kt")
public void testNullableSealedClass_empty() throws Exception { public void testNullableSealedClass_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableSealedClass_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
} }
@Test @Test
@TestMetadata("sealedClass_else.kt") @TestMetadata("sealedClass_else.kt")
public void testSealedClass_else() throws Exception { public void testSealedClass_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
} }
@Test @Test
@TestMetadata("sealedClass_empty.kt") @TestMetadata("sealedClass_empty.kt")
public void testSealedClass_empty() throws Exception { public void testSealedClass_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
} }
@Test @Test
@TestMetadata("sealedClass_partial.kt") @TestMetadata("sealedClass_partial.kt")
public void testSealedClass_partial() throws Exception { public void testSealedClass_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.expressionTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,233 +16,233 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/expectedExpressionType") @TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10ExpectedExpressionTypeTestGenerated extends AbstractKtFe10ExpectedExpressionTypeTest { public class KtFe10ExpectedExpressionTypeTestGenerated extends AbstractKtFe10ExpectedExpressionTypeTest {
@Test @Test
public void testAllFilesPresentInExpectedExpressionType() throws Exception { public void testAllFilesPresentInExpectedExpressionType() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("functionExpressionBody.kt") @TestMetadata("functionExpressionBody.kt")
public void testFunctionExpressionBody() throws Exception { public void testFunctionExpressionBody() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBody.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyBlockExpression.kt") @TestMetadata("functionExpressionBodyBlockExpression.kt")
public void testFunctionExpressionBodyBlockExpression() throws Exception { public void testFunctionExpressionBodyBlockExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyBlockExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyBlockExpression.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyQualified.kt") @TestMetadata("functionExpressionBodyQualified.kt")
public void testFunctionExpressionBodyQualified() throws Exception { public void testFunctionExpressionBodyQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyWithTypeFromRHS.kt") @TestMetadata("functionExpressionBodyWithTypeFromRHS.kt")
public void testFunctionExpressionBodyWithTypeFromRHS() throws Exception { public void testFunctionExpressionBodyWithTypeFromRHS() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyWithoutExplicitType.kt") @TestMetadata("functionExpressionBodyWithoutExplicitType.kt")
public void testFunctionExpressionBodyWithoutExplicitType() throws Exception { public void testFunctionExpressionBodyWithoutExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt");
} }
@Test @Test
@TestMetadata("functionLambdaParam.kt") @TestMetadata("functionLambdaParam.kt")
public void testFunctionLambdaParam() throws Exception { public void testFunctionLambdaParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionLambdaParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.kt");
} }
@Test @Test
@TestMetadata("functionNamedlParam.kt") @TestMetadata("functionNamedlParam.kt")
public void testFunctionNamedlParam() throws Exception { public void testFunctionNamedlParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionNamedlParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.kt");
} }
@Test @Test
@TestMetadata("functionParamWithTypeParam.kt") @TestMetadata("functionParamWithTypeParam.kt")
public void testFunctionParamWithTypeParam() throws Exception { public void testFunctionParamWithTypeParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionParamWithTypeParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.kt");
} }
@Test @Test
@TestMetadata("functionPositionalParam.kt") @TestMetadata("functionPositionalParam.kt")
public void testFunctionPositionalParam() throws Exception { public void testFunctionPositionalParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionPositionalParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.kt");
} }
@Test @Test
@TestMetadata("functionPositionalParamQualified.kt") @TestMetadata("functionPositionalParamQualified.kt")
public void testFunctionPositionalParamQualified() throws Exception { public void testFunctionPositionalParamQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionPositionalParamQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.kt");
} }
@Test @Test
@TestMetadata("ifCondition.kt") @TestMetadata("ifCondition.kt")
public void testIfCondition() throws Exception { public void testIfCondition() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/ifCondition.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.kt");
} }
@Test @Test
@TestMetadata("ifConditionQualified.kt") @TestMetadata("ifConditionQualified.kt")
public void testIfConditionQualified() throws Exception { public void testIfConditionQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/ifConditionQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.kt");
} }
@Test @Test
@TestMetadata("infixFunctionAsRegularCallParam.kt") @TestMetadata("infixFunctionAsRegularCallParam.kt")
public void testInfixFunctionAsRegularCallParam() throws Exception { public void testInfixFunctionAsRegularCallParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionAsRegularCallParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.kt");
} }
@Test @Test
@TestMetadata("infixFunctionParam.kt") @TestMetadata("infixFunctionParam.kt")
public void testInfixFunctionParam() throws Exception { public void testInfixFunctionParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.kt");
} }
@Test @Test
@TestMetadata("infixFunctionParamQualified.kt") @TestMetadata("infixFunctionParamQualified.kt")
public void testInfixFunctionParamQualified() throws Exception { public void testInfixFunctionParamQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionParamQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.kt");
} }
@Test @Test
@TestMetadata("lambdaWithExplicitTypeFromVariable.kt") @TestMetadata("lambdaWithExplicitTypeFromVariable.kt")
public void testLambdaWithExplicitTypeFromVariable() throws Exception { public void testLambdaWithExplicitTypeFromVariable() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt");
} }
@Test @Test
@TestMetadata("lambdaWithoutReturnNorExplicitType.kt") @TestMetadata("lambdaWithoutReturnNorExplicitType.kt")
public void testLambdaWithoutReturnNorExplicitType() throws Exception { public void testLambdaWithoutReturnNorExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt");
} }
@Test @Test
@TestMetadata("propertyDeclaration.kt") @TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception { public void testPropertyDeclaration() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclaration.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationQualified.kt") @TestMetadata("propertyDeclarationQualified.kt")
public void testPropertyDeclarationQualified() throws Exception { public void testPropertyDeclarationQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithSafeCast.kt") @TestMetadata("propertyDeclarationWithSafeCast.kt")
public void testPropertyDeclarationWithSafeCast() throws Exception { public void testPropertyDeclarationWithSafeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithSafeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithTypeCast.kt") @TestMetadata("propertyDeclarationWithTypeCast.kt")
public void testPropertyDeclarationWithTypeCast() throws Exception { public void testPropertyDeclarationWithTypeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithTypeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithTypeFromRHS.kt") @TestMetadata("propertyDeclarationWithTypeFromRHS.kt")
public void testPropertyDeclarationWithTypeFromRHS() throws Exception { public void testPropertyDeclarationWithTypeFromRHS() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithoutExplicitType.kt") @TestMetadata("propertyDeclarationWithoutExplicitType.kt")
public void testPropertyDeclarationWithoutExplicitType() throws Exception { public void testPropertyDeclarationWithoutExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt");
} }
@Test @Test
@TestMetadata("returnFromFunction.kt") @TestMetadata("returnFromFunction.kt")
public void testReturnFromFunction() throws Exception { public void testReturnFromFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunction.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.kt");
} }
@Test @Test
@TestMetadata("returnFromFunctionQualifiedReceiver.kt") @TestMetadata("returnFromFunctionQualifiedReceiver.kt")
public void testReturnFromFunctionQualifiedReceiver() throws Exception { public void testReturnFromFunctionQualifiedReceiver() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt");
} }
@Test @Test
@TestMetadata("returnFromFunctionQualifiedSelector.kt") @TestMetadata("returnFromFunctionQualifiedSelector.kt")
public void testReturnFromFunctionQualifiedSelector() throws Exception { public void testReturnFromFunctionQualifiedSelector() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunctionQualifiedSelector.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.kt");
} }
@Test @Test
@TestMetadata("returnFromLambda.kt") @TestMetadata("returnFromLambda.kt")
public void testReturnFromLambda() throws Exception { public void testReturnFromLambda() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromLambda.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.kt");
} }
@Test @Test
@TestMetadata("sam.kt") @TestMetadata("sam.kt")
public void testSam() throws Exception { public void testSam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/sam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.kt");
} }
@Test @Test
@TestMetadata("samAsArgument.kt") @TestMetadata("samAsArgument.kt")
public void testSamAsArgument() throws Exception { public void testSamAsArgument() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsArgument.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.kt");
} }
@Test @Test
@TestMetadata("samAsConstructorArgument.kt") @TestMetadata("samAsConstructorArgument.kt")
public void testSamAsConstructorArgument() throws Exception { public void testSamAsConstructorArgument() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsConstructorArgument.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.kt");
} }
@Test @Test
@TestMetadata("samAsReturn.kt") @TestMetadata("samAsReturn.kt")
public void testSamAsReturn() throws Exception { public void testSamAsReturn() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsReturn.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.kt");
} }
@Test @Test
@TestMetadata("samWithExplicitTypeFromProperty.kt") @TestMetadata("samWithExplicitTypeFromProperty.kt")
public void testSamWithExplicitTypeFromProperty() throws Exception { public void testSamWithExplicitTypeFromProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samWithExplicitTypeFromProperty.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.kt");
} }
@Test @Test
@TestMetadata("samWithTypeCast.kt") @TestMetadata("samWithTypeCast.kt")
public void testSamWithTypeCast() throws Exception { public void testSamWithTypeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samWithTypeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.kt");
} }
@Test @Test
@TestMetadata("variableAssignment.kt") @TestMetadata("variableAssignment.kt")
public void testVariableAssignment() throws Exception { public void testVariableAssignment() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/variableAssignment.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.kt");
} }
@Test @Test
@TestMetadata("variableAssignmentQualified.kt") @TestMetadata("variableAssignmentQualified.kt")
public void testVariableAssignmentQualified() throws Exception { public void testVariableAssignmentQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/variableAssignmentQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.kt");
} }
@Test @Test
@TestMetadata("whileCondition.kt") @TestMetadata("whileCondition.kt")
public void testWhileCondition() throws Exception { public void testWhileCondition() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/whileCondition.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.kt");
} }
@Test @Test
@TestMetadata("whileConditionQualified.kt") @TestMetadata("whileConditionQualified.kt")
public void testWhileConditionQualified() throws Exception { public void testWhileConditionQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/whileConditionQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.expressionTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,155 +16,155 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/expressionType") @TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10HLExpressionTypeTestGenerated extends AbstractKtFe10HLExpressionTypeTest { public class KtFe10HLExpressionTypeTestGenerated extends AbstractKtFe10HLExpressionTypeTest {
@Test @Test
public void testAllFilesPresentInExpressionType() throws Exception { public void testAllFilesPresentInExpressionType() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("arrayElement_arrayOfNulls.kt") @TestMetadata("arrayElement_arrayOfNulls.kt")
public void testArrayElement_arrayOfNulls() throws Exception { public void testArrayElement_arrayOfNulls() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/arrayElement_arrayOfNulls.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/arrayElement_arrayOfNulls.kt");
} }
@Test @Test
@TestMetadata("array_arrayOfNulls.kt") @TestMetadata("array_arrayOfNulls.kt")
public void testArray_arrayOfNulls() throws Exception { public void testArray_arrayOfNulls() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/array_arrayOfNulls.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/array_arrayOfNulls.kt");
} }
@Test @Test
@TestMetadata("assignmentExpressionTarget.kt") @TestMetadata("assignmentExpressionTarget.kt")
public void testAssignmentExpressionTarget() throws Exception { public void testAssignmentExpressionTarget() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/assignmentExpressionTarget.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignmentExpressionTarget.kt");
} }
@Test @Test
@TestMetadata("binaryExpression.kt") @TestMetadata("binaryExpression.kt")
public void testBinaryExpression() throws Exception { public void testBinaryExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/binaryExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/binaryExpression.kt");
} }
@Test @Test
@TestMetadata("breakExpression.kt") @TestMetadata("breakExpression.kt")
public void testBreakExpression() throws Exception { public void testBreakExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/breakExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/breakExpression.kt");
} }
@Test @Test
@TestMetadata("forExpression.kt") @TestMetadata("forExpression.kt")
public void testForExpression() throws Exception { public void testForExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/forExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/forExpression.kt");
} }
@Test @Test
@TestMetadata("functionCall.kt") @TestMetadata("functionCall.kt")
public void testFunctionCall() throws Exception { public void testFunctionCall() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/functionCall.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/functionCall.kt");
} }
@Test @Test
@TestMetadata("inParens.kt") @TestMetadata("inParens.kt")
public void testInParens() throws Exception { public void testInParens() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/inParens.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/inParens.kt");
} }
@Test @Test
@TestMetadata("insideStringTemplate.kt") @TestMetadata("insideStringTemplate.kt")
public void testInsideStringTemplate() throws Exception { public void testInsideStringTemplate() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/insideStringTemplate.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplate.kt");
} }
@Test @Test
@TestMetadata("insideStringTemplateWithBinrary.kt") @TestMetadata("insideStringTemplateWithBinrary.kt")
public void testInsideStringTemplateWithBinrary() throws Exception { public void testInsideStringTemplateWithBinrary() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/insideStringTemplateWithBinrary.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplateWithBinrary.kt");
} }
@Test @Test
@TestMetadata("intLiteral.kt") @TestMetadata("intLiteral.kt")
public void testIntLiteral() throws Exception { public void testIntLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/intLiteral.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/intLiteral.kt");
} }
@Test @Test
@TestMetadata("listElement_listOf.kt") @TestMetadata("listElement_listOf.kt")
public void testListElement_listOf() throws Exception { public void testListElement_listOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/listElement_listOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_listOf.kt");
} }
@Test @Test
@TestMetadata("listElement_mutableListOf.kt") @TestMetadata("listElement_mutableListOf.kt")
public void testListElement_mutableListOf() throws Exception { public void testListElement_mutableListOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/listElement_mutableListOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_mutableListOf.kt");
} }
@Test @Test
@TestMetadata("list_listOf.kt") @TestMetadata("list_listOf.kt")
public void testList_listOf() throws Exception { public void testList_listOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/list_listOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_listOf.kt");
} }
@Test @Test
@TestMetadata("list_mutableListOf.kt") @TestMetadata("list_mutableListOf.kt")
public void testList_mutableListOf() throws Exception { public void testList_mutableListOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/list_mutableListOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_mutableListOf.kt");
} }
@Test @Test
@TestMetadata("nonExpression.kt") @TestMetadata("nonExpression.kt")
public void testNonExpression() throws Exception { public void testNonExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/nonExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nonExpression.kt");
} }
@Test @Test
@TestMetadata("property.kt") @TestMetadata("property.kt")
public void testProperty() throws Exception { public void testProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/property.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/property.kt");
} }
@Test @Test
@TestMetadata("resolvedSuper.kt") @TestMetadata("resolvedSuper.kt")
public void testResolvedSuper() throws Exception { public void testResolvedSuper() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/resolvedSuper.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/resolvedSuper.kt");
} }
@Test @Test
@TestMetadata("returnExpression.kt") @TestMetadata("returnExpression.kt")
public void testReturnExpression() throws Exception { public void testReturnExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/returnExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/returnExpression.kt");
} }
@Test @Test
@TestMetadata("stringLiteral.kt") @TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception { public void testStringLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/stringLiteral.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/stringLiteral.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_multipleSuperTypes.kt") @TestMetadata("unresolvedSuper_multipleSuperTypes.kt")
public void testUnresolvedSuper_multipleSuperTypes() throws Exception { public void testUnresolvedSuper_multipleSuperTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_multipleSuperTypes.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_multipleSuperTypes.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_noSuperType.kt") @TestMetadata("unresolvedSuper_noSuperType.kt")
public void testUnresolvedSuper_noSuperType() throws Exception { public void testUnresolvedSuper_noSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_noSuperType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_noSuperType.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_singleSuperType.kt") @TestMetadata("unresolvedSuper_singleSuperType.kt")
public void testUnresolvedSuper_singleSuperType() throws Exception { public void testUnresolvedSuper_singleSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_singleSuperType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_singleSuperType.kt");
} }
@Test @Test
@TestMetadata("whileExpression.kt") @TestMetadata("whileExpression.kt")
public void testWhileExpression() throws Exception { public void testWhileExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/whileExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/whileExpression.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.smartCastProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,59 +16,59 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/smartCastInfo") @TestMetadata("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10HLSmartCastInfoTestGenerated extends AbstractKtFe10HLSmartCastInfoTest { public class KtFe10HLSmartCastInfoTestGenerated extends AbstractKtFe10HLSmartCastInfoTest {
@Test @Test
public void testAllFilesPresentInSmartCastInfo() throws Exception { public void testAllFilesPresentInSmartCastInfo() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("multiSmartcastAsReceiver_stable.kt") @TestMetadata("multiSmartcastAsReceiver_stable.kt")
public void testMultiSmartcastAsReceiver_stable() throws Exception { public void testMultiSmartcastAsReceiver_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcastAsReceiver_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_stable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcastAsReceiver_unstable.kt") @TestMetadata("multiSmartcastAsReceiver_unstable.kt")
public void testMultiSmartcastAsReceiver_unstable() throws Exception { public void testMultiSmartcastAsReceiver_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcastAsReceiver_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_unstable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcast_stable.kt") @TestMetadata("multiSmartcast_stable.kt")
public void testMultiSmartcast_stable() throws Exception { public void testMultiSmartcast_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcast_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_stable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcast_unstable.kt") @TestMetadata("multiSmartcast_unstable.kt")
public void testMultiSmartcast_unstable() throws Exception { public void testMultiSmartcast_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcast_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_unstable.kt");
} }
@Test @Test
@TestMetadata("smartcastAsReceiver_stable.kt") @TestMetadata("smartcastAsReceiver_stable.kt")
public void testSmartcastAsReceiver_stable() throws Exception { public void testSmartcastAsReceiver_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcastAsReceiver_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_stable.kt");
} }
@Test @Test
@TestMetadata("smartcastAsReceiver_unstable.kt") @TestMetadata("smartcastAsReceiver_unstable.kt")
public void testSmartcastAsReceiver_unstable() throws Exception { public void testSmartcastAsReceiver_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcastAsReceiver_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_unstable.kt");
} }
@Test @Test
@TestMetadata("smartcast_stable.kt") @TestMetadata("smartcast_stable.kt")
public void testSmartcast_stable() throws Exception { public void testSmartcast_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcast_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_stable.kt");
} }
@Test @Test
@TestMetadata("smartcast_unstable.kt") @TestMetadata("smartcast_unstable.kt")
public void testSmartcast_unstable() throws Exception { public void testSmartcast_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcast_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_unstable.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.symbolDeclarationOverridesProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,71 +16,71 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/overriddenDeclarations") @TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10OverriddenDeclarationProviderTestGenerated extends AbstractKtFe10OverriddenDeclarationProviderTest { public class KtFe10OverriddenDeclarationProviderTestGenerated extends AbstractKtFe10OverriddenDeclarationProviderTest {
@Test @Test
public void testAllFilesPresentInOverriddenDeclarations() throws Exception { public void testAllFilesPresentInOverriddenSymbols() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/overriddenDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("backingField.kt") @TestMetadata("backingField.kt")
public void testBackingField() throws Exception { public void testBackingField() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/backingField.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/backingField.kt");
} }
@Test @Test
@TestMetadata("inAnonymousClass.kt") @TestMetadata("inAnonymousClass.kt")
public void testInAnonymousClass() throws Exception { public void testInAnonymousClass() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inAnonymousClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inAnonymousClass.kt");
} }
@Test @Test
@TestMetadata("inLocalClass.kt") @TestMetadata("inLocalClass.kt")
public void testInLocalClass() throws Exception { public void testInLocalClass() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inLocalClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inLocalClass.kt");
} }
@Test @Test
@TestMetadata("inOtherFile.kt") @TestMetadata("inOtherFile.kt")
public void testInOtherFile() throws Exception { public void testInOtherFile() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inOtherFile.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inOtherFile.kt");
} }
@Test @Test
@TestMetadata("intersectionOverride.kt") @TestMetadata("intersectionOverride.kt")
public void testIntersectionOverride() throws Exception { public void testIntersectionOverride() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/intersectionOverride.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride.kt");
} }
@Test @Test
@TestMetadata("intersectionOverride2.kt") @TestMetadata("intersectionOverride2.kt")
public void testIntersectionOverride2() throws Exception { public void testIntersectionOverride2() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/intersectionOverride2.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride2.kt");
} }
@Test @Test
@TestMetadata("javaAccessors.kt") @TestMetadata("javaAccessors.kt")
public void testJavaAccessors() throws Exception { public void testJavaAccessors() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/javaAccessors.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/javaAccessors.kt");
} }
@Test @Test
@TestMetadata("multipleInterfaces.kt") @TestMetadata("multipleInterfaces.kt")
public void testMultipleInterfaces() throws Exception { public void testMultipleInterfaces() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/multipleInterfaces.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/multipleInterfaces.kt");
} }
@Test @Test
@TestMetadata("onEnumEntry.kt") @TestMetadata("onEnumEntry.kt")
public void testOnEnumEntry() throws Exception { public void testOnEnumEntry() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/onEnumEntry.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/onEnumEntry.kt");
} }
@Test @Test
@TestMetadata("sequenceOfOverrides.kt") @TestMetadata("sequenceOfOverrides.kt")
public void testSequenceOfOverrides() throws Exception { public void testSequenceOfOverrides() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/sequenceOfOverrides.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/sequenceOfOverrides.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.symbolDeclarationRenderer;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,173 +16,173 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/declarationRenderer") @TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10RendererTestGenerated extends AbstractKtFe10RendererTest { public class KtFe10RendererTestGenerated extends AbstractKtFe10RendererTest {
@Test @Test
public void testAllFilesPresentInDeclarationRenderer() throws Exception { public void testAllFilesPresentInRenderDeclaration() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/declarationRenderer"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotation.kt") @TestMetadata("annotation.kt")
public void testAnnotation() throws Exception { public void testAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/annotation.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/annotation.kt");
} }
@Test @Test
@TestMetadata("complexTypes.kt") @TestMetadata("complexTypes.kt")
public void testComplexTypes() throws Exception { public void testComplexTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/complexTypes.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/complexTypes.kt");
} }
@Test @Test
@TestMetadata("constructorInObject.kt") @TestMetadata("constructorInObject.kt")
public void testConstructorInObject() throws Exception { public void testConstructorInObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/constructorInObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorInObject.kt");
} }
@Test @Test
@TestMetadata("constructorOfAnonymousObject.kt") @TestMetadata("constructorOfAnonymousObject.kt")
public void testConstructorOfAnonymousObject() throws Exception { public void testConstructorOfAnonymousObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/constructorOfAnonymousObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorOfAnonymousObject.kt");
} }
@Test @Test
@TestMetadata("delegates.kt") @TestMetadata("delegates.kt")
public void testDelegates() throws Exception { public void testDelegates() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/delegates.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/delegates.kt");
} }
@Test @Test
@TestMetadata("derivedClass.kt") @TestMetadata("derivedClass.kt")
public void testDerivedClass() throws Exception { public void testDerivedClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/derivedClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/derivedClass.kt");
} }
@Test @Test
@TestMetadata("emptyAnonymousObject.kt") @TestMetadata("emptyAnonymousObject.kt")
public void testEmptyAnonymousObject() throws Exception { public void testEmptyAnonymousObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/emptyAnonymousObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/emptyAnonymousObject.kt");
} }
@Test @Test
@TestMetadata("enums.kt") @TestMetadata("enums.kt")
public void testEnums() throws Exception { public void testEnums() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/enums.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums.kt");
} }
@Test @Test
@TestMetadata("enums2.kt") @TestMetadata("enums2.kt")
public void testEnums2() throws Exception { public void testEnums2() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/enums2.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums2.kt");
} }
@Test @Test
@TestMetadata("expectActual.kt") @TestMetadata("expectActual.kt")
public void testExpectActual() throws Exception { public void testExpectActual() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/expectActual.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/expectActual.kt");
} }
@Test @Test
@TestMetadata("F.kt") @TestMetadata("F.kt")
public void testF() throws Exception { public void testF() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/F.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt");
} }
@Test @Test
@TestMetadata("functionTypes.kt") @TestMetadata("functionTypes.kt")
public void testFunctionTypes() throws Exception { public void testFunctionTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/functionTypes.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt");
} }
@Test @Test
@TestMetadata("genericFunctions.kt") @TestMetadata("genericFunctions.kt")
public void testGenericFunctions() throws Exception { public void testGenericFunctions() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/genericFunctions.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericFunctions.kt");
} }
@Test @Test
@TestMetadata("genericProperty.kt") @TestMetadata("genericProperty.kt")
public void testGenericProperty() throws Exception { public void testGenericProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/genericProperty.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericProperty.kt");
} }
@Test @Test
@TestMetadata("intersectionType.kt") @TestMetadata("intersectionType.kt")
public void testIntersectionType() throws Exception { public void testIntersectionType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/intersectionType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/intersectionType.kt");
} }
@Test @Test
@TestMetadata("nestedClass.kt") @TestMetadata("nestedClass.kt")
public void testNestedClass() throws Exception { public void testNestedClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/nestedClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/nestedClass.kt");
} }
@Test @Test
@TestMetadata("NestedOfAliasedType.kt") @TestMetadata("NestedOfAliasedType.kt")
public void testNestedOfAliasedType() throws Exception { public void testNestedOfAliasedType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/NestedOfAliasedType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedOfAliasedType.kt");
} }
@Test @Test
@TestMetadata("NestedSuperType.kt") @TestMetadata("NestedSuperType.kt")
public void testNestedSuperType() throws Exception { public void testNestedSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/NestedSuperType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedSuperType.kt");
} }
@Test @Test
@TestMetadata("noPrimaryConstructor.kt") @TestMetadata("noPrimaryConstructor.kt")
public void testNoPrimaryConstructor() throws Exception { public void testNoPrimaryConstructor() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/noPrimaryConstructor.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/noPrimaryConstructor.kt");
} }
@Test @Test
@TestMetadata("simpleClass.kt") @TestMetadata("simpleClass.kt")
public void testSimpleClass() throws Exception { public void testSimpleClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleClass.kt");
} }
@Test @Test
@TestMetadata("simpleFun.kt") @TestMetadata("simpleFun.kt")
public void testSimpleFun() throws Exception { public void testSimpleFun() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleFun.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleFun.kt");
} }
@Test @Test
@TestMetadata("simpleTypeAlias.kt") @TestMetadata("simpleTypeAlias.kt")
public void testSimpleTypeAlias() throws Exception { public void testSimpleTypeAlias() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleTypeAlias.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleTypeAlias.kt");
} }
@Test @Test
@TestMetadata("typeAliasWithGeneric.kt") @TestMetadata("typeAliasWithGeneric.kt")
public void testTypeAliasWithGeneric() throws Exception { public void testTypeAliasWithGeneric() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeAliasWithGeneric.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeAliasWithGeneric.kt");
} }
@Test @Test
@TestMetadata("typeParameterVsNested.kt") @TestMetadata("typeParameterVsNested.kt")
public void testTypeParameterVsNested() throws Exception { public void testTypeParameterVsNested() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeParameterVsNested.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameterVsNested.kt");
} }
@Test @Test
@TestMetadata("typeParameters.kt") @TestMetadata("typeParameters.kt")
public void testTypeParameters() throws Exception { public void testTypeParameters() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeParameters.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameters.kt");
} }
@Test @Test
@TestMetadata("vararg.kt") @TestMetadata("vararg.kt")
public void testVararg() throws Exception { public void testVararg() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/vararg.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/vararg.kt");
} }
@Test @Test
@TestMetadata("where.kt") @TestMetadata("where.kt")
public void testWhere() throws Exception { public void testWhere() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/where.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/where.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.descriptors.test.components; package org.jetbrains.kotlin.analysis.api.descriptors.test.components.typeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,35 +16,35 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/hasCommonSubtype") @TestMetadata("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class KtFe10HasCommonSubtypeTestGenerated extends AbstractKtFe10HasCommonSubtypeTest { public class KtFe10HasCommonSubtypeTestGenerated extends AbstractKtFe10HasCommonSubtypeTest {
@Test @Test
public void testAllFilesPresentInHasCommonSubtype() throws Exception { public void testAllFilesPresentInHaveCommonSubtype() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/hasCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("collections.kt") @TestMetadata("collections.kt")
public void testCollections() throws Exception { public void testCollections() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/collections.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/collections.kt");
} }
@Test @Test
@TestMetadata("dataClasses.kt") @TestMetadata("dataClasses.kt")
public void testDataClasses() throws Exception { public void testDataClasses() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/dataClasses.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/dataClasses.kt");
} }
@Test @Test
@TestMetadata("enums.kt") @TestMetadata("enums.kt")
public void testEnums() throws Exception { public void testEnums() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/enums.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/enums.kt");
} }
@Test @Test
@TestMetadata("simple.kt") @TestMetadata("simple.kt")
public void testSimple() throws Exception { public void testSimple() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/simple.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/simple.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.callResolver;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,461 +16,461 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/analysisSession/resolveCall") @TestMetadata("analysis/analysis-api/testData/components/callResolver/resolveCall")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirResolveCallTestGenerated extends AbstractFirResolveCallTest { public class FirResolveCallTestGenerated extends AbstractFirResolveCallTest {
@Test @Test
public void testAllFilesPresentInResolveCall() throws Exception { public void testAllFilesPresentInResolveCall() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/analysisSession/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/callResolver/resolveCall"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotationEntry.kt") @TestMetadata("annotationEntry.kt")
public void testAnnotationEntry() throws Exception { public void testAnnotationEntry() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationEntry.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationEntry.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_arrayOf.kt") @TestMetadata("annotationInAnnotation_arrayOf.kt")
public void testAnnotationInAnnotation_arrayOf() throws Exception { public void testAnnotationInAnnotation_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_collectionLiteral.kt")
public void testAnnotationInAnnotation_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt")
public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_multipleAnnotations_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_multipleAnnotations_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt")
public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_noarg.kt") @TestMetadata("annotationInAnnotation_noarg.kt")
public void testAnnotationInAnnotation_noarg() throws Exception { public void testAnnotationInAnnotation_noarg() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_noarg.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_noarg.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_vararg.kt") @TestMetadata("annotationInAnnotation_vararg.kt")
public void testAnnotationInAnnotation_vararg() throws Exception { public void testAnnotationInAnnotation_vararg() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationInAnnotation_vararg.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationInAnnotation_vararg.kt");
} }
@Test @Test
@TestMetadata("annotationOnDelegate.kt") @TestMetadata("annotationOnDelegate.kt")
public void testAnnotationOnDelegate() throws Exception { public void testAnnotationOnDelegate() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnDelegate.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnDelegate.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_asT.kt") @TestMetadata("annotationOnExpression_asT.kt")
public void testAnnotationOnExpression_asT() throws Exception { public void testAnnotationOnExpression_asT() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_asT.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_asT.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_destructuring.kt") @TestMetadata("annotationOnExpression_destructuring.kt")
public void testAnnotationOnExpression_destructuring() throws Exception { public void testAnnotationOnExpression_destructuring() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_destructuring.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_destructuring.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_if.kt") @TestMetadata("annotationOnExpression_if.kt")
public void testAnnotationOnExpression_if() throws Exception { public void testAnnotationOnExpression_if() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_if.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_if.kt");
} }
@Test @Test
@TestMetadata("annotationOnExpression_whenBranch.kt") @TestMetadata("annotationOnExpression_whenBranch.kt")
public void testAnnotationOnExpression_whenBranch() throws Exception { public void testAnnotationOnExpression_whenBranch() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnExpression_whenBranch.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnExpression_whenBranch.kt");
} }
@Test @Test
@TestMetadata("annotationOnFile.kt") @TestMetadata("annotationOnFile.kt")
public void testAnnotationOnFile() throws Exception { public void testAnnotationOnFile() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnFile.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnFile.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_param.kt") @TestMetadata("annotationOnParameter_param.kt")
public void testAnnotationOnParameter_param() throws Exception { public void testAnnotationOnParameter_param() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_param.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_param.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_parameterProperty.kt") @TestMetadata("annotationOnParameter_parameterProperty.kt")
public void testAnnotationOnParameter_parameterProperty() throws Exception { public void testAnnotationOnParameter_parameterProperty() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_parameterProperty.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_parameterProperty.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_reified.kt") @TestMetadata("annotationOnParameter_reified.kt")
public void testAnnotationOnParameter_reified() throws Exception { public void testAnnotationOnParameter_reified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_reified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_reified.kt");
} }
@Test @Test
@TestMetadata("annotationOnParameter_setparam.kt") @TestMetadata("annotationOnParameter_setparam.kt")
public void testAnnotationOnParameter_setparam() throws Exception { public void testAnnotationOnParameter_setparam() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnParameter_setparam.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnParameter_setparam.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_field.kt") @TestMetadata("annotationOnProperty_field.kt")
public void testAnnotationOnProperty_field() throws Exception { public void testAnnotationOnProperty_field() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_field.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_field.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_get.kt") @TestMetadata("annotationOnProperty_get.kt")
public void testAnnotationOnProperty_get() throws Exception { public void testAnnotationOnProperty_get() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_get.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_get.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_property.kt") @TestMetadata("annotationOnProperty_property.kt")
public void testAnnotationOnProperty_property() throws Exception { public void testAnnotationOnProperty_property() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_property.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_property.kt");
} }
@Test @Test
@TestMetadata("annotationOnProperty_set.kt") @TestMetadata("annotationOnProperty_set.kt")
public void testAnnotationOnProperty_set() throws Exception { public void testAnnotationOnProperty_set() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnProperty_set.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnProperty_set.kt");
} }
@Test @Test
@TestMetadata("annotationOnReceiver.kt") @TestMetadata("annotationOnReceiver.kt")
public void testAnnotationOnReceiver() throws Exception { public void testAnnotationOnReceiver() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/annotationOnReceiver.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/annotationOnReceiver.kt");
} }
@Test @Test
@TestMetadata("arrayOfInAnnotation.kt") @TestMetadata("arrayOfInAnnotation.kt")
public void testArrayOfInAnnotation() throws Exception { public void testArrayOfInAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/arrayOfInAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/arrayOfInAnnotation.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_super.kt") @TestMetadata("delegatedConstructorCall_super.kt")
public void testDelegatedConstructorCall_super() throws Exception { public void testDelegatedConstructorCall_super() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_super.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_super.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_super_unresolved.kt") @TestMetadata("delegatedConstructorCall_super_unresolved.kt")
public void testDelegatedConstructorCall_super_unresolved() throws Exception { public void testDelegatedConstructorCall_super_unresolved() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_super_unresolved.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_super_unresolved.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_this.kt") @TestMetadata("delegatedConstructorCall_this.kt")
public void testDelegatedConstructorCall_this() throws Exception { public void testDelegatedConstructorCall_this() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_this.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_this.kt");
} }
@Test @Test
@TestMetadata("delegatedConstructorCall_this_unresolved.kt") @TestMetadata("delegatedConstructorCall_this_unresolved.kt")
public void testDelegatedConstructorCall_this_unresolved() throws Exception { public void testDelegatedConstructorCall_this_unresolved() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/delegatedConstructorCall_this_unresolved.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/delegatedConstructorCall_this_unresolved.kt");
} }
@Test @Test
@TestMetadata("enumAsAnnotationValue.kt") @TestMetadata("enumAsAnnotationValue.kt")
public void testEnumAsAnnotationValue() throws Exception { public void testEnumAsAnnotationValue() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/enumAsAnnotationValue.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/enumAsAnnotationValue.kt");
} }
@Test @Test
@TestMetadata("functionCallInTheSameFile.kt") @TestMetadata("functionCallInTheSameFile.kt")
public void testFunctionCallInTheSameFile() throws Exception { public void testFunctionCallInTheSameFile() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallInTheSameFile.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallInTheSameFile.kt");
} }
@Test @Test
@TestMetadata("functionCallWithExtensionReceiverAndTypeArgument.kt") @TestMetadata("functionCallWithExtensionReceiverAndTypeArgument.kt")
public void testFunctionCallWithExtensionReceiverAndTypeArgument() throws Exception { public void testFunctionCallWithExtensionReceiverAndTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithExtensionReceiverAndTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithExtensionReceiverAndTypeArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithLambdaArgument.kt") @TestMetadata("functionCallWithLambdaArgument.kt")
public void testFunctionCallWithLambdaArgument() throws Exception { public void testFunctionCallWithLambdaArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithLambdaArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithLambdaArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithNamedArgument.kt") @TestMetadata("functionCallWithNamedArgument.kt")
public void testFunctionCallWithNamedArgument() throws Exception { public void testFunctionCallWithNamedArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithNamedArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithNamedArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithNonTrailingLambdaArgument.kt") @TestMetadata("functionCallWithNonTrailingLambdaArgument.kt")
public void testFunctionCallWithNonTrailingLambdaArgument() throws Exception { public void testFunctionCallWithNonTrailingLambdaArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithNonTrailingLambdaArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithNonTrailingLambdaArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithSpreadArgument.kt") @TestMetadata("functionCallWithSpreadArgument.kt")
public void testFunctionCallWithSpreadArgument() throws Exception { public void testFunctionCallWithSpreadArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithSpreadArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithSpreadArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithTypeArgument.kt") @TestMetadata("functionCallWithTypeArgument.kt")
public void testFunctionCallWithTypeArgument() throws Exception { public void testFunctionCallWithTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithTypeArgument.kt");
} }
@Test @Test
@TestMetadata("functionCallWithVarargArgument.kt") @TestMetadata("functionCallWithVarargArgument.kt")
public void testFunctionCallWithVarargArgument() throws Exception { public void testFunctionCallWithVarargArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionCallWithVarargArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionCallWithVarargArgument.kt");
} }
@Test @Test
@TestMetadata("functionWithReceiverCall.kt") @TestMetadata("functionWithReceiverCall.kt")
public void testFunctionWithReceiverCall() throws Exception { public void testFunctionWithReceiverCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionWithReceiverCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionWithReceiverCall.kt");
} }
@Test @Test
@TestMetadata("functionWithReceiverSafeCall.kt") @TestMetadata("functionWithReceiverSafeCall.kt")
public void testFunctionWithReceiverSafeCall() throws Exception { public void testFunctionWithReceiverSafeCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/functionWithReceiverSafeCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/functionWithReceiverSafeCall.kt");
} }
@Test @Test
@TestMetadata("implicitConstructorDelegationCall.kt") @TestMetadata("implicitConstructorDelegationCall.kt")
public void testImplicitConstructorDelegationCall() throws Exception { public void testImplicitConstructorDelegationCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitConstructorDelegationCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitConstructorDelegationCall.kt");
} }
@Test @Test
@TestMetadata("implicitConstuctorCall.kt") @TestMetadata("implicitConstuctorCall.kt")
public void testImplicitConstuctorCall() throws Exception { public void testImplicitConstuctorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitConstuctorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitConstuctorCall.kt");
} }
@Test @Test
@TestMetadata("implicitJavaConstuctorCall.kt") @TestMetadata("implicitJavaConstuctorCall.kt")
public void testImplicitJavaConstuctorCall() throws Exception { public void testImplicitJavaConstuctorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/implicitJavaConstuctorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/implicitJavaConstuctorCall.kt");
} }
@Test @Test
@TestMetadata("indexedGet.kt") @TestMetadata("indexedGet.kt")
public void testIndexedGet() throws Exception { public void testIndexedGet() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGet.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGet.kt");
} }
@Test @Test
@TestMetadata("indexedGetWithNotEnoughArgs.kt") @TestMetadata("indexedGetWithNotEnoughArgs.kt")
public void testIndexedGetWithNotEnoughArgs() throws Exception { public void testIndexedGetWithNotEnoughArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGetWithNotEnoughArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGetWithNotEnoughArgs.kt");
} }
@Test @Test
@TestMetadata("indexedGetWithTooManyArgs.kt") @TestMetadata("indexedGetWithTooManyArgs.kt")
public void testIndexedGetWithTooManyArgs() throws Exception { public void testIndexedGetWithTooManyArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedGetWithTooManyArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedGetWithTooManyArgs.kt");
} }
@Test @Test
@TestMetadata("indexedSet.kt") @TestMetadata("indexedSet.kt")
public void testIndexedSet() throws Exception { public void testIndexedSet() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSet.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSet.kt");
} }
@Test @Test
@TestMetadata("indexedSetWithNotEnoughArgs.kt") @TestMetadata("indexedSetWithNotEnoughArgs.kt")
public void testIndexedSetWithNotEnoughArgs() throws Exception { public void testIndexedSetWithNotEnoughArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSetWithNotEnoughArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSetWithNotEnoughArgs.kt");
} }
@Test @Test
@TestMetadata("indexedSetWithTooManyArgs.kt") @TestMetadata("indexedSetWithTooManyArgs.kt")
public void testIndexedSetWithTooManyArgs() throws Exception { public void testIndexedSetWithTooManyArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/indexedSetWithTooManyArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/indexedSetWithTooManyArgs.kt");
} }
@Test @Test
@TestMetadata("intArrayOfInAnnotation.kt") @TestMetadata("intArrayOfInAnnotation.kt")
public void testIntArrayOfInAnnotation() throws Exception { public void testIntArrayOfInAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/intArrayOfInAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/intArrayOfInAnnotation.kt");
} }
@Test @Test
@TestMetadata("javaFunctionCall.kt") @TestMetadata("javaFunctionCall.kt")
public void testJavaFunctionCall() throws Exception { public void testJavaFunctionCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaFunctionCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaFunctionCall.kt");
} }
@Test @Test
@TestMetadata("javaPropertyGetter.kt") @TestMetadata("javaPropertyGetter.kt")
public void testJavaPropertyGetter() throws Exception { public void testJavaPropertyGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertyGetter_unqualified.kt") @TestMetadata("javaPropertyGetter_unqualified.kt")
public void testJavaPropertyGetter_unqualified() throws Exception { public void testJavaPropertyGetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyGetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("javaPropertyNestedGetter.kt") @TestMetadata("javaPropertyNestedGetter.kt")
public void testJavaPropertyNestedGetter() throws Exception { public void testJavaPropertyNestedGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertyNestedGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyNestedGetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetter.kt") @TestMetadata("javaPropertySetter.kt")
public void testJavaPropertySetter() throws Exception { public void testJavaPropertySetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetterIncomplete.kt") @TestMetadata("javaPropertySetterIncomplete.kt")
public void testJavaPropertySetterIncomplete() throws Exception { public void testJavaPropertySetterIncomplete() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetterIncomplete.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetterIncomplete.kt");
} }
@Test @Test
@TestMetadata("javaPropertySetter_unqualified.kt") @TestMetadata("javaPropertySetter_unqualified.kt")
public void testJavaPropertySetter_unqualified() throws Exception { public void testJavaPropertySetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyGetter.kt") @TestMetadata("kotlinPropertyGetter.kt")
public void testKotlinPropertyGetter() throws Exception { public void testKotlinPropertyGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyGetter_unqualified.kt") @TestMetadata("kotlinPropertyGetter_unqualified.kt")
public void testKotlinPropertyGetter_unqualified() throws Exception { public void testKotlinPropertyGetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyGetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertyNestedGetter.kt") @TestMetadata("kotlinPropertyNestedGetter.kt")
public void testKotlinPropertyNestedGetter() throws Exception { public void testKotlinPropertyNestedGetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertyNestedGetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyNestedGetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertySetter.kt") @TestMetadata("kotlinPropertySetter.kt")
public void testKotlinPropertySetter() throws Exception { public void testKotlinPropertySetter() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertySetter.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter.kt");
} }
@Test @Test
@TestMetadata("kotlinPropertySetter_unqualified.kt") @TestMetadata("kotlinPropertySetter_unqualified.kt")
public void testKotlinPropertySetter_unqualified() throws Exception { public void testKotlinPropertySetter_unqualified() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/kotlinPropertySetter_unqualified.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.kt");
} }
@Test @Test
@TestMetadata("memberFunctionCallWithTypeArgument.kt") @TestMetadata("memberFunctionCallWithTypeArgument.kt")
public void testMemberFunctionCallWithTypeArgument() throws Exception { public void testMemberFunctionCallWithTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/memberFunctionCallWithTypeArgument.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/memberFunctionCallWithTypeArgument.kt");
} }
@Test @Test
@TestMetadata("resolveCallInSuperConstructorParam.kt") @TestMetadata("resolveCallInSuperConstructorParam.kt")
public void testResolveCallInSuperConstructorParam() throws Exception { public void testResolveCallInSuperConstructorParam() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/resolveCallInSuperConstructorParam.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/resolveCallInSuperConstructorParam.kt");
} }
@Test @Test
@TestMetadata("samConstructorCall.kt") @TestMetadata("samConstructorCall.kt")
public void testSamConstructorCall() throws Exception { public void testSamConstructorCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/samConstructorCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/samConstructorCall.kt");
} }
@Test @Test
@TestMetadata("simpleCallWithNonMatchingArgs.kt") @TestMetadata("simpleCallWithNonMatchingArgs.kt")
public void testSimpleCallWithNonMatchingArgs() throws Exception { public void testSimpleCallWithNonMatchingArgs() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/simpleCallWithNonMatchingArgs.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/simpleCallWithNonMatchingArgs.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuperReference.kt") @TestMetadata("unresolvedSuperReference.kt")
public void testUnresolvedSuperReference() throws Exception { public void testUnresolvedSuperReference() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/unresolvedSuperReference.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/unresolvedSuperReference.kt");
} }
@Test @Test
@TestMetadata("variableAsFunction.kt") @TestMetadata("variableAsFunction.kt")
public void testVariableAsFunction() throws Exception { public void testVariableAsFunction() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunction.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunction.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionLikeCall.kt") @TestMetadata("variableAsFunctionLikeCall.kt")
public void testVariableAsFunctionLikeCall() throws Exception { public void testVariableAsFunctionLikeCall() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionLikeCall.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionLikeCall.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterName.kt") @TestMetadata("variableAsFunctionWithParameterName.kt")
public void testVariableAsFunctionWithParameterName() throws Exception { public void testVariableAsFunctionWithParameterName() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterName.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterName.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameAnnotation.kt") @TestMetadata("variableAsFunctionWithParameterNameAnnotation.kt")
public void testVariableAsFunctionWithParameterNameAnnotation() throws Exception { public void testVariableAsFunctionWithParameterNameAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameAnnotation.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameAnnotation.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameAnnotationConflict.kt") @TestMetadata("variableAsFunctionWithParameterNameAnnotationConflict.kt")
public void testVariableAsFunctionWithParameterNameAnnotationConflict() throws Exception { public void testVariableAsFunctionWithParameterNameAnnotationConflict() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameAnnotationConflict.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameAnnotationConflict.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameGeneric.kt") @TestMetadata("variableAsFunctionWithParameterNameGeneric.kt")
public void testVariableAsFunctionWithParameterNameGeneric() throws Exception { public void testVariableAsFunctionWithParameterNameGeneric() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameGeneric.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameGeneric.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameInNonFunctionType.kt") @TestMetadata("variableAsFunctionWithParameterNameInNonFunctionType.kt")
public void testVariableAsFunctionWithParameterNameInNonFunctionType() throws Exception { public void testVariableAsFunctionWithParameterNameInNonFunctionType() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameInNonFunctionType.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameInNonFunctionType.kt");
} }
@Test @Test
@TestMetadata("variableAsFunctionWithParameterNameMixed.kt") @TestMetadata("variableAsFunctionWithParameterNameMixed.kt")
public void testVariableAsFunctionWithParameterNameMixed() throws Exception { public void testVariableAsFunctionWithParameterNameMixed() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableAsFunctionWithParameterNameMixed.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameMixed.kt");
} }
@Test @Test
@TestMetadata("variableWithExtensionInvoke.kt") @TestMetadata("variableWithExtensionInvoke.kt")
public void testVariableWithExtensionInvoke() throws Exception { public void testVariableWithExtensionInvoke() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableWithExtensionInvoke.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableWithExtensionInvoke.kt");
} }
@Test @Test
@TestMetadata("variableWithMemberInvoke.kt") @TestMetadata("variableWithMemberInvoke.kt")
public void testVariableWithMemberInvoke() throws Exception { public void testVariableWithMemberInvoke() throws Exception {
runTest("analysis/analysis-api/testData/analysisSession/resolveCall/variableWithMemberInvoke.kt"); runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/variableWithMemberInvoke.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.compileTimeConstantProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,107 +16,107 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantEvaluator") @TestMetadata("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirCompileTimeConstantEvaluatorTestGenerated extends AbstractFirCompileTimeConstantEvaluatorTest { public class FirCompileTimeConstantEvaluatorTestGenerated extends AbstractFirCompileTimeConstantEvaluatorTest {
@Test @Test
public void testAllFilesPresentInCompileTimeConstantEvaluator() throws Exception { public void testAllFilesPresentInEvaluate() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotationInAnnotation_arrayOf.kt") @TestMetadata("annotationInAnnotation_arrayOf.kt")
public void testAnnotationInAnnotation_arrayOf() throws Exception { public void testAnnotationInAnnotation_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_collectionLiteral.kt")
public void testAnnotationInAnnotation_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_collectionLiteral_spread.kt") @TestMetadata("annotationInAnnotation_collectionLiteral_spread.kt")
public void testAnnotationInAnnotation_collectionLiteral_spread() throws Exception { public void testAnnotationInAnnotation_collectionLiteral_spread() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_collectionLiteral_spread.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_collectionLiteral_spread.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_arrayOf.kt")
public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_arrayOf() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_multipleAnnotations_arrayOf.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_multipleAnnotations_arrayOf.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt") @TestMetadata("annotationInAnnotation_multipleAnnotations_collectionLiteral.kt")
public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception { public void testAnnotationInAnnotation_multipleAnnotations_collectionLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_multipleAnnotations_collectionLiteral.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_single.kt") @TestMetadata("annotationInAnnotation_single.kt")
public void testAnnotationInAnnotation_single() throws Exception { public void testAnnotationInAnnotation_single() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_single.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_single.kt");
} }
@Test @Test
@TestMetadata("annotationInAnnotation_vararg.kt") @TestMetadata("annotationInAnnotation_vararg.kt")
public void testAnnotationInAnnotation_vararg() throws Exception { public void testAnnotationInAnnotation_vararg() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/annotationInAnnotation_vararg.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/annotationInAnnotation_vararg.kt");
} }
@Test @Test
@TestMetadata("enumAsAnnotationValue.kt") @TestMetadata("enumAsAnnotationValue.kt")
public void testEnumAsAnnotationValue() throws Exception { public void testEnumAsAnnotationValue() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/enumAsAnnotationValue.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/enumAsAnnotationValue.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Byte.kt") @TestMetadata("propertyInit_Byte.kt")
public void testPropertyInit_Byte() throws Exception { public void testPropertyInit_Byte() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Byte.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Byte.kt");
} }
@Test @Test
@TestMetadata("propertyInit_DivByZero.kt") @TestMetadata("propertyInit_DivByZero.kt")
public void testPropertyInit_DivByZero() throws Exception { public void testPropertyInit_DivByZero() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_DivByZero.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Double.kt") @TestMetadata("propertyInit_Double.kt")
public void testPropertyInit_Double() throws Exception { public void testPropertyInit_Double() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Double.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Double.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Float.kt") @TestMetadata("propertyInit_Float.kt")
public void testPropertyInit_Float() throws Exception { public void testPropertyInit_Float() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Float.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Float.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Int.kt") @TestMetadata("propertyInit_Int.kt")
public void testPropertyInit_Int() throws Exception { public void testPropertyInit_Int() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Int.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Int.kt");
} }
@Test @Test
@TestMetadata("propertyInit_Long.kt") @TestMetadata("propertyInit_Long.kt")
public void testPropertyInit_Long() throws Exception { public void testPropertyInit_Long() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_Long.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_Long.kt");
} }
@Test @Test
@TestMetadata("propertyInit_UInt.kt") @TestMetadata("propertyInit_UInt.kt")
public void testPropertyInit_UInt() throws Exception { public void testPropertyInit_UInt() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/propertyInit_UInt.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.kt");
} }
@Test @Test
@TestMetadata("stringLiteral.kt") @TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception { public void testStringLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/compileTimeConstantEvaluator/stringLiteral.kt"); runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/stringLiteral.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.expressionInfoProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,95 +16,95 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/whenMissingCases") @TestMetadata("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirWhenMissingCasesTestGenerated extends AbstractFirWhenMissingCasesTest { public class FirWhenMissingCasesTestGenerated extends AbstractFirWhenMissingCasesTest {
@Test @Test
public void testAllFilesPresentInWhenMissingCases() throws Exception { public void testAllFilesPresentInWhenMissingCases() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("boolean_else.kt") @TestMetadata("boolean_else.kt")
public void testBoolean_else() throws Exception { public void testBoolean_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_else.kt");
} }
@Test @Test
@TestMetadata("boolean_empty.kt") @TestMetadata("boolean_empty.kt")
public void testBoolean_empty() throws Exception { public void testBoolean_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_empty.kt");
} }
@Test @Test
@TestMetadata("boolean_partial.kt") @TestMetadata("boolean_partial.kt")
public void testBoolean_partial() throws Exception { public void testBoolean_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/boolean_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/boolean_partial.kt");
} }
@Test @Test
@TestMetadata("enum_else.kt") @TestMetadata("enum_else.kt")
public void testEnum_else() throws Exception { public void testEnum_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_else.kt");
} }
@Test @Test
@TestMetadata("enum_empty.kt") @TestMetadata("enum_empty.kt")
public void testEnum_empty() throws Exception { public void testEnum_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_empty.kt");
} }
@Test @Test
@TestMetadata("enum_partial.kt") @TestMetadata("enum_partial.kt")
public void testEnum_partial() throws Exception { public void testEnum_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/enum_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/enum_partial.kt");
} }
@Test @Test
@TestMetadata("nothing.kt") @TestMetadata("nothing.kt")
public void testNothing() throws Exception { public void testNothing() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nothing.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nothing.kt");
} }
@Test @Test
@TestMetadata("nullableBoolean.kt") @TestMetadata("nullableBoolean.kt")
public void testNullableBoolean() throws Exception { public void testNullableBoolean() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableBoolean.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableBoolean.kt");
} }
@Test @Test
@TestMetadata("nullableEnum.kt") @TestMetadata("nullableEnum.kt")
public void testNullableEnum() throws Exception { public void testNullableEnum() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableEnum.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableEnum.kt");
} }
@Test @Test
@TestMetadata("nullableNothing.kt") @TestMetadata("nullableNothing.kt")
public void testNullableNothing() throws Exception { public void testNullableNothing() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableNothing.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableNothing.kt");
} }
@Test @Test
@TestMetadata("nullableSealedClass_empty.kt") @TestMetadata("nullableSealedClass_empty.kt")
public void testNullableSealedClass_empty() throws Exception { public void testNullableSealedClass_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/nullableSealedClass_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/nullableSealedClass_empty.kt");
} }
@Test @Test
@TestMetadata("sealedClass_else.kt") @TestMetadata("sealedClass_else.kt")
public void testSealedClass_else() throws Exception { public void testSealedClass_else() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_else.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_else.kt");
} }
@Test @Test
@TestMetadata("sealedClass_empty.kt") @TestMetadata("sealedClass_empty.kt")
public void testSealedClass_empty() throws Exception { public void testSealedClass_empty() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_empty.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_empty.kt");
} }
@Test @Test
@TestMetadata("sealedClass_partial.kt") @TestMetadata("sealedClass_partial.kt")
public void testSealedClass_partial() throws Exception { public void testSealedClass_partial() throws Exception {
runTest("analysis/analysis-api/testData/components/whenMissingCases/sealedClass_partial.kt"); runTest("analysis/analysis-api/testData/components/expressionInfoProvider/whenMissingCases/sealedClass_partial.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.expressionTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,233 +16,233 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/expectedExpressionType") @TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirExpectedExpressionTypeTestGenerated extends AbstractFirExpectedExpressionTypeTest { public class FirExpectedExpressionTypeTestGenerated extends AbstractFirExpectedExpressionTypeTest {
@Test @Test
public void testAllFilesPresentInExpectedExpressionType() throws Exception { public void testAllFilesPresentInExpectedExpressionType() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("functionExpressionBody.kt") @TestMetadata("functionExpressionBody.kt")
public void testFunctionExpressionBody() throws Exception { public void testFunctionExpressionBody() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBody.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyBlockExpression.kt") @TestMetadata("functionExpressionBodyBlockExpression.kt")
public void testFunctionExpressionBodyBlockExpression() throws Exception { public void testFunctionExpressionBodyBlockExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyBlockExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyBlockExpression.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyQualified.kt") @TestMetadata("functionExpressionBodyQualified.kt")
public void testFunctionExpressionBodyQualified() throws Exception { public void testFunctionExpressionBodyQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyWithTypeFromRHS.kt") @TestMetadata("functionExpressionBodyWithTypeFromRHS.kt")
public void testFunctionExpressionBodyWithTypeFromRHS() throws Exception { public void testFunctionExpressionBodyWithTypeFromRHS() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.kt");
} }
@Test @Test
@TestMetadata("functionExpressionBodyWithoutExplicitType.kt") @TestMetadata("functionExpressionBodyWithoutExplicitType.kt")
public void testFunctionExpressionBodyWithoutExplicitType() throws Exception { public void testFunctionExpressionBodyWithoutExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.kt");
} }
@Test @Test
@TestMetadata("functionLambdaParam.kt") @TestMetadata("functionLambdaParam.kt")
public void testFunctionLambdaParam() throws Exception { public void testFunctionLambdaParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionLambdaParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.kt");
} }
@Test @Test
@TestMetadata("functionNamedlParam.kt") @TestMetadata("functionNamedlParam.kt")
public void testFunctionNamedlParam() throws Exception { public void testFunctionNamedlParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionNamedlParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.kt");
} }
@Test @Test
@TestMetadata("functionParamWithTypeParam.kt") @TestMetadata("functionParamWithTypeParam.kt")
public void testFunctionParamWithTypeParam() throws Exception { public void testFunctionParamWithTypeParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionParamWithTypeParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.kt");
} }
@Test @Test
@TestMetadata("functionPositionalParam.kt") @TestMetadata("functionPositionalParam.kt")
public void testFunctionPositionalParam() throws Exception { public void testFunctionPositionalParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionPositionalParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.kt");
} }
@Test @Test
@TestMetadata("functionPositionalParamQualified.kt") @TestMetadata("functionPositionalParamQualified.kt")
public void testFunctionPositionalParamQualified() throws Exception { public void testFunctionPositionalParamQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/functionPositionalParamQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.kt");
} }
@Test @Test
@TestMetadata("ifCondition.kt") @TestMetadata("ifCondition.kt")
public void testIfCondition() throws Exception { public void testIfCondition() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/ifCondition.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.kt");
} }
@Test @Test
@TestMetadata("ifConditionQualified.kt") @TestMetadata("ifConditionQualified.kt")
public void testIfConditionQualified() throws Exception { public void testIfConditionQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/ifConditionQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.kt");
} }
@Test @Test
@TestMetadata("infixFunctionAsRegularCallParam.kt") @TestMetadata("infixFunctionAsRegularCallParam.kt")
public void testInfixFunctionAsRegularCallParam() throws Exception { public void testInfixFunctionAsRegularCallParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionAsRegularCallParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.kt");
} }
@Test @Test
@TestMetadata("infixFunctionParam.kt") @TestMetadata("infixFunctionParam.kt")
public void testInfixFunctionParam() throws Exception { public void testInfixFunctionParam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionParam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.kt");
} }
@Test @Test
@TestMetadata("infixFunctionParamQualified.kt") @TestMetadata("infixFunctionParamQualified.kt")
public void testInfixFunctionParamQualified() throws Exception { public void testInfixFunctionParamQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/infixFunctionParamQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.kt");
} }
@Test @Test
@TestMetadata("lambdaWithExplicitTypeFromVariable.kt") @TestMetadata("lambdaWithExplicitTypeFromVariable.kt")
public void testLambdaWithExplicitTypeFromVariable() throws Exception { public void testLambdaWithExplicitTypeFromVariable() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.kt");
} }
@Test @Test
@TestMetadata("lambdaWithoutReturnNorExplicitType.kt") @TestMetadata("lambdaWithoutReturnNorExplicitType.kt")
public void testLambdaWithoutReturnNorExplicitType() throws Exception { public void testLambdaWithoutReturnNorExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.kt");
} }
@Test @Test
@TestMetadata("propertyDeclaration.kt") @TestMetadata("propertyDeclaration.kt")
public void testPropertyDeclaration() throws Exception { public void testPropertyDeclaration() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclaration.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationQualified.kt") @TestMetadata("propertyDeclarationQualified.kt")
public void testPropertyDeclarationQualified() throws Exception { public void testPropertyDeclarationQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithSafeCast.kt") @TestMetadata("propertyDeclarationWithSafeCast.kt")
public void testPropertyDeclarationWithSafeCast() throws Exception { public void testPropertyDeclarationWithSafeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithSafeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithTypeCast.kt") @TestMetadata("propertyDeclarationWithTypeCast.kt")
public void testPropertyDeclarationWithTypeCast() throws Exception { public void testPropertyDeclarationWithTypeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithTypeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithTypeFromRHS.kt") @TestMetadata("propertyDeclarationWithTypeFromRHS.kt")
public void testPropertyDeclarationWithTypeFromRHS() throws Exception { public void testPropertyDeclarationWithTypeFromRHS() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.kt");
} }
@Test @Test
@TestMetadata("propertyDeclarationWithoutExplicitType.kt") @TestMetadata("propertyDeclarationWithoutExplicitType.kt")
public void testPropertyDeclarationWithoutExplicitType() throws Exception { public void testPropertyDeclarationWithoutExplicitType() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.kt");
} }
@Test @Test
@TestMetadata("returnFromFunction.kt") @TestMetadata("returnFromFunction.kt")
public void testReturnFromFunction() throws Exception { public void testReturnFromFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunction.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.kt");
} }
@Test @Test
@TestMetadata("returnFromFunctionQualifiedReceiver.kt") @TestMetadata("returnFromFunctionQualifiedReceiver.kt")
public void testReturnFromFunctionQualifiedReceiver() throws Exception { public void testReturnFromFunctionQualifiedReceiver() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedReceiver.kt");
} }
@Test @Test
@TestMetadata("returnFromFunctionQualifiedSelector.kt") @TestMetadata("returnFromFunctionQualifiedSelector.kt")
public void testReturnFromFunctionQualifiedSelector() throws Exception { public void testReturnFromFunctionQualifiedSelector() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromFunctionQualifiedSelector.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.kt");
} }
@Test @Test
@TestMetadata("returnFromLambda.kt") @TestMetadata("returnFromLambda.kt")
public void testReturnFromLambda() throws Exception { public void testReturnFromLambda() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/returnFromLambda.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.kt");
} }
@Test @Test
@TestMetadata("sam.kt") @TestMetadata("sam.kt")
public void testSam() throws Exception { public void testSam() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/sam.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.kt");
} }
@Test @Test
@TestMetadata("samAsArgument.kt") @TestMetadata("samAsArgument.kt")
public void testSamAsArgument() throws Exception { public void testSamAsArgument() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsArgument.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.kt");
} }
@Test @Test
@TestMetadata("samAsConstructorArgument.kt") @TestMetadata("samAsConstructorArgument.kt")
public void testSamAsConstructorArgument() throws Exception { public void testSamAsConstructorArgument() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsConstructorArgument.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.kt");
} }
@Test @Test
@TestMetadata("samAsReturn.kt") @TestMetadata("samAsReturn.kt")
public void testSamAsReturn() throws Exception { public void testSamAsReturn() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samAsReturn.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.kt");
} }
@Test @Test
@TestMetadata("samWithExplicitTypeFromProperty.kt") @TestMetadata("samWithExplicitTypeFromProperty.kt")
public void testSamWithExplicitTypeFromProperty() throws Exception { public void testSamWithExplicitTypeFromProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samWithExplicitTypeFromProperty.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.kt");
} }
@Test @Test
@TestMetadata("samWithTypeCast.kt") @TestMetadata("samWithTypeCast.kt")
public void testSamWithTypeCast() throws Exception { public void testSamWithTypeCast() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/samWithTypeCast.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.kt");
} }
@Test @Test
@TestMetadata("variableAssignment.kt") @TestMetadata("variableAssignment.kt")
public void testVariableAssignment() throws Exception { public void testVariableAssignment() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/variableAssignment.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.kt");
} }
@Test @Test
@TestMetadata("variableAssignmentQualified.kt") @TestMetadata("variableAssignmentQualified.kt")
public void testVariableAssignmentQualified() throws Exception { public void testVariableAssignmentQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/variableAssignmentQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.kt");
} }
@Test @Test
@TestMetadata("whileCondition.kt") @TestMetadata("whileCondition.kt")
public void testWhileCondition() throws Exception { public void testWhileCondition() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/whileCondition.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.kt");
} }
@Test @Test
@TestMetadata("whileConditionQualified.kt") @TestMetadata("whileConditionQualified.kt")
public void testWhileConditionQualified() throws Exception { public void testWhileConditionQualified() throws Exception {
runTest("analysis/analysis-api/testData/components/expectedExpressionType/whileConditionQualified.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.expressionTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,155 +16,155 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/expressionType") @TestMetadata("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirHLExpressionTypeTestGenerated extends AbstractFirHLExpressionTypeTest { public class FirHLExpressionTypeTestGenerated extends AbstractFirHLExpressionTypeTest {
@Test @Test
public void testAllFilesPresentInExpressionType() throws Exception { public void testAllFilesPresentInExpressionType() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("arrayElement_arrayOfNulls.kt") @TestMetadata("arrayElement_arrayOfNulls.kt")
public void testArrayElement_arrayOfNulls() throws Exception { public void testArrayElement_arrayOfNulls() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/arrayElement_arrayOfNulls.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/arrayElement_arrayOfNulls.kt");
} }
@Test @Test
@TestMetadata("array_arrayOfNulls.kt") @TestMetadata("array_arrayOfNulls.kt")
public void testArray_arrayOfNulls() throws Exception { public void testArray_arrayOfNulls() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/array_arrayOfNulls.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/array_arrayOfNulls.kt");
} }
@Test @Test
@TestMetadata("assignmentExpressionTarget.kt") @TestMetadata("assignmentExpressionTarget.kt")
public void testAssignmentExpressionTarget() throws Exception { public void testAssignmentExpressionTarget() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/assignmentExpressionTarget.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignmentExpressionTarget.kt");
} }
@Test @Test
@TestMetadata("binaryExpression.kt") @TestMetadata("binaryExpression.kt")
public void testBinaryExpression() throws Exception { public void testBinaryExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/binaryExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/binaryExpression.kt");
} }
@Test @Test
@TestMetadata("breakExpression.kt") @TestMetadata("breakExpression.kt")
public void testBreakExpression() throws Exception { public void testBreakExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/breakExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/breakExpression.kt");
} }
@Test @Test
@TestMetadata("forExpression.kt") @TestMetadata("forExpression.kt")
public void testForExpression() throws Exception { public void testForExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/forExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/forExpression.kt");
} }
@Test @Test
@TestMetadata("functionCall.kt") @TestMetadata("functionCall.kt")
public void testFunctionCall() throws Exception { public void testFunctionCall() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/functionCall.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/functionCall.kt");
} }
@Test @Test
@TestMetadata("inParens.kt") @TestMetadata("inParens.kt")
public void testInParens() throws Exception { public void testInParens() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/inParens.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/inParens.kt");
} }
@Test @Test
@TestMetadata("insideStringTemplate.kt") @TestMetadata("insideStringTemplate.kt")
public void testInsideStringTemplate() throws Exception { public void testInsideStringTemplate() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/insideStringTemplate.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplate.kt");
} }
@Test @Test
@TestMetadata("insideStringTemplateWithBinrary.kt") @TestMetadata("insideStringTemplateWithBinrary.kt")
public void testInsideStringTemplateWithBinrary() throws Exception { public void testInsideStringTemplateWithBinrary() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/insideStringTemplateWithBinrary.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/insideStringTemplateWithBinrary.kt");
} }
@Test @Test
@TestMetadata("intLiteral.kt") @TestMetadata("intLiteral.kt")
public void testIntLiteral() throws Exception { public void testIntLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/intLiteral.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/intLiteral.kt");
} }
@Test @Test
@TestMetadata("listElement_listOf.kt") @TestMetadata("listElement_listOf.kt")
public void testListElement_listOf() throws Exception { public void testListElement_listOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/listElement_listOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_listOf.kt");
} }
@Test @Test
@TestMetadata("listElement_mutableListOf.kt") @TestMetadata("listElement_mutableListOf.kt")
public void testListElement_mutableListOf() throws Exception { public void testListElement_mutableListOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/listElement_mutableListOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/listElement_mutableListOf.kt");
} }
@Test @Test
@TestMetadata("list_listOf.kt") @TestMetadata("list_listOf.kt")
public void testList_listOf() throws Exception { public void testList_listOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/list_listOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_listOf.kt");
} }
@Test @Test
@TestMetadata("list_mutableListOf.kt") @TestMetadata("list_mutableListOf.kt")
public void testList_mutableListOf() throws Exception { public void testList_mutableListOf() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/list_mutableListOf.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/list_mutableListOf.kt");
} }
@Test @Test
@TestMetadata("nonExpression.kt") @TestMetadata("nonExpression.kt")
public void testNonExpression() throws Exception { public void testNonExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/nonExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nonExpression.kt");
} }
@Test @Test
@TestMetadata("property.kt") @TestMetadata("property.kt")
public void testProperty() throws Exception { public void testProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/property.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/property.kt");
} }
@Test @Test
@TestMetadata("resolvedSuper.kt") @TestMetadata("resolvedSuper.kt")
public void testResolvedSuper() throws Exception { public void testResolvedSuper() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/resolvedSuper.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/resolvedSuper.kt");
} }
@Test @Test
@TestMetadata("returnExpression.kt") @TestMetadata("returnExpression.kt")
public void testReturnExpression() throws Exception { public void testReturnExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/returnExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/returnExpression.kt");
} }
@Test @Test
@TestMetadata("stringLiteral.kt") @TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception { public void testStringLiteral() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/stringLiteral.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/stringLiteral.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_multipleSuperTypes.kt") @TestMetadata("unresolvedSuper_multipleSuperTypes.kt")
public void testUnresolvedSuper_multipleSuperTypes() throws Exception { public void testUnresolvedSuper_multipleSuperTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_multipleSuperTypes.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_multipleSuperTypes.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_noSuperType.kt") @TestMetadata("unresolvedSuper_noSuperType.kt")
public void testUnresolvedSuper_noSuperType() throws Exception { public void testUnresolvedSuper_noSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_noSuperType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_noSuperType.kt");
} }
@Test @Test
@TestMetadata("unresolvedSuper_singleSuperType.kt") @TestMetadata("unresolvedSuper_singleSuperType.kt")
public void testUnresolvedSuper_singleSuperType() throws Exception { public void testUnresolvedSuper_singleSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/unresolvedSuper_singleSuperType.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/unresolvedSuper_singleSuperType.kt");
} }
@Test @Test
@TestMetadata("whileExpression.kt") @TestMetadata("whileExpression.kt")
public void testWhileExpression() throws Exception { public void testWhileExpression() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionType/whileExpression.kt"); runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/whileExpression.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.importOptimizer;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,111 +16,111 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer") @TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class HLImportOptimizerTestGenerated extends AbstractHLImportOptimizerTest { public class HLImportOptimizerTestGenerated extends AbstractHLImportOptimizerTest {
@Test @Test
public void testAllFilesPresentInImportOptimizer() throws Exception { public void testAllFilesPresentInAnalyseImports() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer"), Pattern.compile("^([^.]+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("unusedAliasedTypeImport.kt") @TestMetadata("unusedAliasedTypeImport.kt")
public void testUnusedAliasedTypeImport() throws Exception { public void testUnusedAliasedTypeImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/unusedAliasedTypeImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedAliasedTypeImport.kt");
} }
@Test @Test
@TestMetadata("unusedFunctionImports.kt") @TestMetadata("unusedFunctionImports.kt")
public void testUnusedFunctionImports() throws Exception { public void testUnusedFunctionImports() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/unusedFunctionImports.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedFunctionImports.kt");
} }
@Test @Test
@TestMetadata("unusedInvokeOperatorImport.kt") @TestMetadata("unusedInvokeOperatorImport.kt")
public void testUnusedInvokeOperatorImport() throws Exception { public void testUnusedInvokeOperatorImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/unusedInvokeOperatorImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/unusedInvokeOperatorImport.kt");
} }
@Test @Test
@TestMetadata("usedAliasedFunctionReference.kt") @TestMetadata("usedAliasedFunctionReference.kt")
public void testUsedAliasedFunctionReference() throws Exception { public void testUsedAliasedFunctionReference() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedAliasedFunctionReference.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedFunctionReference.kt");
} }
@Test @Test
@TestMetadata("usedAliasedTypeImport.kt") @TestMetadata("usedAliasedTypeImport.kt")
public void testUsedAliasedTypeImport() throws Exception { public void testUsedAliasedTypeImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedAliasedTypeImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedAliasedTypeImport.kt");
} }
@Test @Test
@TestMetadata("usedFunctionImport.kt") @TestMetadata("usedFunctionImport.kt")
public void testUsedFunctionImport() throws Exception { public void testUsedFunctionImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedFunctionImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedFunctionImport.kt");
} }
@Test @Test
@TestMetadata("usedInvokeOperatorAliasedImport.kt") @TestMetadata("usedInvokeOperatorAliasedImport.kt")
public void testUsedInvokeOperatorAliasedImport() throws Exception { public void testUsedInvokeOperatorAliasedImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedInvokeOperatorAliasedImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorAliasedImport.kt");
} }
@Test @Test
@TestMetadata("usedInvokeOperatorExplicitImport.kt") @TestMetadata("usedInvokeOperatorExplicitImport.kt")
public void testUsedInvokeOperatorExplicitImport() throws Exception { public void testUsedInvokeOperatorExplicitImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedInvokeOperatorExplicitImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorExplicitImport.kt");
} }
@Test @Test
@TestMetadata("usedInvokeOperatorImport.kt") @TestMetadata("usedInvokeOperatorImport.kt")
public void testUsedInvokeOperatorImport() throws Exception { public void testUsedInvokeOperatorImport() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/usedInvokeOperatorImport.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/usedInvokeOperatorImport.kt");
} }
@Nested @Nested
@TestMetadata("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors") @TestMetadata("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class ReferencesWithErrors { public class ReferencesWithErrors {
@Test @Test
public void testAllFilesPresentInReferencesWithErrors() throws Exception { public void testAllFilesPresentInReferencesWithErrors() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors"), Pattern.compile("^([^.]+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("usedConstructor_invalidArguments.kt") @TestMetadata("usedConstructor_invalidArguments.kt")
public void testUsedConstructor_invalidArguments() throws Exception { public void testUsedConstructor_invalidArguments() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedConstructor_invalidArguments.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_invalidArguments.kt");
} }
@Test @Test
@TestMetadata("usedConstructor_missingCall.kt") @TestMetadata("usedConstructor_missingCall.kt")
public void testUsedConstructor_missingCall() throws Exception { public void testUsedConstructor_missingCall() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedConstructor_missingCall.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedConstructor_missingCall.kt");
} }
@Test @Test
@TestMetadata("usedExtensionFunction_invalidArguments.kt") @TestMetadata("usedExtensionFunction_invalidArguments.kt")
public void testUsedExtensionFunction_invalidArguments() throws Exception { public void testUsedExtensionFunction_invalidArguments() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedExtensionFunction_invalidArguments.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionFunction_invalidArguments.kt");
} }
@Test @Test
@TestMetadata("usedExtensionProperty_invalidReceiver.kt") @TestMetadata("usedExtensionProperty_invalidReceiver.kt")
public void testUsedExtensionProperty_invalidReceiver() throws Exception { public void testUsedExtensionProperty_invalidReceiver() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedExtensionProperty_invalidReceiver.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedExtensionProperty_invalidReceiver.kt");
} }
@Test @Test
@TestMetadata("usedInvokeOperator_invalidArguments.kt") @TestMetadata("usedInvokeOperator_invalidArguments.kt")
public void testUsedInvokeOperator_invalidArguments() throws Exception { public void testUsedInvokeOperator_invalidArguments() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedInvokeOperator_invalidArguments.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedInvokeOperator_invalidArguments.kt");
} }
@Test @Test
@TestMetadata("usedTypeImport_missingGeneric.kt") @TestMetadata("usedTypeImport_missingGeneric.kt")
public void testUsedTypeImport_missingGeneric() throws Exception { public void testUsedTypeImport_missingGeneric() throws Exception {
runTest("analysis/analysis-api/testData/components/importOptimizer/referencesWithErrors/usedTypeImport_missingGeneric.kt"); runTest("analysis/analysis-api/testData/components/importOptimizer/analyseImports/referencesWithErrors/usedTypeImport_missingGeneric.kt");
} }
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.psiTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,17 +16,17 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/expressionPsiType") @TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class ExpressionPsiTypeProviderTestGenerated extends AbstractExpressionPsiTypeProviderTest { public class ExpressionPsiTypeProviderTestGenerated extends AbstractExpressionPsiTypeProviderTest {
@Test @Test
public void testAllFilesPresentInExpressionPsiType() throws Exception { public void testAllFilesPresentInForExpression() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionPsiType"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("typeParamFlexibleUpperBound.kt") @TestMetadata("typeParamFlexibleUpperBound.kt")
public void testTypeParamFlexibleUpperBound() throws Exception { public void testTypeParamFlexibleUpperBound() throws Exception {
runTest("analysis/analysis-api/testData/components/expressionPsiType/typeParamFlexibleUpperBound.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/typeParamFlexibleUpperBound.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.psiTypeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,53 +16,53 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider") @TestMetadata("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class PsiTypeProviderTestGenerated extends AbstractPsiTypeProviderTest { public class PsiTypeProviderTestGenerated extends AbstractPsiTypeProviderTest {
@Test @Test
public void testAllFilesPresentInPsiTypeProvider() throws Exception { public void testAllFilesPresentInForDeclaration() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("anonymousObject_exposedAsReturnValue.kt") @TestMetadata("anonymousObject_exposedAsReturnValue.kt")
public void testAnonymousObject_exposedAsReturnValue() throws Exception { public void testAnonymousObject_exposedAsReturnValue() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/anonymousObject_exposedAsReturnValue.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/anonymousObject_exposedAsReturnValue.kt");
} }
@Test @Test
@TestMetadata("localClass_exposedAsReturnValue.kt") @TestMetadata("localClass_exposedAsReturnValue.kt")
public void testLocalClass_exposedAsReturnValue() throws Exception { public void testLocalClass_exposedAsReturnValue() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_exposedAsReturnValue.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue.kt");
} }
@Test @Test
@TestMetadata("localClass_exposedAsReturnValue_privateFunction.kt") @TestMetadata("localClass_exposedAsReturnValue_privateFunction.kt")
public void testLocalClass_exposedAsReturnValue_privateFunction() throws Exception { public void testLocalClass_exposedAsReturnValue_privateFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_exposedAsReturnValue_privateFunction.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_exposedAsReturnValue_privateFunction.kt");
} }
@Test @Test
@TestMetadata("localClass_localFunctionInSameScope.kt") @TestMetadata("localClass_localFunctionInSameScope.kt")
public void testLocalClass_localFunctionInSameScope() throws Exception { public void testLocalClass_localFunctionInSameScope() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_localFunctionInSameScope.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localFunctionInSameScope.kt");
} }
@Test @Test
@TestMetadata("localClass_localPropertyInSameScope.kt") @TestMetadata("localClass_localPropertyInSameScope.kt")
public void testLocalClass_localPropertyInSameScope() throws Exception { public void testLocalClass_localPropertyInSameScope() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_localPropertyInSameScope.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSameScope.kt");
} }
@Test @Test
@TestMetadata("localClass_localPropertyInSampeScope_functionalType.kt") @TestMetadata("localClass_localPropertyInSampeScope_functionalType.kt")
public void testLocalClass_localPropertyInSampeScope_functionalType() throws Exception { public void testLocalClass_localPropertyInSampeScope_functionalType() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_localPropertyInSampeScope_functionalType.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_localPropertyInSampeScope_functionalType.kt");
} }
@Test @Test
@TestMetadata("localClass_memberFunction.kt") @TestMetadata("localClass_memberFunction.kt")
public void testLocalClass_memberFunction() throws Exception { public void testLocalClass_memberFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/localClass_memberFunction.kt"); runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/localClass_memberFunction.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.smartCastProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,59 +16,59 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/smartCastInfo") @TestMetadata("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirHLSmartCastInfoTestGenerated extends AbstractFirHLSmartCastInfoTest { public class FirHLSmartCastInfoTestGenerated extends AbstractFirHLSmartCastInfoTest {
@Test @Test
public void testAllFilesPresentInSmartCastInfo() throws Exception { public void testAllFilesPresentInSmartCastInfo() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("multiSmartcastAsReceiver_stable.kt") @TestMetadata("multiSmartcastAsReceiver_stable.kt")
public void testMultiSmartcastAsReceiver_stable() throws Exception { public void testMultiSmartcastAsReceiver_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcastAsReceiver_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_stable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcastAsReceiver_unstable.kt") @TestMetadata("multiSmartcastAsReceiver_unstable.kt")
public void testMultiSmartcastAsReceiver_unstable() throws Exception { public void testMultiSmartcastAsReceiver_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcastAsReceiver_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcastAsReceiver_unstable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcast_stable.kt") @TestMetadata("multiSmartcast_stable.kt")
public void testMultiSmartcast_stable() throws Exception { public void testMultiSmartcast_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcast_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_stable.kt");
} }
@Test @Test
@TestMetadata("multiSmartcast_unstable.kt") @TestMetadata("multiSmartcast_unstable.kt")
public void testMultiSmartcast_unstable() throws Exception { public void testMultiSmartcast_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/multiSmartcast_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/multiSmartcast_unstable.kt");
} }
@Test @Test
@TestMetadata("smartcastAsReceiver_stable.kt") @TestMetadata("smartcastAsReceiver_stable.kt")
public void testSmartcastAsReceiver_stable() throws Exception { public void testSmartcastAsReceiver_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcastAsReceiver_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_stable.kt");
} }
@Test @Test
@TestMetadata("smartcastAsReceiver_unstable.kt") @TestMetadata("smartcastAsReceiver_unstable.kt")
public void testSmartcastAsReceiver_unstable() throws Exception { public void testSmartcastAsReceiver_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcastAsReceiver_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcastAsReceiver_unstable.kt");
} }
@Test @Test
@TestMetadata("smartcast_stable.kt") @TestMetadata("smartcast_stable.kt")
public void testSmartcast_stable() throws Exception { public void testSmartcast_stable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcast_stable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_stable.kt");
} }
@Test @Test
@TestMetadata("smartcast_unstable.kt") @TestMetadata("smartcast_unstable.kt")
public void testSmartcast_unstable() throws Exception { public void testSmartcast_unstable() throws Exception {
runTest("analysis/analysis-api/testData/components/smartCastInfo/smartcast_unstable.kt"); runTest("analysis/analysis-api/testData/components/smartCastProvider/smartCastInfo/smartcast_unstable.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.symbolDeclarationOverridesProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,71 +16,71 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/overriddenDeclarations") @TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirOverriddenDeclarationProviderTestGenerated extends AbstractFirOverriddenDeclarationProviderTest { public class FirOverriddenDeclarationProviderTestGenerated extends AbstractFirOverriddenDeclarationProviderTest {
@Test @Test
public void testAllFilesPresentInOverriddenDeclarations() throws Exception { public void testAllFilesPresentInOverriddenSymbols() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/overriddenDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("backingField.kt") @TestMetadata("backingField.kt")
public void testBackingField() throws Exception { public void testBackingField() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/backingField.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/backingField.kt");
} }
@Test @Test
@TestMetadata("inAnonymousClass.kt") @TestMetadata("inAnonymousClass.kt")
public void testInAnonymousClass() throws Exception { public void testInAnonymousClass() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inAnonymousClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inAnonymousClass.kt");
} }
@Test @Test
@TestMetadata("inLocalClass.kt") @TestMetadata("inLocalClass.kt")
public void testInLocalClass() throws Exception { public void testInLocalClass() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inLocalClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inLocalClass.kt");
} }
@Test @Test
@TestMetadata("inOtherFile.kt") @TestMetadata("inOtherFile.kt")
public void testInOtherFile() throws Exception { public void testInOtherFile() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/inOtherFile.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/inOtherFile.kt");
} }
@Test @Test
@TestMetadata("intersectionOverride.kt") @TestMetadata("intersectionOverride.kt")
public void testIntersectionOverride() throws Exception { public void testIntersectionOverride() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/intersectionOverride.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride.kt");
} }
@Test @Test
@TestMetadata("intersectionOverride2.kt") @TestMetadata("intersectionOverride2.kt")
public void testIntersectionOverride2() throws Exception { public void testIntersectionOverride2() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/intersectionOverride2.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/intersectionOverride2.kt");
} }
@Test @Test
@TestMetadata("javaAccessors.kt") @TestMetadata("javaAccessors.kt")
public void testJavaAccessors() throws Exception { public void testJavaAccessors() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/javaAccessors.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/javaAccessors.kt");
} }
@Test @Test
@TestMetadata("multipleInterfaces.kt") @TestMetadata("multipleInterfaces.kt")
public void testMultipleInterfaces() throws Exception { public void testMultipleInterfaces() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/multipleInterfaces.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/multipleInterfaces.kt");
} }
@Test @Test
@TestMetadata("onEnumEntry.kt") @TestMetadata("onEnumEntry.kt")
public void testOnEnumEntry() throws Exception { public void testOnEnumEntry() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/onEnumEntry.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/onEnumEntry.kt");
} }
@Test @Test
@TestMetadata("sequenceOfOverrides.kt") @TestMetadata("sequenceOfOverrides.kt")
public void testSequenceOfOverrides() throws Exception { public void testSequenceOfOverrides() throws Exception {
runTest("analysis/analysis-api/testData/components/overriddenDeclarations/sequenceOfOverrides.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationOverridesProvider/overriddenSymbols/sequenceOfOverrides.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.symbolDeclarationRenderer;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,173 +16,173 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/declarationRenderer") @TestMetadata("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirRendererTestGenerated extends AbstractFirRendererTest { public class FirRendererTestGenerated extends AbstractFirRendererTest {
@Test @Test
public void testAllFilesPresentInDeclarationRenderer() throws Exception { public void testAllFilesPresentInRenderDeclaration() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/declarationRenderer"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("annotation.kt") @TestMetadata("annotation.kt")
public void testAnnotation() throws Exception { public void testAnnotation() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/annotation.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/annotation.kt");
} }
@Test @Test
@TestMetadata("complexTypes.kt") @TestMetadata("complexTypes.kt")
public void testComplexTypes() throws Exception { public void testComplexTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/complexTypes.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/complexTypes.kt");
} }
@Test @Test
@TestMetadata("constructorInObject.kt") @TestMetadata("constructorInObject.kt")
public void testConstructorInObject() throws Exception { public void testConstructorInObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/constructorInObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorInObject.kt");
} }
@Test @Test
@TestMetadata("constructorOfAnonymousObject.kt") @TestMetadata("constructorOfAnonymousObject.kt")
public void testConstructorOfAnonymousObject() throws Exception { public void testConstructorOfAnonymousObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/constructorOfAnonymousObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/constructorOfAnonymousObject.kt");
} }
@Test @Test
@TestMetadata("delegates.kt") @TestMetadata("delegates.kt")
public void testDelegates() throws Exception { public void testDelegates() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/delegates.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/delegates.kt");
} }
@Test @Test
@TestMetadata("derivedClass.kt") @TestMetadata("derivedClass.kt")
public void testDerivedClass() throws Exception { public void testDerivedClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/derivedClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/derivedClass.kt");
} }
@Test @Test
@TestMetadata("emptyAnonymousObject.kt") @TestMetadata("emptyAnonymousObject.kt")
public void testEmptyAnonymousObject() throws Exception { public void testEmptyAnonymousObject() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/emptyAnonymousObject.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/emptyAnonymousObject.kt");
} }
@Test @Test
@TestMetadata("enums.kt") @TestMetadata("enums.kt")
public void testEnums() throws Exception { public void testEnums() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/enums.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums.kt");
} }
@Test @Test
@TestMetadata("enums2.kt") @TestMetadata("enums2.kt")
public void testEnums2() throws Exception { public void testEnums2() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/enums2.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums2.kt");
} }
@Test @Test
@TestMetadata("expectActual.kt") @TestMetadata("expectActual.kt")
public void testExpectActual() throws Exception { public void testExpectActual() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/expectActual.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/expectActual.kt");
} }
@Test @Test
@TestMetadata("F.kt") @TestMetadata("F.kt")
public void testF() throws Exception { public void testF() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/F.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt");
} }
@Test @Test
@TestMetadata("functionTypes.kt") @TestMetadata("functionTypes.kt")
public void testFunctionTypes() throws Exception { public void testFunctionTypes() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/functionTypes.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt");
} }
@Test @Test
@TestMetadata("genericFunctions.kt") @TestMetadata("genericFunctions.kt")
public void testGenericFunctions() throws Exception { public void testGenericFunctions() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/genericFunctions.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericFunctions.kt");
} }
@Test @Test
@TestMetadata("genericProperty.kt") @TestMetadata("genericProperty.kt")
public void testGenericProperty() throws Exception { public void testGenericProperty() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/genericProperty.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/genericProperty.kt");
} }
@Test @Test
@TestMetadata("intersectionType.kt") @TestMetadata("intersectionType.kt")
public void testIntersectionType() throws Exception { public void testIntersectionType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/intersectionType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/intersectionType.kt");
} }
@Test @Test
@TestMetadata("nestedClass.kt") @TestMetadata("nestedClass.kt")
public void testNestedClass() throws Exception { public void testNestedClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/nestedClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/nestedClass.kt");
} }
@Test @Test
@TestMetadata("NestedOfAliasedType.kt") @TestMetadata("NestedOfAliasedType.kt")
public void testNestedOfAliasedType() throws Exception { public void testNestedOfAliasedType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/NestedOfAliasedType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedOfAliasedType.kt");
} }
@Test @Test
@TestMetadata("NestedSuperType.kt") @TestMetadata("NestedSuperType.kt")
public void testNestedSuperType() throws Exception { public void testNestedSuperType() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/NestedSuperType.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/NestedSuperType.kt");
} }
@Test @Test
@TestMetadata("noPrimaryConstructor.kt") @TestMetadata("noPrimaryConstructor.kt")
public void testNoPrimaryConstructor() throws Exception { public void testNoPrimaryConstructor() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/noPrimaryConstructor.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/noPrimaryConstructor.kt");
} }
@Test @Test
@TestMetadata("simpleClass.kt") @TestMetadata("simpleClass.kt")
public void testSimpleClass() throws Exception { public void testSimpleClass() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleClass.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleClass.kt");
} }
@Test @Test
@TestMetadata("simpleFun.kt") @TestMetadata("simpleFun.kt")
public void testSimpleFun() throws Exception { public void testSimpleFun() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleFun.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleFun.kt");
} }
@Test @Test
@TestMetadata("simpleTypeAlias.kt") @TestMetadata("simpleTypeAlias.kt")
public void testSimpleTypeAlias() throws Exception { public void testSimpleTypeAlias() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/simpleTypeAlias.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/simpleTypeAlias.kt");
} }
@Test @Test
@TestMetadata("typeAliasWithGeneric.kt") @TestMetadata("typeAliasWithGeneric.kt")
public void testTypeAliasWithGeneric() throws Exception { public void testTypeAliasWithGeneric() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeAliasWithGeneric.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeAliasWithGeneric.kt");
} }
@Test @Test
@TestMetadata("typeParameterVsNested.kt") @TestMetadata("typeParameterVsNested.kt")
public void testTypeParameterVsNested() throws Exception { public void testTypeParameterVsNested() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeParameterVsNested.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameterVsNested.kt");
} }
@Test @Test
@TestMetadata("typeParameters.kt") @TestMetadata("typeParameters.kt")
public void testTypeParameters() throws Exception { public void testTypeParameters() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/typeParameters.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/typeParameters.kt");
} }
@Test @Test
@TestMetadata("vararg.kt") @TestMetadata("vararg.kt")
public void testVararg() throws Exception { public void testVararg() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/vararg.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/vararg.kt");
} }
@Test @Test
@TestMetadata("where.kt") @TestMetadata("where.kt")
public void testWhere() throws Exception { public void testWhere() throws Exception {
runTest("analysis/analysis-api/testData/components/declarationRenderer/where.kt"); runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/where.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.typeInfoProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,35 +16,35 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/functionClassKind") @TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirFunctionClassKindTestGenerated extends AbstractFirFunctionClassKindTest { public class FirFunctionClassKindTestGenerated extends AbstractFirFunctionClassKindTest {
@Test @Test
public void testAllFilesPresentInFunctionClassKind() throws Exception { public void testAllFilesPresentInFunctionClassKind() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/functionClassKind"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("function.kt") @TestMetadata("function.kt")
public void testFunction() throws Exception { public void testFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/functionClassKind/function.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/function.kt");
} }
@Test @Test
@TestMetadata("kFunction.kt") @TestMetadata("kFunction.kt")
public void testKFunction() throws Exception { public void testKFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/functionClassKind/kFunction.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kFunction.kt");
} }
@Test @Test
@TestMetadata("kSuspendFunction.kt") @TestMetadata("kSuspendFunction.kt")
public void testKSuspendFunction() throws Exception { public void testKSuspendFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/functionClassKind/kSuspendFunction.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/kSuspendFunction.kt");
} }
@Test @Test
@TestMetadata("suspendFunction.kt") @TestMetadata("suspendFunction.kt")
public void testSuspendFunction() throws Exception { public void testSuspendFunction() throws Exception {
runTest("analysis/analysis-api/testData/components/functionClassKind/suspendFunction.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/functionClassKind/suspendFunction.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.typeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,95 +16,95 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/getSuperTypes") @TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/superTypes")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirGetSuperTypesTestGenerated extends AbstractFirGetSuperTypesTest { public class FirGetSuperTypesTestGenerated extends AbstractFirGetSuperTypesTest {
@Test @Test
public void testAllFilesPresentInGetSuperTypes() throws Exception { public void testAllFilesPresentInSuperTypes() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/getSuperTypes"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeInfoProvider/superTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("anonymousObject.kt") @TestMetadata("anonymousObject.kt")
public void testAnonymousObject() throws Exception { public void testAnonymousObject() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/anonymousObject.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/anonymousObject.kt");
} }
@Test @Test
@TestMetadata("any.kt") @TestMetadata("any.kt")
public void testAny() throws Exception { public void testAny() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/any.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/any.kt");
} }
@Test @Test
@TestMetadata("contravariant.kt") @TestMetadata("contravariant.kt")
public void testContravariant() throws Exception { public void testContravariant() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/contravariant.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/contravariant.kt");
} }
@Test @Test
@TestMetadata("covariant.kt") @TestMetadata("covariant.kt")
public void testCovariant() throws Exception { public void testCovariant() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/covariant.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/covariant.kt");
} }
@Test @Test
@TestMetadata("errorType.kt") @TestMetadata("errorType.kt")
public void testErrorType() throws Exception { public void testErrorType() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/errorType.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/errorType.kt");
} }
@Test @Test
@TestMetadata("flexibleType.kt") @TestMetadata("flexibleType.kt")
public void testFlexibleType() throws Exception { public void testFlexibleType() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/flexibleType.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/flexibleType.kt");
} }
@Test @Test
@TestMetadata("int.kt") @TestMetadata("int.kt")
public void testInt() throws Exception { public void testInt() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/int.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/int.kt");
} }
@Test @Test
@TestMetadata("invariant.kt") @TestMetadata("invariant.kt")
public void testInvariant() throws Exception { public void testInvariant() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/invariant.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/invariant.kt");
} }
@Test @Test
@TestMetadata("recursiveTypeParameter.kt") @TestMetadata("recursiveTypeParameter.kt")
public void testRecursiveTypeParameter() throws Exception { public void testRecursiveTypeParameter() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/recursiveTypeParameter.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/recursiveTypeParameter.kt");
} }
@Test @Test
@TestMetadata("regularClass.kt") @TestMetadata("regularClass.kt")
public void testRegularClass() throws Exception { public void testRegularClass() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/regularClass.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/regularClass.kt");
} }
@Test @Test
@TestMetadata("regularClassWithBounds.kt") @TestMetadata("regularClassWithBounds.kt")
public void testRegularClassWithBounds() throws Exception { public void testRegularClassWithBounds() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/regularClassWithBounds.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/regularClassWithBounds.kt");
} }
@Test @Test
@TestMetadata("star.kt") @TestMetadata("star.kt")
public void testStar() throws Exception { public void testStar() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/star.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
} }
@Test @Test
@TestMetadata("string.kt") @TestMetadata("string.kt")
public void testString() throws Exception { public void testString() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/string.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/string.kt");
} }
@Test @Test
@TestMetadata("typeParameter.kt") @TestMetadata("typeParameter.kt")
public void testTypeParameter() throws Exception { public void testTypeParameter() throws Exception {
runTest("analysis/analysis-api/testData/components/getSuperTypes/typeParameter.kt"); runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/typeParameter.kt");
} }
} }
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/ */
package org.jetbrains.kotlin.analysis.api.fir.components; package org.jetbrains.kotlin.analysis.api.fir.components.typeProvider;
import com.intellij.testFramework.TestDataPath; import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.kotlin.test.util.KtTestUtil;
@@ -16,35 +16,35 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/hasCommonSubtype") @TestMetadata("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
public class FirHasCommonSubtypeTestGenerated extends AbstractFirHasCommonSubtypeTest { public class FirHasCommonSubtypeTestGenerated extends AbstractFirHasCommonSubtypeTest {
@Test @Test
public void testAllFilesPresentInHasCommonSubtype() throws Exception { public void testAllFilesPresentInHaveCommonSubtype() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/hasCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true); KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype"), Pattern.compile("^(.+)\\.kt$"), null, true);
} }
@Test @Test
@TestMetadata("collections.kt") @TestMetadata("collections.kt")
public void testCollections() throws Exception { public void testCollections() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/collections.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/collections.kt");
} }
@Test @Test
@TestMetadata("dataClasses.kt") @TestMetadata("dataClasses.kt")
public void testDataClasses() throws Exception { public void testDataClasses() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/dataClasses.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/dataClasses.kt");
} }
@Test @Test
@TestMetadata("enums.kt") @TestMetadata("enums.kt")
public void testEnums() throws Exception { public void testEnums() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/enums.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/enums.kt");
} }
@Test @Test
@TestMetadata("simple.kt") @TestMetadata("simple.kt")
public void testSimple() throws Exception { public void testSimple() throws Exception {
runTest("analysis/analysis-api/testData/components/hasCommonSubtype/simple.kt"); runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/simple.kt");
} }
} }