Updated on 2026-08-14
This commit is contained in:
commit
d6f9f59866
1729 changed files with 67614 additions and 9361 deletions
|
|
@ -7,11 +7,6 @@ plugins {
|
|||
android {
|
||||
namespace = "com.tangem.domain.card"
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(projects.core.analytics.models)
|
||||
implementation(projects.core.error)
|
||||
|
|
@ -37,8 +32,6 @@ dependencies {
|
|||
}
|
||||
|
||||
/** Testing libraries */
|
||||
testRuntimeOnly(deps.test.junit5.engine)
|
||||
testRuntimeOnly(deps.test.junit5.vintage.engine)
|
||||
testImplementation(projects.common.test)
|
||||
testImplementation(projects.test.core)
|
||||
}
|
||||
|
|
@ -10,9 +10,7 @@ interface CardRepository {
|
|||
|
||||
suspend fun startCardActivation(cardId: String)
|
||||
|
||||
suspend fun finishCardActivation(cardId: String)
|
||||
|
||||
suspend fun finishCardsActivation(cardIds: List<String>)
|
||||
suspend fun finishCardActivation(cardId: String, hasBackupError: Boolean = false)
|
||||
|
||||
@Throws
|
||||
suspend fun isActivationStarted(cardId: String): Boolean
|
||||
|
|
@ -23,6 +21,9 @@ interface CardRepository {
|
|||
@Throws
|
||||
suspend fun isActivationInProgress(cardId: String): Boolean
|
||||
|
||||
@Throws
|
||||
suspend fun hasBackupError(cardId: String): Boolean
|
||||
|
||||
@Throws
|
||||
suspend fun isTangemTOSAccepted(): Boolean
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ package com.tangem.domain.card.configs
|
|||
|
||||
import com.tangem.blockchain.common.Blockchain
|
||||
import com.tangem.common.card.EllipticCurve
|
||||
import junit.framework.TestCase.assertEquals
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
class Wallet2CardConfigTest {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue