Class TestOnSpecificJvmVersion
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,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
public abstract class TestOnSpecificJvmVersion extends TestA special Test task configured to run the tests using a specific jvmVersion.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerjvmVersionprivate final ModularitySpecmodularityprivate final Property<JavaLauncher>javaLauncherprivate FileCollectiontestClassesDirsprivate FileCollectionclasspathprivate BooleanscanForTestClassesprivate LongforkEveryprivate IntegermaxParallelForksprivate final TestTaskReportsreportsprivate final TestLoggingContainertestLoggingprivate final DirectoryPropertybinaryResultsDirectoryprivate BooleanignoreFailuresprivate BooleanfailFastprivate final ConventionMappingconventionMappingprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActions
-
Constructor Summary
Constructors Constructor Description TestOnSpecificJvmVersion(Integer jvmVersion)
-
Method Summary
Modifier and Type Method Description final IntegergetJvmVersion()-
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, getDryRun, 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, 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, getBinaryResultsDirectory, getFilter, getIgnoreFailures, getReports, getTestLogging, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setIgnoreFailures, testLogging, testLogging -
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, 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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TestOnSpecificJvmVersion
TestOnSpecificJvmVersion(Integer jvmVersion)
-
-
Method Detail
-
getJvmVersion
final Integer getJvmVersion()
-
-
-
-