All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.kodein.mock.annotations.kt Maven / Gradle / Ivy

The newest version!
package org.kodein.mock

import kotlin.reflect.KClass

@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY)
public annotation class Mock

@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.FILE)
public annotation class UsesMocks(vararg val types: KClass<*>)

@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY)
public annotation class Fake

@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.FUNCTION)
public annotation class FakeProvider

@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.FILE)
public annotation class UsesFakes(vararg val types: KClass<*>)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy