fixup! [Analysis API] implement an API to get a substitution based on a inheritance relationship between classes

This commit is contained in:
Ilya Kirillov
2023-10-05 16:20:20 +02:00
committed by Space Team
parent 8f6b3d37b9
commit 9dcd142f0d
5 changed files with 31 additions and 0 deletions
@@ -58,6 +58,12 @@ public class FirIdeDependentAnalysisSourceModuleCreateInheritanceTypeSubstitutor
runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/cycle.kt");
}
@Test
@TestMetadata("diamond.kt")
public void testDiamond() throws Exception {
runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/diamond.kt");
}
@Test
@TestMetadata("directComplexSubstitution.kt")
public void testDirectComplexSubstitution() throws Exception {
@@ -58,6 +58,12 @@ public class FirIdeNormalAnalysisSourceModuleCreateInheritanceTypeSubstitutorTes
runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/cycle.kt");
}
@Test
@TestMetadata("diamond.kt")
public void testDiamond() throws Exception {
runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/diamond.kt");
}
@Test
@TestMetadata("directComplexSubstitution.kt")
public void testDirectComplexSubstitution() throws Exception {