-
- 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 abstract class KotlinNativeTest extends KotlinTest
-
-
Field Summary
Fields Modifier and Type Field Description private final ProviderFactory
providerFactory
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
private final TestTaskReports
reports
private final TestLoggingContainer
testLogging
private final DirectoryProperty
binaryResultsDirectory
private Boolean
ignoreFailures
private final ConventionMapping
conventionMapping
private Boolean
enabled
private final Property<Duration>
timeout
private final TaskStateInternal
state
private Boolean
impliesSubProjects
private final Boolean
hasCustomActions
private final Set<Provider<out BuildService<?>>>
requiredServices
-
Constructor Summary
Constructors Constructor Description KotlinNativeTest()
-
Method Summary
Modifier and Type Method Description abstract ProviderFactory
getProviderFactory()
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 Unit
executable(File file)
final Unit
executable(String path)
final Unit
executable(Function0<File> provider)
final Unit
executable(Task builtByTask, Function0<File> provider)
final Unit
executable(Provider<File> provider)
final Unit
executable(Closure<File> provider)
final Unit
environment(String name, Object value, Boolean tracked)
final Unit
environment(String name, Object value)
final Unit
trackEnvironment(String name, Boolean tracked)
final Unit
trackEnvironment(String name)
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinTest
addRunListener, getExcludePatterns, getExcludes, getExecHandleFactory, getFileResolver, getIgnoreRunFailures, getIncludePatterns, getTargetName, setExcludes, setIgnoreRunFailures, setTargetName
-
Methods inherited from class org.gradle.api.tasks.testing.AbstractTestTask
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, executeTests, getBinResultsDir, getBinaryResultsDirectory, getFilter, getIgnoreFailures, getReports, getTestLogging, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setIgnoreFailures, setTestNameIncludePatterns, testLogging, testLogging
-
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMapping
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getProviderFactory
@Inject() abstract ProviderFactory getProviderFactory()
-
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()
-
executable
final Unit executable(File file)
-
executable
final Unit executable(String path)
-
executable
final Unit executable(Function0<File> provider)
-
executable
final Unit executable(Task builtByTask, Function0<File> provider)
-
executable
final Unit executable(Provider<File> provider)
-
executable
final Unit executable(Closure<File> provider)
-
environment
@JvmOverloads() final Unit environment(String name, Object value, Boolean tracked)
-
environment
@JvmOverloads() final Unit environment(String name, Object value)
-
trackEnvironment
@JvmOverloads() final Unit trackEnvironment(String name, Boolean tracked)
-
trackEnvironment
@JvmOverloads() final Unit trackEnvironment(String name)
-
-
-
-