Skip to content

Commit

Permalink
[Gradle] Add KDoc for KotlinTargetWithTests
Browse files Browse the repository at this point in the history
^KT-58858 In Progress
  • Loading branch information
Tapchicoma authored and qodana-bot committed Nov 14, 2024
1 parent 54452c0 commit 1026b47
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,25 @@ interface KotlinTarget : Named, HasAttributes, HasProject, HasMutableExtras {
}

/**
* @suppress TODO: KT-58858 add documentation
* Represents a [KotlinTarget] that includes test runs.
*/
interface KotlinTargetWithTests<E : KotlinExecution.ExecutionSource, T : KotlinTargetTestRun<E>> : KotlinTarget {
/** The container with the test run executions.
* A target may automatically create and configure a test run by the name [DEFAULT_TEST_RUN_NAME]. */

/**
* The container that holds test run executions.
*
* A test run by the name [DEFAULT_TEST_RUN_NAME] is automatically created and configured.
*/
val testRuns: NamedDomainObjectContainer<T>

/**
* [KotlinTargetWithTests] constants.
*/
companion object {

/**
* The name of the default [KotlinTargetTestRun] created by [KotlinTargetWithTests].
*/
const val DEFAULT_TEST_RUN_NAME = "test"
}
}

0 comments on commit 1026b47

Please sign in to comment.