MultiMockShared

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

Determines which interfaces should be stubbed/mocked as a union of them a shared source.

Author

Matthias Geisler

Parameters

sourceSetName

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

name

name which used for the mock.

interfaces

variable amount of interfaces.

Constructors

MultiMockShared
Link copied to clipboard
common
fun MultiMockShared(sourceSetName: String, name: 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<*>>
name
Link copied to clipboard
common
val name: String
sourceSetName
Link copied to clipboard
common
val sourceSetName: String