TestSpec

data class TestSpec(val levels: EnumSet<TestLevel>)(source)

Constructors

Link copied to clipboard
constructor(levels: EnumSet<TestLevel>)
constructor(levels: Collection<TestLevel>)
constructor(first: TestLevel, vararg rest: TestLevel)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun annotations(): List<AnnotationModel>
Link copied to clipboard
Link copied to clipboard
fun configure(test: AbstractKotlinCompilerTest, builder: TestConfigurationBuilder)
Link copied to clipboard
operator fun contains(level: TestLevel): Boolean
Link copied to clipboard
fun forEachLevel(block: (TestLevel) -> Unit)
Link copied to clipboard
fun forEachNotLevel(block: (TestLevel) -> Unit)
Link copied to clipboard
operator fun minus(other: TestLevel): TestSpec
Link copied to clipboard
operator fun plus(other: TestLevel): TestSpec
operator fun plus(other: TestSpec): TestSpec
Link copied to clipboard
fun preConfigure(test: AbstractKotlinCompilerTest, builder: TestConfigurationBuilder)
Link copied to clipboard
fun testClass(): KClass<*>?
Link copied to clipboard
context(generator: TestGenerationBuilder)
operator fun TestSpec.unaryMinus()

Remove test levels from this group, and any descendents.

Link copied to clipboard
context(generator: TestGenerationBuilder)
operator fun TestSpec.unaryPlus()

Add test levels to this group, and any descendents.