commonMain.io.mockk.MockKSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockk-dsl-jvm Show documentation
Show all versions of mockk-dsl-jvm Show documentation
Java MockK DSL providing API for MockK implementation
The 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