[Test] Add ability to explicitly declare default binary kind for test
This commit is contained in:
committed by
TeamCityServer
parent
a2ae618185
commit
5ae5f660f6
@@ -16,6 +16,7 @@ data class TestModule(
|
||||
val targetPlatform: TargetPlatform,
|
||||
val targetBackend: TargetBackend?,
|
||||
val frontendKind: FrontendKind<*>,
|
||||
val binaryKind: BinaryKind<*>,
|
||||
val files: List<TestFile>,
|
||||
val dependencies: List<DependencyDescription>,
|
||||
val friends: List<DependencyDescription>,
|
||||
|
||||
+3
@@ -9,8 +9,10 @@ import org.jetbrains.kotlin.config.LanguageVersionSettings
|
||||
import org.jetbrains.kotlin.platform.TargetPlatform
|
||||
import org.jetbrains.kotlin.test.TargetBackend
|
||||
import org.jetbrains.kotlin.test.builders.LanguageVersionSettingsBuilder
|
||||
import org.jetbrains.kotlin.test.model.BinaryKind
|
||||
import org.jetbrains.kotlin.test.model.DependencyKind
|
||||
import org.jetbrains.kotlin.test.model.FrontendKind
|
||||
import org.jetbrains.kotlin.test.model.TestArtifactKind
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
@@ -22,6 +24,7 @@ class DefaultsProvider(
|
||||
val defaultLanguageSettings: LanguageVersionSettings,
|
||||
private val defaultLanguageSettingsBuilder: LanguageVersionSettingsBuilder,
|
||||
val defaultPlatform: TargetPlatform,
|
||||
val defaultArtifactKind: BinaryKind<*>?,
|
||||
val defaultTargetBackend: TargetBackend?,
|
||||
val defaultDependencyKind: DependencyKind
|
||||
) : TestService {
|
||||
|
||||
Reference in New Issue
Block a user