[Analysis API] add diagnostic test of type inference from getValue delegate

^KT-62888
This commit is contained in:
Dmitrii Gridin
2023-12-27 20:44:08 +01:00
committed by Space Team
parent 3eb86ede96
commit faf33e4fa4
8 changed files with 77 additions and 0 deletions
@@ -88,6 +88,18 @@ public class Fe10IdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated ex
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/incompleteFor.kt");
}
@Test
@TestMetadata("inferTypeFromGetValueDelegate.kt")
public void testInferTypeFromGetValueDelegate() throws Exception {
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegate.kt");
}
@Test
@TestMetadata("inferTypeFromGetValueDelegateLibrary.kt")
public void testInferTypeFromGetValueDelegateLibrary() throws Exception {
runTest("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt");
}
@Test
@TestMetadata("overrideProtectedClassReturnFromLibrary.kt")
public void testOverrideProtectedClassReturnFromLibrary() throws Exception {