Avoid using AndroidJUnit4 runner to test Entrypoint implementations.

This commit is contained in:
Benoit Marty 2025-09-15 10:49:13 +02:00
parent c90332bb6e
commit 4d7d0ac8d0
39 changed files with 271 additions and 119 deletions

View file

@ -7,16 +7,18 @@
package io.element.android.features.reportroom.impl
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.bumble.appyx.core.modality.BuildContext
import com.google.common.truth.Truth.assertThat
import io.element.android.libraries.matrix.test.A_ROOM_ID
import io.element.android.tests.testutils.node.TestParentNode
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class DefaultReportRoomEntryPointTest {
@get:Rule
val instantTaskExecutorRule = InstantTaskExecutorRule()
@Test
fun `test node builder`() {
val entryPoint = DefaultReportRoomEntryPoint()