Skip to content

Commit 1026b47

Browse files
TapchicomaSpace Team
authored and
Space Team
committed
[Gradle] Add KDoc for KotlinTargetWithTests
^KT-58858 In Progress
1 parent 54452c0 commit 1026b47

File tree

1 file changed

+14
-3
lines changed
  • libraries/tools/kotlin-gradle-plugin-api/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin

1 file changed

+14
-3
lines changed

libraries/tools/kotlin-gradle-plugin-api/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinTarget.kt

+14-3
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,25 @@ interface KotlinTarget : Named, HasAttributes, HasProject, HasMutableExtras {
193193
}
194194

195195
/**
196-
* @suppress TODO: KT-58858 add documentation
196+
* Represents a [KotlinTarget] that includes test runs.
197197
*/
198198
interface KotlinTargetWithTests<E : KotlinExecution.ExecutionSource, T : KotlinTargetTestRun<E>> : KotlinTarget {
199-
/** The container with the test run executions.
200-
* A target may automatically create and configure a test run by the name [DEFAULT_TEST_RUN_NAME]. */
199+
200+
/**
201+
* The container that holds test run executions.
202+
*
203+
* A test run by the name [DEFAULT_TEST_RUN_NAME] is automatically created and configured.
204+
*/
201205
val testRuns: NamedDomainObjectContainer<T>
202206

207+
/**
208+
* [KotlinTargetWithTests] constants.
209+
*/
203210
companion object {
211+
212+
/**
213+
* The name of the default [KotlinTargetTestRun] created by [KotlinTargetWithTests].
214+
*/
204215
const val DEFAULT_TEST_RUN_NAME = "test"
205216
}
206217
}

0 commit comments

Comments
 (0)