summaryrefslogtreecommitdiff
path: root/libs/local/src/test
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-09-03 23:53:36 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-09-03 23:53:36 +0200
commit9e44d7abadd091b2ad77e76ebede09d36febdfa8 (patch)
tree1ceca703024a2f3a1ef599ca14245aad8657733d /libs/local/src/test
parentc6e7689f7c0354582edca55e08dd9531d666d936 (diff)
Remove robolectric from test-utils
Will make it possible to use TreeAbstractTest in androidTest as well as unittest
Diffstat (limited to 'libs/local/src/test')
-rw-r--r--libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt b/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
index e2d4264..3eba188 100644
--- a/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
+++ b/libs/local/src/test/java/org/the_jk/cleversync/local/LocalTreeTest.kt
@@ -6,6 +6,7 @@ import org.junit.rules.TemporaryFolder
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
+import org.robolectric.shadows.ShadowLooper
import org.the_jk.cleversync.TreeAbstractTest
@Config(manifest=Config.NONE)
@@ -20,4 +21,8 @@ class LocalTreeTest : TreeAbstractTest() {
}
override fun supportSymlinks() = true
+
+ override fun idle() {
+ ShadowLooper.idleMainLooper()
+ }
}