Landry Norris
02/11/2022, 9:31 PMcaused by java.lang.RuntimeException: Method allowThreadDiskReads in android.os.StrictMode not mocked
. I wrote a simple test (in thread), which reproduced the issue. This only started when I added Compose tests.Landry Norris
02/11/2022, 9:33 PMclass TestClass {
@get:Rule
val composetestRule = createComposeRule()
@Test
fun simpleTest() {
composeTestRule.setContent {
Text(text = "")
}
}
}
Landry Norris
02/11/2022, 9:35 PMLandry Norris
02/11/2022, 9:35 PMAlbert Chang
02/12/2022, 3:40 AMLandry Norris
02/12/2022, 4:03 AMLandry Norris
02/12/2022, 4:03 AM