[Tests] Add javadoc for @TestMetadata
Merge-request: KT-MR-13338 Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
776926518d
commit
834602b737
+10
@@ -11,11 +11,21 @@ import java.util.concurrent.atomic.AtomicInteger
|
||||
import kotlin.io.path.appendText
|
||||
|
||||
|
||||
/**
|
||||
* Appends top-level `private val` to the content of the file.
|
||||
* Throws SecurityException or IOException, if append failed.
|
||||
* Every call to [addPrivateVal] or [addPublicVal] generates a new value name.
|
||||
*/
|
||||
fun Path.addPrivateVal(): Path {
|
||||
appendText("\nprivate val integerValue${changeCounter.incrementAndGet()} = 24\n")
|
||||
return this
|
||||
}
|
||||
|
||||
/**
|
||||
* Appends top-level `public val` to the content of the file.
|
||||
* Throws SecurityException or IOException, if append failed.
|
||||
* Every call to [addPrivateVal] or [addPublicVal] generates a new value name.
|
||||
*/
|
||||
fun Path.addPublicVal(): Path {
|
||||
appendText("\nval integerValue${changeCounter.incrementAndGet()} = 25\n")
|
||||
return this
|
||||
|
||||
Reference in New Issue
Block a user