[AA] Shortener: allow import if requested import kind has high priority

This commit is contained in:
aleksandrina-streltsova
2023-06-12 17:58:04 +03:00
committed by teamcity
parent a96e2f37e7
commit 57cbab7d8e
10 changed files with 94 additions and 7 deletions
@@ -52,6 +52,24 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/annotaiton.kt");
}
@Test
@TestMetadata("callableFromDefaultImport.kt")
public void testCallableFromDefaultImport() throws Exception {
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/callableFromDefaultImport.kt");
}
@Test
@TestMetadata("callableFromDefaultImport2.kt")
public void testCallableFromDefaultImport2() throws Exception {
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/callableFromDefaultImport2.kt");
}
@Test
@TestMetadata("callableFromExplicitImport.kt")
public void testCallableFromExplicitImport() throws Exception {
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/callableFromExplicitImport.kt");
}
@Test
@TestMetadata("classScopes.kt")
public void testClassScopes() throws Exception {