2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

Bug 1840791 - Remove unused GleanTestRule.

This commit is contained in:
mcarare 2023-06-08 20:40:35 +03:00 committed by mergify[bot]
parent 479156f439
commit 7d246d2134

View File

@ -8,25 +8,16 @@ import com.google.android.material.tabs.TabLayout
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import mozilla.components.service.glean.testing.GleanTestRule
import mozilla.components.support.test.libstate.ext.waitUntilIdle
import mozilla.components.support.test.middleware.CaptureActionsMiddleware
import mozilla.components.support.test.robolectric.testContext
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.mozilla.fenix.helpers.FenixRobolectricTestRunner
@RunWith(FenixRobolectricTestRunner::class) // for gleanTestRule
class TabLayoutObserverTest {
private val interactor = mockk<TabsTrayInteractor>(relaxed = true)
private lateinit var store: TabsTrayStore
private val middleware = CaptureActionsMiddleware<TabsTrayState, TabsTrayAction>()
@get:Rule
val gleanTestRule = GleanTestRule(testContext)
@Before
fun setup() {
store = TabsTrayStore(middlewares = listOf(middleware))