Skip to content

Instantly share code, notes, and snippets.

@oleksiyp

oleksiyp/out.log Secret

Created April 12, 2018 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oleksiyp/9c6cc112e6f15c471201aff73f2eb291 to your computer and use it in GitHub Desktop.
Save oleksiyp/9c6cc112e6f15c471201aff73f2eb291 to your computer and use it in GitHub Desktop.
MockK native
TRACE Starting Native MockK implementation.
DEBUG Creating mockk for TestCls name=#1, moreInterfaces=[]
Uncaught exception from Kotlin's main: kotlin.NotImplementedError: An operation is not implemented: identity hash code
at kfun:kotlin.Error.<init>(kotlin.String?)kotlin.Error (0x410e66)
at kfun:kotlin.NotImplementedError.<init>(kotlin.String)kotlin.NotImplementedError (0x41be46)
at kfun:io.mockk.InternalPlatformDsl.identityHashCode(kotlin.Any)ValueType (0x4823e5)
at kfun:io.mockk.impl.InternalPlatform.hkd(kotlin.Any)kotlin.String (0x4976bb)
at kfun:io.mockk.impl.instantiation.AbstractMockFactory.mockk$lambda-1#internal (0x4b61d5)
at kfun:io.mockk.impl.instantiation.AbstractMockFactory.mockk.$<anonymous>$1.invoke#internal (0x4b6039)
at kfun:io.mockk.impl.log.NativeConsoleLogger.trace(kotlin.Function0<kotlin.String>) (0x4b8dbd)
at kfun:io.mockk.impl.log.SafeLogger.trace$lambda-8#internal (0x492044)
at kfun:io.mockk.impl.log.SafeLogger.trace.$<anonymous>$8.invoke#internal (0x491f17)
at kfun:io.mockk.impl.log.SafeLogger.trace.$<anonymous>$8.$<bridge-UN>invoke()#internal (0x491f87)
at kfun:io.mockk.impl.recording.CommonCallRecorder.safeExec(kotlin.Function0<#GENERIC>)Generic (0x48fdab)
at kfun:io.mockk.impl.log.SafeLogger.safeLogging#internal (0x490e88)
at kfun:io.mockk.impl.log.SafeLogger.trace(kotlin.Function0<kotlin.String>) (0x4908b5)
at kfun:io.mockk.impl.instantiation.AbstractMockFactory.mockk(kotlin.reflect.KClass<#GENERIC_kotlin.Any>;kotlin.String?;kotlin.Boolean;kotlin.Array<out_kotlin.reflect.KClass<#STAR>>)Generic (0x4af428)
at kfun:main(kotlin.Array<kotlin.String>) (0x403d95)
at EntryPointSelector (0x4039f6)
at Konan_start (0x403967)
at Konan_run_start (0x4038e2)
at Konan_main (0x403857)
at __libc_start_main (0x7f18371e3f2a)
at (0x4036b4)
at ((nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment