Errors from non-mockked code #1228
-
I got errors from all my instrumented tests using the following function. override fun prepare(buffers: Array<ByteArray>, looping: Boolean, audibleIndex: Long) However, I do not have any mockk setup for the tests involving the code above. I also tried to clear all the mockked objects but it doesn't help. I saw an issue #300 kinda related to this but not sure. If I remove all code using mockk, the errors disappear. The log is attached below. Is this something I can solve on my end?
My gradle settings
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Replacing override fun prepare(buffers: Array<ByteArray>, looping: Boolean, audibleIndex: Long) to override fun prepare(buffers: List<ByteArray>, looping: Boolean, audibleIndex: Long) worked for me. I have no idea why this change fixes the issue. If you know the cause, please let us know :) |
Beta Was this translation helpful? Give feedback.
Replacing
to
worked for me. I have no idea why this change fixes the issue. If you know the cause, please let us know :)