-
- 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.api.tasks.util.PatternFilterable
,org.gradle.process.JavaForkOptions
,org.gradle.process.ProcessForkOptions
,org.gradle.util.Configurable
@CacheableTask() public class KotlinJvmTest extends Test
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
KotlinJvmTest.Executor
-
Field Summary
Fields Modifier and Type Field Description private String
targetName
private final ModularitySpec
modularity
private final Property<JavaLauncher>
javaLauncher
private FileCollection
testClassesDirs
private FileCollection
classpath
private Boolean
scanForTestClasses
private final Long
forkEvery
private Integer
maxParallelForks
private final TestTaskReports
reports
private final TestLoggingContainer
testLogging
private final DirectoryProperty
binaryResultsDirectory
private Boolean
ignoreFailures
private Boolean
failFast
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 KotlinJvmTest()
-
Method Summary
Modifier and Type Method Description final String
getTargetName()
final Unit
setTargetName(@Input() @Optional() String targetName)
-
Methods inherited from class org.gradle.api.tasks.testing.Test
bootstrapClasspath, copyTo, copyTo, debugOptions, environment, environment, exclude, exclude, exclude, exclude, executable, executeTests, filter, getAllJvmArgs, getBootstrapClasspath, getCandidateClassFiles, getClasspath, getDebug, getDebugOptions, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getExcludes, getExecutable, getFailFast, getForkEvery, getIncludes, getJavaLauncher, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getMaxHeapSize, getMaxParallelForks, getMinHeapSize, getModularity, getOptions, getSystemProperties, getTestClassesDirs, getTestFramework, getTestFrameworkProperty, getWorkingDir, include, include, include, include, isScanForTestClasses, jvmArgs, jvmArgs, options, options, setAllJvmArgs, setAllJvmArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setExcludes, setExecutable, setExecutable, setFailFast, setForkEvery, setIncludes, setJvmArgs, setJvmArgs, setMaxHeapSize, setMaxParallelForks, setMinHeapSize, setScanForTestClasses, setSystemProperties, setTestClassesDirs, setTestNameIncludePatterns, setWorkingDir, setWorkingDir, systemProperties, systemProperty, testFramework, useJUnit, useJUnit, useJUnit, useJUnitPlatform, useJUnitPlatform, useTestNG, useTestNG, useTestNG, workingDir
-
Methods inherited from class org.gradle.api.tasks.testing.AbstractTestTask
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, getBinResultsDir, getBinaryResultsDirectory, getFilter, getIgnoreFailures, getReports, getTestLogging, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setIgnoreFailures, 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
-
getTargetName
final String getTargetName()
-
setTargetName
final Unit setTargetName(@Input() @Optional() String targetName)
-
-
-
-