Loading libs/WindowManager/Shell/multivalentScreenshotTests/Android.bp +34 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,40 @@ package { default_team: "trendy_team_multitasking_windowing", } android_app { name: "WMShellRobolectricScreenshotTestApp", platform_apis: true, certificate: "platform", static_libs: [ "WindowManager-Shell", "platform-screenshot-diff-core", ], asset_dirs: ["goldens/robolectric"], manifest: "AndroidManifestRobolectric.xml", use_resource_processor: true, } android_robolectric_test { name: "WMShellRobolectricScreenshotTests", instrumentation_for: "WMShellRobolectricScreenshotTestApp", upstream: true, java_resource_dirs: [ "robolectric/config", ], srcs: [ "src/**/*.kt", ], static_libs: [ "junit", "androidx.test.runner", "androidx.test.rules", "androidx.test.ext.junit", "truth", "platform-parametric-runner-lib", ], auto_gen_config: true, } android_test { name: "WMShellMultivalentScreenshotTestsOnDevice", srcs: [ Loading libs/WindowManager/Shell/multivalentScreenshotTests/AndroidManifestRobolectric.xml +0 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.wm.shell.multivalentscreenshot"> <application android:debuggable="true" android:supportsRtl="true"> <uses-library android:name="android.test.runner" /> <activity android:name="platform.test.screenshot.ScreenshotActivity" android:exported="true"> Loading libs/WindowManager/Shell/multivalentScreenshotTests/goldens/robolectric/phone/dark_portrait_bubbles_education.png 0 → 100644 +55 KiB Loading image diff... libs/WindowManager/Shell/multivalentScreenshotTests/goldens/robolectric/phone/light_portrait_bubbles_education.png 0 → 100644 +55 KiB Loading image diff... libs/WindowManager/Shell/multivalentScreenshotTests/robolectric/config/robolectric.properties +1 −0 Original line number Diff line number Diff line sdk=NEWEST_SDK graphicsMode=NATIVE Loading
libs/WindowManager/Shell/multivalentScreenshotTests/Android.bp +34 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,40 @@ package { default_team: "trendy_team_multitasking_windowing", } android_app { name: "WMShellRobolectricScreenshotTestApp", platform_apis: true, certificate: "platform", static_libs: [ "WindowManager-Shell", "platform-screenshot-diff-core", ], asset_dirs: ["goldens/robolectric"], manifest: "AndroidManifestRobolectric.xml", use_resource_processor: true, } android_robolectric_test { name: "WMShellRobolectricScreenshotTests", instrumentation_for: "WMShellRobolectricScreenshotTestApp", upstream: true, java_resource_dirs: [ "robolectric/config", ], srcs: [ "src/**/*.kt", ], static_libs: [ "junit", "androidx.test.runner", "androidx.test.rules", "androidx.test.ext.junit", "truth", "platform-parametric-runner-lib", ], auto_gen_config: true, } android_test { name: "WMShellMultivalentScreenshotTestsOnDevice", srcs: [ Loading
libs/WindowManager/Shell/multivalentScreenshotTests/AndroidManifestRobolectric.xml +0 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.wm.shell.multivalentscreenshot"> <application android:debuggable="true" android:supportsRtl="true"> <uses-library android:name="android.test.runner" /> <activity android:name="platform.test.screenshot.ScreenshotActivity" android:exported="true"> Loading
libs/WindowManager/Shell/multivalentScreenshotTests/goldens/robolectric/phone/dark_portrait_bubbles_education.png 0 → 100644 +55 KiB Loading image diff...
libs/WindowManager/Shell/multivalentScreenshotTests/goldens/robolectric/phone/light_portrait_bubbles_education.png 0 → 100644 +55 KiB Loading image diff...
libs/WindowManager/Shell/multivalentScreenshotTests/robolectric/config/robolectric.properties +1 −0 Original line number Diff line number Diff line sdk=NEWEST_SDK graphicsMode=NATIVE