Loading libs/WindowManager/Shell/tests/flicker/Android.bp +66 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,25 @@ filegroup { } filegroup { name: "WMShellFlickerTestsPip-src", name: "WMShellFlickerTestsPip1-src", srcs: [ "src/com/android/wm/shell/flicker/pip/A*.kt", "src/com/android/wm/shell/flicker/pip/B*.kt", "src/com/android/wm/shell/flicker/pip/C*.kt", "src/com/android/wm/shell/flicker/pip/D*.kt", "src/com/android/wm/shell/flicker/pip/S*.kt", ], } filegroup { name: "WMShellFlickerTestsPip2-src", srcs: [ "src/com/android/wm/shell/flicker/pip/E*.kt", ], } filegroup { name: "WMShellFlickerTestsPip3-src", srcs: ["src/com/android/wm/shell/flicker/pip/*.kt"], } Loading Loading @@ -176,7 +194,9 @@ android_test { ], exclude_srcs: [ ":WMShellFlickerTestsBubbles-src", ":WMShellFlickerTestsPip-src", ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPip2-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ":WMShellFlickerTestsPipApps-src", ":WMShellFlickerTestsSplitScreenGroup1-src", Loading Loading @@ -207,11 +227,54 @@ android_test { instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip1", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip2", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip2-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip3", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ], exclude_srcs: [ ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPip2-src", ], } android_test { name: "WMShellFlickerTestsPipApps", defaults: ["WMShellFlickerTestsDefault"], Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipOnGoToHomeTest.kt +2 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.tools.device.flicker.legacy.FlickerBuilder import android.tools.device.flicker.legacy.LegacyFlickerTest import androidx.test.filters.FlakyTest import androidx.test.filters.RequiresDevice import com.android.wm.shell.flicker.pip.common.EnterPipTransition import org.junit.Assume import org.junit.FixMethodOrder import org.junit.Test Loading Loading @@ -55,7 +56,7 @@ import org.junit.runners.Parameterized @Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) open class AutoEnterPipOnGoToHomeTest(flicker: LegacyFlickerTest) : EnterPipViaAppUiButtonTest(flicker) { EnterPipTransition(flicker) { override val thisTransition: FlickerBuilder.() -> Unit = { transitions { tapl.goHome() } } override val defaultEnterPip: FlickerBuilder.() -> Unit = { Loading Loading
libs/WindowManager/Shell/tests/flicker/Android.bp +66 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,25 @@ filegroup { } filegroup { name: "WMShellFlickerTestsPip-src", name: "WMShellFlickerTestsPip1-src", srcs: [ "src/com/android/wm/shell/flicker/pip/A*.kt", "src/com/android/wm/shell/flicker/pip/B*.kt", "src/com/android/wm/shell/flicker/pip/C*.kt", "src/com/android/wm/shell/flicker/pip/D*.kt", "src/com/android/wm/shell/flicker/pip/S*.kt", ], } filegroup { name: "WMShellFlickerTestsPip2-src", srcs: [ "src/com/android/wm/shell/flicker/pip/E*.kt", ], } filegroup { name: "WMShellFlickerTestsPip3-src", srcs: ["src/com/android/wm/shell/flicker/pip/*.kt"], } Loading Loading @@ -176,7 +194,9 @@ android_test { ], exclude_srcs: [ ":WMShellFlickerTestsBubbles-src", ":WMShellFlickerTestsPip-src", ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPip2-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ":WMShellFlickerTestsPipApps-src", ":WMShellFlickerTestsSplitScreenGroup1-src", Loading Loading @@ -207,11 +227,54 @@ android_test { instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip1", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip2", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip2-src", ":WMShellFlickerTestsPipCommon-src", ], } android_test { name: "WMShellFlickerTestsPip3", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestPip.xml"], package_name: "com.android.wm.shell.flicker.pip", instrumentation_target_package: "com.android.wm.shell.flicker.pip", srcs: [ ":WMShellFlickerTestsBase-src", ":WMShellFlickerTestsPip3-src", ":WMShellFlickerTestsPipCommon-src", ], exclude_srcs: [ ":WMShellFlickerTestsPip1-src", ":WMShellFlickerTestsPip2-src", ], } android_test { name: "WMShellFlickerTestsPipApps", defaults: ["WMShellFlickerTestsDefault"], Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipOnGoToHomeTest.kt +2 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.tools.device.flicker.legacy.FlickerBuilder import android.tools.device.flicker.legacy.LegacyFlickerTest import androidx.test.filters.FlakyTest import androidx.test.filters.RequiresDevice import com.android.wm.shell.flicker.pip.common.EnterPipTransition import org.junit.Assume import org.junit.FixMethodOrder import org.junit.Test Loading Loading @@ -55,7 +56,7 @@ import org.junit.runners.Parameterized @Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) open class AutoEnterPipOnGoToHomeTest(flicker: LegacyFlickerTest) : EnterPipViaAppUiButtonTest(flicker) { EnterPipTransition(flicker) { override val thisTransition: FlickerBuilder.() -> Unit = { transitions { tapl.goHome() } } override val defaultEnterPip: FlickerBuilder.() -> Unit = { Loading