For #16376: move Startup*Test to perf pkg under code owners.

Instead of listing many different files here, we should just put them in
/perf/ packages and code owner them.
upstream-sync
Michael Comella 4 years ago committed by Michael Comella
parent 54c7dc70e7
commit 72ab058551

@ -51,7 +51,6 @@
*StrictMode*kt @mozilla-mobile/Performance
*ConstraintLayoutPerfDetector* @mozilla-mobile/Performance
*MozillaRunBlockingCheck.kt @mozilla-mobile/Performance
*StartupExcessiveResourceUseTest.kt @mozilla-mobile/Performance
# We want to be aware of new features behind flags as well as features
# about to be enabled.

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.fenix.ui
package org.mozilla.fenix.perf
import android.util.Log
import android.view.View
@ -16,10 +16,8 @@ import kotlinx.android.synthetic.main.activity_home.*
import org.junit.Assert.assertEquals
import org.junit.Rule
import org.junit.Test
import org.mozilla.fenix.perf.RunBlockingCounter
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.helpers.HomeActivityTestRule
import org.mozilla.fenix.perf.ComponentInitCount
// BEFORE INCREASING THESE VALUES, PLEASE CONSULT WITH THE PERF TEAM.
private const val EXPECTED_SUPPRESSION_COUNT = 11
@ -69,9 +67,7 @@ private val failureMsgRecyclerViewConstraintLayoutChildren = getErrorMessage(
* RunBlocking is mostly used to return values to a thread from a coroutine. However, if that
* coroutine takes too long, it can lead that thread to block every other operations.
*
* The perf team is code owners for this file so they should be notified when the count is modified.
*
* IF YOU UPDATE THE TEST NAME, UPDATE CODE OWNERS.
* The perf team is code owners for this package so they should be notified when the counts are modified.
*/
class StartupExcessiveResourceUseTest {
@get:Rule
Loading…
Cancel
Save