I hereby claim:
- I am mirceanis on github.
- I am mirceanis (https://keybase.io/mirceanis) on keybase.
- I have a public key ASBwHPMnGgDLxUH5CMq_j1RN-7rfMrhTQVRfxqoBHgWO1wo
To claim this, I am signing this object:
0x58EDA274693875321cB61bDEF7805bC0e1E6e59d |
package com.example | |
import org.junit.Test | |
import org.kethereum.bip39.Mnemonic | |
//run as an android instrumented test | |
@Test | |
fun testJwtComponents() { | |
//causes crash because the provider is not initialized yet |
import com.nhaarman.mockitokotlin2.any | |
import com.nhaarman.mockitokotlin2.doReturn | |
import com.nhaarman.mockitokotlin2.mock | |
import com.nhaarman.mockitokotlin2.whenever | |
import kotlinx.coroutines.experimental.runBlocking | |
import org.junit.Assert | |
import org.junit.Test | |
import kotlin.coroutines.experimental.suspendCoroutine | |
/** |
val target = File(context.getFilesDir(), "my-file") | |
val fd = ParcelFileDescriptor.open(target, ParcelFileDescriptor.MODE_READ_WRITE).detachFd() | |
//fd is an int that's ok to be passed to native code |
@file:Suppress("MemberVisibilityCanBePrivate", "EXPERIMENTAL_API_USAGE") | |
import kotlinx.serialization.ImplicitReflectionSerializer | |
import kotlinx.serialization.SerialName | |
import kotlinx.serialization.Serializable | |
import kotlinx.serialization.json.* | |
import kotlinx.serialization.modules.getContextualOrDefault | |
import org.junit.Test | |
class ArbitrarySerializationTests { |
I hereby claim:
To claim this, I am signing this object:
import { | |
Field, | |
isReady, | |
method, | |
Mina, | |
Party, | |
PrivateKey, | |
PublicKey, | |
shutdown, | |
SmartContract, |