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

Commit a2c1839b authored by Ioana Moraru's avatar Ioana Moraru
Browse files

Move assertions for non-resizeable application

Move the tests for non-resizeable application from postsubmit to
presubmit

Bug: 167521668
Test: atest FlickerTests:OpenAppNonResizeableTest
Change-Id: If25f813975204772734331ff5ae686eeb1aa9f4c
parent dbe59006
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.server.wm.flicker.launch

import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.view.Surface
import android.view.WindowManagerPolicyConstants
import androidx.test.filters.FlakyTest
@@ -66,7 +66,7 @@ class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) : OpenAppTransiti
            }
        }

    @Postsubmit
    @Presubmit
    @Test
    override fun navBarLayerIsVisible() {
        testSpec.assertLayersEnd {
@@ -74,7 +74,7 @@ class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) : OpenAppTransiti
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun nonResizableAppLayerBecomesVisible() {
        testSpec.assertLayers {
@@ -86,7 +86,7 @@ class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) : OpenAppTransiti
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun nonResizableAppWindowBecomesVisible() {
        testSpec.assertWm {
@@ -99,7 +99,7 @@ class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) : OpenAppTransiti
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun nonResizableAppWindowBecomesVisibleAtEnd() {
        testSpec.assertWmEnd {