-
- All Implemented Interfaces:
-
org.gradle.api.Named
,org.jetbrains.kotlin.gradle.execution.KotlinAggregatingExecution
,org.jetbrains.kotlin.gradle.plugin.CompilationExecutionSourceSupport
,org.jetbrains.kotlin.gradle.plugin.ExecutionTaskHolder
,org.jetbrains.kotlin.gradle.plugin.KotlinExecution
,org.jetbrains.kotlin.gradle.plugin.KotlinTargetExecution
,org.jetbrains.kotlin.gradle.plugin.KotlinTargetTestRun
,org.jetbrains.kotlin.gradle.plugin.KotlinTestRun
,org.jetbrains.kotlin.gradle.testing.KotlinAggregatingTestRun
public abstract class KotlinJsReportAggregatingTestRun extends KotlinReportAggregatingTestRun<JsCompilationExecutionSource, JsAggregatingExecutionSource, KotlinJsPlatformTestRun> implements KotlinTargetTestRun<JsAggregatingExecutionSource>, CompilationExecutionSourceSupport<KotlinJsCompilation>
-
-
Field Summary
Fields Modifier and Type Field Description private final JsAggregatingExecutionSource
executionSource
private final KotlinJsSubTargetContainerDsl
target
private TaskProvider<KotlinTestReport>
executionTask
private final String
testRunName
-
Constructor Summary
Constructors Constructor Description KotlinJsReportAggregatingTestRun(String testRunName, KotlinJsSubTargetContainerDsl target)
-
Method Summary
Modifier and Type Method Description JsAggregatingExecutionSource
getExecutionSource()
KotlinJsSubTargetContainerDsl
getTarget()
TaskProvider<KotlinTestReport>
getExecutionTask()
Unit
setExecutionTask(TaskProvider<KotlinTestReport> executionTask)
final String
getTestRunName()
Unit
setExecutionSourceFrom(KotlinJsCompilation compilation)
Iterable<KotlinJsPlatformTestRun>
getConfiguredExecutions()
Returns the aggregated executions that are already configured up to this moment. Unit
configureAllExecutions(Function1<KotlinJsPlatformTestRun, Unit> configure)
Configures all of the executions aggregated by this execution. Unit
filter(Closure<?> configureFilter)
-
Methods inherited from class org.jetbrains.kotlin.gradle.testing.KotlinAggregatingTestRun
configureAllExecutions
-
Methods inherited from class org.jetbrains.kotlin.gradle.targets.js.KotlinJsReportAggregatingTestRun
filter, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KotlinJsReportAggregatingTestRun
KotlinJsReportAggregatingTestRun(String testRunName, KotlinJsSubTargetContainerDsl target)
-
-
Method Detail
-
getExecutionSource
JsAggregatingExecutionSource getExecutionSource()
-
getTarget
KotlinJsSubTargetContainerDsl getTarget()
-
getExecutionTask
TaskProvider<KotlinTestReport> getExecutionTask()
-
setExecutionTask
Unit setExecutionTask(TaskProvider<KotlinTestReport> executionTask)
-
getTestRunName
final String getTestRunName()
-
setExecutionSourceFrom
Unit setExecutionSourceFrom(KotlinJsCompilation compilation)
-
getConfiguredExecutions
Iterable<KotlinJsPlatformTestRun> getConfiguredExecutions()
Returns the aggregated executions that are already configured up to this moment. Some test runs may be missing from the results if they are not yet configured.
-
configureAllExecutions
Unit configureAllExecutions(Function1<KotlinJsPlatformTestRun, Unit> configure)
Configures all of the executions aggregated by this execution. If some of the executions are not yet created up to this point, configure will be called on them later, once they are created.
-
-
-
-