runTest that should work as it works in test project
This commit is contained in:
parent
ccb47be795
commit
9f7fc6e379
@ -0,0 +1,9 @@
|
|||||||
|
package com.ionspin.kotlin.crypto.debug
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by Ugljesa Jovanovic
|
||||||
|
* ugljesa.jovanovic@ionspin.com
|
||||||
|
* on 08-Feb-2021
|
||||||
|
*/
|
||||||
|
class DebugTest {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.ionspin.kotlin.crypto.secretstream
|
||||||
|
|
||||||
|
actual fun modifyState(state: SecretStreamState, forceNonce: UByteArray) {
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package com.ionspin.kotlin.crypto.util
|
||||||
|
|
||||||
|
import kotlinx.coroutines.CoroutineScope
|
||||||
|
|
||||||
|
|
||||||
|
actual fun runTest(block: suspend (scope : CoroutineScope) -> Unit) {
|
||||||
|
kotlinx.coroutines.test.runTest {
|
||||||
|
block(this)
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user