[Analysis API] Do not shorten qualifiers outside the selection range

^KTIJ-25116 Fixed
This commit is contained in:
aleksandrina-streltsova
2023-04-27 19:03:56 +03:00
committed by teamcity
parent ed7a3299f0
commit da5f33d762
7 changed files with 71 additions and 2 deletions
@@ -172,6 +172,12 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/companionUsedOutOfClass.kt");
}
@Test
@TestMetadata("constructorParameter.kt")
public void testConstructorParameter() throws Exception {
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/constructorParameter.kt");
}
@Test
@TestMetadata("contextReceiver.kt")
public void testContextReceiver() throws Exception {
@@ -376,6 +382,12 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/superEntry.kt");
}
@Test
@TestMetadata("typeArgument.kt")
public void testTypeArgument() throws Exception {
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/typeArgument.kt");
}
@Test
@TestMetadata("typeParams.kt")
public void testTypeParams() throws Exception {