Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

Run LauncherFlowTest under Robolectric for the bundled list

jesse-agent-232c0ed4a9e23f1
diff --git a/app/src/test/java/app/tellyscope/LauncherFlowTest.kt b/app/src/test/java/app/tellyscope/LauncherFlowTest.kt
index 1ac3850..557c0c0 100644
--- a/app/src/test/java/app/tellyscope/LauncherFlowTest.kt
+++ b/app/src/test/java/app/tellyscope/LauncherFlowTest.kt
@@ -105,8 +105,13 @@ private class StoreTv : DeviceSource by FakeDeviceSource(FakeDeviceSource.Scenar
}
}
-/** Install a home screen: the Store wait, its dead ends, and the card's Not now. */
+/**
+ * Install a home screen: the Store wait, its dead ends, and the card's Not now. The picker's
+ * launchers come from the bundled `launchers.json`, read with Android's org.json: Robolectric.
+ */
@OptIn(ExperimentalCoroutinesApi::class)
+@RunWith(RobolectricTestRunner::class)
+@Config(sdk = [35])
class LauncherFlowTest {
private val dispatcher = StandardTestDispatcher()
private val test = TestScope(dispatcher)