[AA] Add tests for *static* (declared) member scopes
^KT-61900 ^KT-61800
This commit is contained in:
committed by
Space Team
parent
4ba0aef23b
commit
21efd6aff3
+10
@@ -32,11 +32,21 @@ abstract class AbstractMemberScopeByFqNameTest : AbstractMemberScopeTestBase() {
|
||||
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getMemberScope().getAllSymbols()
|
||||
}
|
||||
|
||||
abstract class AbstractStaticMemberScopeTest : AbstractMemberScopeTestBase() {
|
||||
context(KtAnalysisSession)
|
||||
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getStaticMemberScope().getAllSymbols()
|
||||
}
|
||||
|
||||
abstract class AbstractDeclaredMemberScopeTest : AbstractMemberScopeTestBase() {
|
||||
context(KtAnalysisSession)
|
||||
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getDeclaredMemberScope().getAllSymbols()
|
||||
}
|
||||
|
||||
abstract class AbstractStaticDeclaredMemberScopeTest : AbstractMemberScopeTestBase() {
|
||||
context(KtAnalysisSession)
|
||||
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getStaticDeclaredMemberScope().getAllSymbols()
|
||||
}
|
||||
|
||||
abstract class AbstractDelegateMemberScopeTest : AbstractMemberScopeTestBase() {
|
||||
context(KtAnalysisSession)
|
||||
override fun KtSymbolWithMembers.getSymbolsFromScope(): Sequence<KtDeclarationSymbol> = getDelegatedMemberScope().getCallableSymbols()
|
||||
|
||||
Reference in New Issue
Block a user