[AA] Add KtTestModule.moduleKind
- `TestModule.explicitTestModuleKind` requires a directive to be present to get the `TestModuleKind`. But we still want to find out the test module kind for test modules without a directive. Hence, we have to add this property to `KtTestModule` during its construction. ^KT-65960
This commit is contained in:
committed by
Space Team
parent
dc0f498b15
commit
7baaa38b8a
+2
-1
@@ -36,7 +36,8 @@ object AnalysisApiFe10TestConfiguratorFactory : AnalysisApiTestConfiguratorFacto
|
||||
TestModuleKind.ScriptSource,
|
||||
TestModuleKind.LibraryBinary,
|
||||
TestModuleKind.LibrarySource,
|
||||
TestModuleKind.CodeFragment -> {
|
||||
TestModuleKind.CodeFragment,
|
||||
TestModuleKind.NotUnderContentRoot -> {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user