Skip to content

Commit ef87f9a

Browse files
committed
Drop trial UI tests and Robolectric/JUnit 4 deps
1 parent 92781b9 commit ef87f9a

4 files changed

Lines changed: 0 additions & 181 deletions

File tree

buildsystem/dependencies.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,12 @@ ext {
110110
// testing dependencies
111111

112112
jUnitVersion = '5.11.4'
113-
jUnit4Version = '4.13.2'
114113
assertJVersion = '1.7.1'
115114
mockitoVersion = '5.18.0'
116115
mockitoKotlinVersion = '6.0.0'
117116
mockitoInlineVersion = '5.2.0'
118117
mockitoAndroidVersion = '5.18.0'
119118
hamcrestVersion = '1.3'
120-
robolectricVersion = '4.15'
121119
dexmakerVersion = '1.0'
122120
espressoVersion = '3.7.0'
123121
testingSupportLibVersion = '0.1'
@@ -153,7 +151,6 @@ ext {
153151
appauth : "net.openid:appauth:${appauthVersion}",
154152
documentFile : "androidx.documentfile:documentfile:${androidxDocumentfileVersion}",
155153
recyclerView : "androidx.recyclerview:recyclerview:${androidxRecyclerViewVersion}",
156-
robolectric : "org.robolectric:robolectric:${robolectricVersion}",
157154
androidxSplashscreen : "androidx.core:core-splashscreen:${androidxSplashscreenVersion}",
158155
androidxTestCore : "androidx.test:core:${androidxTestCoreVersion}",
159156
androidxTestJunitKtln : "androidx.test.ext:junit-ktx:${androidxTestJunitKtlnVersion}",
@@ -180,7 +177,6 @@ ext {
180177
junitApi : "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}",
181178
junitEngine : "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}",
182179
junitParams : "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}",
183-
junit4 : "junit:junit:${jUnit4Version}",
184180
junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}",
185181
minIo : "io.minio:minio:${minIoVersion}",
186182
mockito : "org.mockito:mockito-core:${mockitoVersion}",

presentation/build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@ android {
162162
quiet true
163163
}
164164

165-
testOptions {
166-
unitTests {
167-
includeAndroidResources = true
168-
}
169-
}
170-
171165
namespace 'org.cryptomator.presentation'
172166
}
173167

@@ -284,7 +278,6 @@ dependencies {
284278

285279
androidTestImplementation dependencies.runner
286280
androidTestImplementation dependencies.androidAnnotations
287-
androidTestImplementation dependencies.androidxTestJunitKtln
288281

289282

290283
testImplementation dependencies.junit
@@ -297,9 +290,6 @@ dependencies {
297290
testImplementation dependencies.mockitoKotlin
298291
testImplementation dependencies.mockitoInline
299292
testImplementation dependencies.hamcrest
300-
testImplementation dependencies.robolectric
301-
testImplementation dependencies.androidxTestCore
302-
testImplementation dependencies.junit4
303293
}
304294

305295
configurations {

presentation/src/androidTestApkstore/java/org/cryptomator/presentation/ui/activity/LicenseCheckActivityTrialScopeGuardTest.kt

Lines changed: 0 additions & 61 deletions
This file was deleted.

presentation/src/test/java/org/cryptomator/presentation/ui/layout/LicenseContentViewBinderTest.kt

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)