commit 3d9885918ecd02ba6a7837e45e21ca50e33caea5
parent 54645762d56f02076e5e70e7b6c87a54775e5990
Author: Ted Campbell <tcampbell@mozilla.com>
Date: Tue, 23 Dec 2025 17:19:12 +0000
Bug 2006718 - Fix some typos in StartupExcessiveResourceUseTest r=boek
Pull request: https://github.com/mozilla-firefox/firefox/pull/15
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/perf/StartupExcessiveResourceUseTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/perf/StartupExcessiveResourceUseTest.kt
@@ -105,16 +105,16 @@ class StartupExcessiveResourceUseTest {
private val uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
@Test
- fun verifyRunBlockingAndStrictModeSuppresionCount() {
+ fun verifyRunBlockingAndStrictModeSuppressionCount() {
uiDevice.waitForIdle() // wait for async UI to load.
- // This might cause intermittents: at an arbitrary point after start up (such as the visual
+ // This might cause intermittent: at an arbitrary point after start up (such as the visual
// completeness queue), we might run code on the main thread that suppresses StrictMode,
// causing this number to fluctuate depending on device speed. We'll deal with it if it occurs.
- val actualSuppresionCount = activityTestRule.activity.components.strictMode.suppressionCount.get().toInt()
+ val actualSuppressionCount = activityTestRule.activity.components.strictMode.suppressionCount.get().toInt()
val actualRunBlocking = RunBlockingCounter.count.get()
- assertEquals(failureMsgStrictMode, EXPECTED_SUPPRESSION_COUNT, actualSuppresionCount)
+ assertEquals(failureMsgStrictMode, EXPECTED_SUPPRESSION_COUNT, actualSuppressionCount)
assertTrue(failureMsgRunBlocking + "actual: $actualRunBlocking", actualRunBlocking in EXPECTED_RUNBLOCKING_RANGE)
// This below asserts fail in Firebase with different values for