runTest that should work as it works in test project
This commit is contained in:
1 parent
ccb47be795
commit
9f7fc6e379
3 files changed
+23
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
package com.ionspin.kotlin.crypto.debug
|
||||
|
||||
/**
|
||||
* Created by Ugljesa Jovanovic
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 08-Feb-2021
|
||||
*/
|
||||
class DebugTest {
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package com.ionspin.kotlin.crypto.secretstream
|
||||
|
||||
actual fun modifyState(state: SecretStreamState, forceNonce: UByteArray) {
|
||||
}
|
||||
+10
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user