tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 4c661cea7ad5f1a3e1f02b906ed82a895ee266cf
parent de8aca3bd6a0c057f2c39ca7abead33812b24f1e
Author: mcarare <48995920+mcarare@users.noreply.github.com>
Date:   Mon,  8 Dec 2025 13:29:08 +0000

Bug 2004667 - Remove unused MainCoroutineRule from ToolbarPopupWindowTest r=android-reviewers,rebecatudor273

This patch removes the unused `MainCoroutineRule` and its import from `ToolbarPopupWindowTest`, as it is not needed for the tests in this class.

Differential Revision: https://phabricator.services.mozilla.com/D275423

Diffstat:
Mmobile/android/fenix/app/src/test/java/org/mozilla/fenix/utils/ToolbarPopupWindowTest.kt | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/mobile/android/fenix/app/src/test/java/org/mozilla/fenix/utils/ToolbarPopupWindowTest.kt b/mobile/android/fenix/app/src/test/java/org/mozilla/fenix/utils/ToolbarPopupWindowTest.kt @@ -10,9 +10,7 @@ import mozilla.components.browser.state.state.ReaderState import mozilla.components.browser.state.state.createCustomTab import mozilla.components.browser.state.state.createTab import mozilla.components.browser.state.store.BrowserStore -import mozilla.components.support.test.rule.MainCoroutineRule import org.junit.Assert.assertEquals -import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner @@ -20,9 +18,6 @@ import org.robolectric.RobolectricTestRunner @RunWith(RobolectricTestRunner::class) class ToolbarPopupWindowTest { - @get:Rule - val coroutinesTestRule = MainCoroutineRule() - @Test fun `getUrlForClipboard should get the right URL`() { // Custom tab