Class ISHUnitTest
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
@DisableCachingByDefault(because = "Operates against a running ICM server - the result depends on external server state and must never be taken from the build cache") public abstract class ISHUnitTest extends AbstractICMASContainerTask<RedirectToLoggerCallback, RedirectToLoggerCallback, Long>
Task to run ishunit tests on a running container.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringCOMMANDpublic final static StringISHUNIT_REGISTRYprivate final DirectoryPropertyishUnitRunnerDirectoryprivate final Property<String>testCartridgeprivate final Property<String>testSuiteprivate final Property<ContainerEnvironment>additionalEnvironmentprivate final Property<DevelopmentConfiguration.DatabaseParameters>databaseConfigurationprivate final Property<DevelopmentConfiguration.WebserverConfiguration>webserverConfigurationprivate final Property<DevelopmentConfiguration.ASPortConfiguration>portConfigurationprivate final SetProperty<String>cartridgeListprivate final SetProperty<String>testCartridgeListprivate Stringdebugprivate StringclasspathLayoutprivate final Property<ContainerHandle>containerprivate final TaskOutputsInternaloutputsprivate final Property<String>apiVersionprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate final TaskRequiredServicesrequiredServicesprivate final TaskDependencyInternaltaskDependenciesprivate final Set<Object>dependsOnprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final TaskDependencyInternallifecycleDependenciesprivate BooleanisEnabledprivate BooleanimpliesSubProjectsprivate final TaskInputsInternalinputsprivate Booleanenabledprivate final TaskStateInternalstateprivate final Property<String>urlprivate final TaskIdentity<?>taskIdentityprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final List<ResourceLock>sharedResourcesprivate final DynamicObjectasDynamicObjectprivate BooleandidWorkprivate final Property<DockerClientService>dockerClientServiceprivate final Optional<String>reasonNotToTrackStateprivate Stringgroupprivate final Set<String>reasonsNotToTrackStateprivate final BooleanisHasCustomActionsprivate List<Action<in Task>>actionsprivate final DirectoryPropertycertPathprivate final Stringnameprivate final FiletemporaryDirprivate final LoggingManagerloggingprivate final PathidentityPathprivate final DockerClientdockerClientprivate final TaskDependencymustRunAfterprivate final StandardOutputCapturestandardOutputCaptureprivate final Projectprojectprivate Stringdescription
-
Constructor Summary
Constructors Constructor Description ISHUnitTest(ObjectFactory objectFactory, ProviderFactory providerFactory, ProjectLayout projectLayout)
-
Method Summary
Modifier and Type Method Description final DirectoryPropertygetIshUnitRunnerDirectory()Directory the ISHUnit runner writes its results to. final Property<String>getTestCartridge()The name of the cartridge to be tested final Property<String>getTestSuite()The name of the test suite to be executed final Property<ContainerEnvironment>getAdditionalEnvironment()Additional environment variables List<ResourceLock>getSharedResources()-
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractICMASContainerTask
getCartridgeList, getClasspathLayout, getDatabaseConfiguration, getDebug, getDebugOptionValues, getPortConfiguration, getTestCartridgeList, getWebserverConfiguration, runRemoteCommand, setClasspathLayout, setDebug -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractContainerTask
currentContainerState, getContainer, getContainer -
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask
getApiVersion, getCertPath, getDockerClient, getDockerClientService, getUrl, onComplete, onError, onNext, start -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getReasonsNotToTrackState, getRequiredServices, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.ISHUnitTest
getSharedResources -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractExistingContainerTask
executeUsing -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, doNotTrackStateIf, hasTaskActions, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIshUnitRunnerDirectory
@Internal() final DirectoryProperty getIshUnitRunnerDirectory()
Directory the ISHUnit runner writes its results to.
-
getTestCartridge
@Input() final Property<String> getTestCartridge()
The name of the cartridge to be tested
-
getTestSuite
@Input() final Property<String> getTestSuite()
The name of the test suite to be executed
-
getAdditionalEnvironment
@Input() final Property<ContainerEnvironment> getAdditionalEnvironment()
Additional environment variables
-
getSharedResources
@Internal() List<ResourceLock> getSharedResources()
-
-
-
-