commonMain.dev.mokkery.internal.tracing.CallTrace.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mokkery-runtime Show documentation
Show all versions of mokkery-runtime Show documentation
Mokkery is a mocking library for Kotlin Multiplatform, easy to use, boilerplate-free and compiler plugin driven.
The newest version!
package dev.mokkery.internal.tracing
import dev.mokkery.internal.callFunctionToString
import dev.mokkery.internal.callToString
internal data class CallTrace(
val receiver: String,
val name: String,
val args: List,
val orderStamp: Long,
) {
override fun toString(): String = callToString(receiver, name, args)
fun toStringNoReceiver() = callFunctionToString(name, args)
}