[AA] Add tests for combined declared member scopes

^KT-61800
This commit is contained in:
Marco Pennekamp
2023-09-14 23:37:18 +02:00
committed by Space Team
parent 5679acbbdb
commit 239cfa6d29
55 changed files with 3153 additions and 0 deletions
@@ -47,6 +47,11 @@ abstract class AbstractStaticDeclaredMemberScopeTest : AbstractMemberScopeTestBa
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getStaticDeclaredMemberScope().getAllSymbols()
}
abstract class AbstractCombinedDeclaredMemberScopeTest : AbstractMemberScopeTestBase() {
context(KtAnalysisSession)
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getCombinedDeclaredMemberScope().getAllSymbols()
}
abstract class AbstractDelegateMemberScopeTest : AbstractMemberScopeTestBase() {
context(KtAnalysisSession)
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getDelegatedMemberScope().getCallableSymbols()