KT-61890 [AA] Add testdata to ensure KDoc completion support in IDE
Completion in the IDE relies on correct scopes for KDoc positions. So we add testData for `KtScopeProvider` and `ContextCollector` to ensure that there are no regressions
This commit is contained in:
+12
@@ -88,6 +88,18 @@ public class FirStandaloneNormalAnalysisSourceModuleScopeContextForPositionTestG
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/errorType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kDocOnClass.kt")
|
||||
public void testKDocOnClass() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/kDocOnClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kDocOnFunction.kt")
|
||||
public void testKDocOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/kDocOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kDocWithoutDeclaration.kt")
|
||||
public void testKDocWithoutDeclaration() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user