TestParameter

data class TestParameter @JvmOverloads constructor(val name: String, val type: KClass<*>, val isNullable: Boolean = false, val annotations: List<Annotation> = emptyList(), val clock: Clock = Clock.systemUTC())

Represents a parameter for a test method.

Constructors

Link copied to clipboard
constructor(name: String, type: KClass<*>, isNullable: Boolean = false, annotations: List<Annotation> = emptyList(), clock: Clock = Clock.systemUTC())

Properties

Link copied to clipboard

The annotations associated with the parameter.

Link copied to clipboard

The clock a time-based provider should read "now" from.

Link copied to clipboard

Whether the parameter is nullable.

Link copied to clipboard

The name of the parameter.

Link copied to clipboard
val type: KClass<*>

The type of the parameter.