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

nativeMain.dev.mokkery.internal.answering.autofill.AnyValueProvider.native.kt Maven / Gradle / Ivy

Go to download

Mokkery is a mocking library for Kotlin Multiplatform, easy to use, boilerplate-free and compiler plugin driven.

The newest version!
package dev.mokkery.internal.answering.autofill

import dev.mokkery.answering.autofill.AutofillProvider
import dev.mokkery.answering.autofill.AutofillProvider.Value
import kotlin.reflect.KClass

internal actual object AnyValueProvider : AutofillProvider {
    actual override fun provide(type: KClass<*>): Value = UnsafeValue.asAutofillProvided()

    actual fun notNullIfSupported(): AutofillProvider? = null
}

private object UnsafeValue




© 2015 - 2024 Weber Informatics LLC | Privacy Policy