Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unneeded cache clear
  • Loading branch information
seadowg committed Nov 26, 2025
commit f9db6d5c75b231a624cb07b50ad41043d2ccef12
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.odk.collect.android.benchmark

import android.app.Application
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.blankOrNullString
Expand Down Expand Up @@ -44,7 +42,6 @@ class EntitiesBenchmarkTest {
ENTITIES_FILTER_PROJECT_URL,
not(blankOrNullString())
)
clearAndroidCache()

val benchmarker = Benchmarker()

Expand Down Expand Up @@ -142,9 +139,3 @@ class EntitiesBenchmarkTest {
benchmarker.assertResults()
}
}

private fun clearAndroidCache() {
val application = ApplicationProvider.getApplicationContext<Application>()
application.cacheDir.deleteRecursively()
application.cacheDir.mkdir()
}