-
- 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,org.jetbrains.kotlin.gradle.targets.native.KotlinNativeSimulatorTestRun
public class DefaultSimulatorTestRun extends AbstractKotlinNativeTestRun<KotlinNativeSimulatorTest> implements KotlinNativeSimulatorTestRun
-
-
Field Summary
Fields Modifier and Type Field Description private StringdeviceIdprivate NativeBinaryTestRunSourceexecutionSourceprivate TaskProvider<KotlinNativeSimulatorTest>executionTaskprivate final KotlinTargettarget
-
Constructor Summary
Constructors Constructor Description DefaultSimulatorTestRun(String testRunName, KotlinNativeTarget target)
-
Method Summary
Modifier and Type Method Description StringgetDeviceId()Determines which simulated device will be used to execute the test run. UnitsetDeviceId(String deviceId)Determines which simulated device will be used to execute the test run. final NativeBinaryTestRunSourcegetExecutionSource()final UnitsetExecutionSource(NativeBinaryTestRunSource executionSource)TaskProvider<KotlinNativeSimulatorTest>getExecutionTask()UnitsetExecutionTask(TaskProvider<KotlinNativeSimulatorTest> executionTask)KotlinTargetgetTarget()-
Methods inherited from class org.jetbrains.kotlin.gradle.targets.native.DefaultSimulatorTestRun
setExecutionSourceFrom -
Methods inherited from class org.jetbrains.kotlin.gradle.targets.native.AbstractKotlinNativeTestRun
filter, filter, getName -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultSimulatorTestRun
DefaultSimulatorTestRun(String testRunName, KotlinNativeTarget target)
-
-
Method Detail
-
getDeviceId
String getDeviceId()
Determines which simulated device will be used to execute the test run. To get list of all available devices, run
xcrun simctl list.
-
setDeviceId
Unit setDeviceId(String deviceId)
Determines which simulated device will be used to execute the test run. To get list of all available devices, run
xcrun simctl list.
-
getExecutionSource
final NativeBinaryTestRunSource getExecutionSource()
-
setExecutionSource
final Unit setExecutionSource(NativeBinaryTestRunSource executionSource)
-
getExecutionTask
TaskProvider<KotlinNativeSimulatorTest> getExecutionTask()
-
setExecutionTask
Unit setExecutionTask(TaskProvider<KotlinNativeSimulatorTest> executionTask)
-
getTarget
KotlinTarget getTarget()
-
-
-
-