Add presubmit tag in close test

Adding the Presubmit tag to the CloseAppBackButtonTest and the CloseAppHomeButtonTest so that it runs on presubmit.

Test: atest CloseAppBackButtonTest CloseAppHomeButtonTest
Change-Id: Iae797b11719793e00b6cc299da18e2a68aa052bc
This commit is contained in:
Antonella Dellanzo
2020-11-20 10:05:17 +01:00
parent 6b5344585b
commit 2195e8b951
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
package com.android.server.wm.flicker.close
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import androidx.test.platform.app.InstrumentationRegistry
@@ -51,6 +52,7 @@ import org.junit.runners.Parameterized
* Test app closes by pressing back button
* To run this test: `atest FlickerTests:CloseAppBackButtonTest`
*/
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)

View File

@@ -16,6 +16,7 @@
package com.android.server.wm.flicker.close
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import androidx.test.platform.app.InstrumentationRegistry
@@ -51,6 +52,7 @@ import org.junit.runners.Parameterized
* Test app closes by pressing home button.
* To run this test: `atest FlickerTests:CloseAppHomeButtonTest`
*/
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)