-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.IConventionAware
,org.gradle.api.internal.TaskInternal
,org.gradle.api.plugins.ExtensionAware
,org.gradle.api.reporting.Reporting
,org.gradle.api.tasks.VerificationTask
,org.gradle.util.Configurable
public class KotlinNativeSimulatorTest extends KotlinNativeTest
A task running Kotlin/Native tests on a simulator (iOS/watchOS/tvOS).
-
-
Field Summary
Fields Modifier and Type Field Description private String
deviceId
private Boolean
debugMode
private final Property<FileCollection>
executableProperty
private List<String>
args
private File
executable
private String
workingDir
private Map<String, Object>
environment
private final Map<String, Object>
trackedEnvironment
private String
targetName
private Set<String>
excludes
private final Set<String>
includePatterns
private final Set<String>
excludePatterns
private final FileResolver
fileResolver
private final ExecHandleFactory
execHandleFactory
private Boolean
ignoreRunFailures
-
Constructor Summary
Constructors Constructor Description KotlinNativeSimulatorTest()
-
Method Summary
Modifier and Type Method Description final String
getDeviceId()
final Unit
setDeviceId(@Input() String deviceId)
final Boolean
getDebugMode()
final Unit
setDebugMode(@Internal() Boolean debugMode)
final Property<FileCollection>
getExecutableProperty()
final List<String>
getArgs()
final Unit
setArgs(@Input() List<String> args)
final File
getExecutable()
final Unit
setExecutable(File executable)
final String
getWorkingDir()
final Unit
setWorkingDir(String workingDir)
final Map<String, Object>
getEnvironment()
final Unit
setEnvironment(Map<String, Object> environment)
final Map<String, Object>
getTrackedEnvironment()
final String
getTargetName()
final Unit
setTargetName(@Input() @Optional() String targetName)
final Set<String>
getExcludes()
final Unit
setExcludes(@Deprecated(message = "Use filter.excludePatterns instead.", replaceWith = @ReplaceWith(imports = {}, expression = "filter.excludePatterns")) @Internal() Set<String> excludes)
final Set<String>
getIncludePatterns()
final Set<String>
getExcludePatterns()
FileResolver
getFileResolver()
ExecHandleFactory
getExecHandleFactory()
final Boolean
getIgnoreRunFailures()
final Unit
setIgnoreRunFailures(@Input() Boolean ignoreRunFailures)
-
Methods inherited from class org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeSimulatorTest
environment, environment, executable, executable, executable, executable, executable, executable, trackEnvironment, trackEnvironment
-
Methods inherited from class org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
addRunListener
-
Methods inherited from class org.gradle.api.internal.ConventionTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class org.gradle.api.tasks.testing.AbstractTestTask
conventionMapping, conventionMapping, getConventionMapping
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinTest
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, executeTests, getBinResultsDir, getBinaryResultsDirectory, getBuildOperationExecutor, getFailFast, getFileSystemOperations, getFilter, getHostnameLookup, getIgnoreFailures, getInstantiator, getListenerManager, getNoMatchingTestErrorReasons, getProgressLoggerFactory, getReports, getTestListenerInternalBroadcaster, getTestLogging, getTestOutputListenerBroadcaster, getTextOutputFactory, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setFailFast, setIgnoreFailures, setTestNameIncludePatterns, setTestReporter, testLogging, testLogging
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDeviceId
final String getDeviceId()
-
setDeviceId
final Unit setDeviceId(@Input() String deviceId)
-
getDebugMode
final Boolean getDebugMode()
-
setDebugMode
final Unit setDebugMode(@Internal() Boolean debugMode)
-
getExecutableProperty
@Internal() final Property<FileCollection> getExecutableProperty()
-
getExecutable
@Internal() final File getExecutable()
-
setExecutable
final Unit setExecutable(File executable)
-
getWorkingDir
@Input() final String getWorkingDir()
-
setWorkingDir
final Unit setWorkingDir(String workingDir)
-
getEnvironment
@Internal() final Map<String, Object> getEnvironment()
-
setEnvironment
final Unit setEnvironment(Map<String, Object> environment)
-
getTrackedEnvironment
@Input() final Map<String, Object> getTrackedEnvironment()
-
getTargetName
final String getTargetName()
-
setTargetName
final Unit setTargetName(@Input() @Optional() String targetName)
-
getExcludes
final Set<String> getExcludes()
-
setExcludes
final Unit setExcludes(@Deprecated(message = "Use filter.excludePatterns instead.", replaceWith = @ReplaceWith(imports = {}, expression = "filter.excludePatterns")) @Internal() Set<String> excludes)
-
getIncludePatterns
@Input() final Set<String> getIncludePatterns()
-
getExcludePatterns
@Input() final Set<String> getExcludePatterns()
-
getFileResolver
@Inject() FileResolver getFileResolver()
-
getExecHandleFactory
@Inject() ExecHandleFactory getExecHandleFactory()
-
getIgnoreRunFailures
final Boolean getIgnoreRunFailures()
-
setIgnoreRunFailures
final Unit setIgnoreRunFailures(@Input() Boolean ignoreRunFailures)
-
-
-
-