Add a test to cover fix of #950

This commit is contained in:
Benoit Marty 2023-07-24 15:28:36 +02:00
parent 3457a76446
commit 754b4647ee
4 changed files with 121 additions and 0 deletions

View file

@ -20,6 +20,11 @@ plugins {
android {
namespace = "io.element.android.libraries.push.pushstore.impl"
defaultConfig {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments["clearPackageData"] = "true"
}
}
anvil {
@ -43,4 +48,13 @@ dependencies {
testImplementation(libs.coroutines.test)
testImplementation(projects.libraries.matrix.test)
testImplementation(projects.services.appnavstate.test)
androidTestImplementation(libs.coroutines.test)
androidTestImplementation(libs.test.core)
androidTestImplementation(libs.test.junit)
androidTestImplementation(libs.test.truth)
androidTestImplementation(libs.test.runner)
androidTestImplementation(projects.libraries.sessionStorage.test)
coreLibraryDesugaring(libs.android.desugar)
}