From 63e36b0403f0a28cf45402b339f445c656930d48 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 29 Jan 2020 10:16:57 +0100 Subject: [PATCH] Remove unused test --- .../internal/task/CoroutineSequencersTest.kt | 44 ------------------- 1 file changed, 44 deletions(-) diff --git a/matrix-sdk-android/src/test/java/im/vector/matrix/android/internal/task/CoroutineSequencersTest.kt b/matrix-sdk-android/src/test/java/im/vector/matrix/android/internal/task/CoroutineSequencersTest.kt index 4b6ae8b38d..0773be5ad2 100644 --- a/matrix-sdk-android/src/test/java/im/vector/matrix/android/internal/task/CoroutineSequencersTest.kt +++ b/matrix-sdk-android/src/test/java/im/vector/matrix/android/internal/task/CoroutineSequencersTest.kt @@ -128,48 +128,4 @@ class CoroutineSequencersTest { println("BLOCKING METHOD $name ENDS on ${Thread.currentThread().name}") return name } - - @Test - fun test_MoshiMap() { - val moshi = Moshi.Builder().build() - val sample = """ - { - "master_key": { - "user_id": "@alice:example.com", - "usage": ["master"], - "keys": { - "ed25519:base64+master+public+key": "base64+self+master+key", - } - }, - "self_signing_key": { - "user_id": "@alice:example.com", - "usage": ["self_signing"], - "keys": { - "ed25519:base64+self+signing+public+key": "base64+self+signing+public+key", - }, - "signatures": { - "@alice:example.com": { - "ed25519:base64+master+public+key": "base64+signature" - } - } - }, - "user_signing_key": { - "user_id": "@alice:example.com", - "keys": { - "ed25519:base64+device+signing+public+key": "base64+device+signing+public+key", - }, - "usage": ["user_signing"], - "signatures": { - "@alice:example.com": { - "ed25519:base64+master+public+key": "base64+signature" - } - } - } - """.trimIndent() - - val adapter = moshi.adapter>(Types.newParameterizedType(Map::class.java, List::class.java, String::class.java)) - - val map = adapter.fromJson(sample) - print(map) - } }