-
- All Implemented Interfaces:
-
org.gradle.api.Named,org.jetbrains.kotlin.gradle.plugin.ExecutionTaskHolder,org.jetbrains.kotlin.gradle.plugin.KotlinExecution,org.jetbrains.kotlin.gradle.plugin.KotlinTargetExecution,org.jetbrains.kotlin.gradle.plugin.KotlinTargetTestRun,org.jetbrains.kotlin.gradle.plugin.KotlinTestRun,org.jetbrains.kotlin.gradle.targets.native.KotlinNativeBinaryTestRun
public abstract class AbstractKotlinNativeTestRun<T extends KotlinNativeTest> extends KotlinTaskTestRun<NativeBinaryTestRunSource, T> implements KotlinNativeBinaryTestRun
-
-
Field Summary
Fields Modifier and Type Field Description private NativeBinaryTestRunSourceexecutionSourceprivate TaskProvider<T>executionTaskprivate final KotlinTargettarget
-
Constructor Summary
Constructors Constructor Description AbstractKotlinNativeTestRun(String testRunName, KotlinNativeTarget target)
-
Method Summary
Modifier and Type Method Description final NativeBinaryTestRunSourcegetExecutionSource()final UnitsetExecutionSource(NativeBinaryTestRunSource executionSource)TaskProvider<T>getExecutionTask()UnitsetExecutionTask(TaskProvider<T> executionTask)KotlinTargetgetTarget()UnitsetExecutionSourceFrom(TestExecutable testExecutable)Sets this test run to use the specified testExecutable. -
-
Constructor Detail
-
AbstractKotlinNativeTestRun
AbstractKotlinNativeTestRun(String testRunName, KotlinNativeTarget target)
-
-
Method Detail
-
getExecutionSource
final NativeBinaryTestRunSource getExecutionSource()
-
setExecutionSource
final Unit setExecutionSource(NativeBinaryTestRunSource executionSource)
-
getExecutionTask
TaskProvider<T> getExecutionTask()
-
setExecutionTask
Unit setExecutionTask(TaskProvider<T> executionTask)
-
getTarget
KotlinTarget getTarget()
-
setExecutionSourceFrom
Unit setExecutionSourceFrom(TestExecutable testExecutable)
Sets this test run to use the specified testExecutable.
This overrides other executionSource options.
-
-
-
-