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

Commit c24dfb68 authored by Yuncheol Heo's avatar Yuncheol Heo
Browse files

Annotate some FlickerTests to run in the presubmit.

- Excluded some tests which have the flakiness bigger than 1%:
https://screenshot.googleplex.com/54j3Nb3Gv5UDw2z.png
com.android.server.wm.flicker.launch.OpenAppWarmTest
com.android.server.wm.flicker.ime.CloseImeAutoOpenWindowToAppTest
com.android.server.wm.flicker.splitscreen.OpenAppToSplitScreenTest
com.android.server.wm.flicker.rotation.ChangeAppRotationTest

Bug: 167422027
Test: Check if the given tests are running in presubmit.
Change-Id: Id9d579bb12de010013d820ef15cab387429db48b
parent 692d2f91
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ android_test {
        "flickerlib",
        "truth-prebuilt",
        "launcher-helper-lib",
        "launcher-aosp-tapl"
        "launcher-aosp-tapl",
        "platform-test-annotations",
    ],
}

@@ -50,6 +51,7 @@ android_test {
        "truth-prebuilt",
        "app-helpers-core",
        "launcher-helper-lib",
        "launcher-aosp-tapl"
        "launcher-aosp-tapl",
        "platform-test-annotations",
    ],
}
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.dsl.flicker
@@ -39,6 +40,7 @@ import org.junit.runners.Parameterized
 * Test IME window closing back to app window transitions.
 * To run this test: `atest FlickerTests:CloseImeWindowToAppTest`
 */
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.NonRotationTestBase
@@ -39,6 +40,7 @@ import org.junit.runners.Parameterized
 * Test IME window closing back to app window transitions.
 * To run this test: `atest FlickerTests:CloseImeWindowToAppTest`
 */
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.NonRotationTestBase
@@ -40,6 +41,7 @@ import org.junit.runners.Parameterized
 * Test IME window closing to home transitions.
 * To run this test: `atest FlickerTests:CloseImeWindowToHomeTest`
 */
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.NonRotationTestBase
@@ -39,6 +40,7 @@ import org.junit.runners.Parameterized
 * Test IME window opening transitions.
 * To run this test: `atest FlickerTests:OpenImeWindowTest`
 */
@Presubmit
@RequiresDevice
@RunWith(Parameterized::class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
Loading