Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 928618e6 authored by Ioana Moraru's avatar Ioana Moraru Committed by Android (Google) Code Review
Browse files

Merge "Move assertions for two activities transition"

parents 28b61fcd 31ff6f77
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
package com.android.server.wm.flicker.launch

import android.app.Instrumentation
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import androidx.test.filters.RequiresDevice
import androidx.test.platform.app.InstrumentationRegistry
import com.android.server.wm.flicker.entireScreenCovered
@@ -76,7 +76,7 @@ class ActivitiesTransitionTest(val testSpec: FlickerTestParameter) {
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun finishSubActivity() {
        testSpec.assertWm {
@@ -88,13 +88,13 @@ class ActivitiesTransitionTest(val testSpec: FlickerTestParameter) {
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun entireScreenCovered() {
        testSpec.entireScreenCovered(testSpec.config.startRotation)
    }

    @Postsubmit
    @Presubmit
    @Test
    fun launcherWindowNotVisible() {
        testSpec.assertWm {
@@ -102,7 +102,7 @@ class ActivitiesTransitionTest(val testSpec: FlickerTestParameter) {
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun launcherLayerNotVisible() {
        testSpec.assertLayers { this.isInvisible(LAUNCHER_COMPONENT) }