MultiMockShared

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class MultiMockShared(val sourceSetName: String, val name: String, val 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.

Properties

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