Analysis API: Add tests for KT-54648

This commit is contained in:
Kirill Rakhman
2023-01-27 16:13:03 +01:00
committed by Space Team
parent 63a908cff8
commit 5e56845ce0
9 changed files with 154 additions and 0 deletions
@@ -262,6 +262,12 @@ public class FirStandaloneNormalAnalysisSourceModuleResolveCallTestGenerated ext
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/comparisonCall.kt");
}
@Test
@TestMetadata("compoundAssignOnGenericVar.kt")
public void testCompoundAssignOnGenericVar() throws Exception {
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/compoundAssignOnGenericVar.kt");
}
@Test
@TestMetadata("compoundAssignOnVal.kt")
public void testCompoundAssignOnVal() throws Exception {
@@ -634,6 +640,12 @@ public class FirStandaloneNormalAnalysisSourceModuleResolveCallTestGenerated ext
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter.kt");
}
@Test
@TestMetadata("kotlinPropertySetterGeneric.kt")
public void testKotlinPropertySetterGeneric() throws Exception {
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetterGeneric.kt");
}
@Test
@TestMetadata("kotlinPropertySetter_unqualified.kt")
public void testKotlinPropertySetter_unqualified() throws Exception {
@@ -676,6 +688,12 @@ public class FirStandaloneNormalAnalysisSourceModuleResolveCallTestGenerated ext
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/postfixUnaryOperatorWithArrayAccessConvention_complexDispatcher.kt");
}
@Test
@TestMetadata("prefixUnaryOperatorOnGenericVar.kt")
public void testPrefixUnaryOperatorOnGenericVar() throws Exception {
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/prefixUnaryOperatorOnGenericVar.kt");
}
@Test
@TestMetadata("prefixUnaryOperatorOnVar.kt")
public void testPrefixUnaryOperatorOnVar() throws Exception {