MockShared

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class MockShared(sourceSetName: String, interfaces: KClass<*>)

Determines which interfaces should be stubbed/mocked for a shared source.

Author

Matthias Geisler

Parameters

sourceSetName

to bind the given interface to a sourceSet (e.g. nativeTest or native).

interfaces

variable amount of interfaces.

Constructors

MockShared
Link copied to clipboard
common
fun MockShared(sourceSetName: String, vararg interfaces: KClass<*>)
to bind the given interface to a sourceSet (e.g.

Properties

interfaces
Link copied to clipboard
common
val interfaces: Array<out KClass<*>>
sourceSetName
Link copied to clipboard
common
val sourceSetName: String