DefaultTestFiles

class DefaultTestFiles : TestFiles

Types

Companion
Link copied to clipboard
object Companion
ScopeResult
Link copied to clipboard
enum ScopeResult : Enum<DefaultTestFiles.ScopeResult>
The outcomes of a test scope that are relevant to us.

Functions

createDirectory
Link copied to clipboard
open override fun createDirectory(name: String?, delete: DeletionMode): Path
Creates a test directory in the directory of the current test scope.
createFile
Link copied to clipboard
open override fun createFile(name: String?, delete: DeletionMode): Path
Creates a test file in the directory of the current test scope.
enterScope
Link copied to clipboard
fun enterScope(name: String)
Reports that we have entered a new scope.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
leaveScope
Link copied to clipboard
fun leaveScope(result: DefaultTestFiles.ScopeResult)
Reports that we have left the scope that was entered most recently without being left yet.
toString
Link copied to clipboard
open fun toString(): String

Sources

(source)
Link copied to clipboard