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

commonMain.io.mockk.MockKSettings.kt Maven / Gradle / Ivy

There is a newer version: 1.13.13
Show newest version
package io.mockk

expect object MockKSettings {
    val relaxed: Boolean

    val relaxUnitFun: Boolean

    val recordPrivateCalls: Boolean

    val stackTracesOnVerify: Boolean

    val stackTracesAlignment: StackTracesAlignment
}

enum class StackTracesAlignment {
    LEFT,
    CENTER;
}

fun stackTracesAlignmentValueOf(property: String): StackTracesAlignment {
    return try {
        enumValueOf(property.uppercase())
    } catch (e: IllegalArgumentException) {
        StackTracesAlignment.CENTER
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy