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

Commit 4c72af61 authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Add robolectric screenshot tests for bubble edu" into main

parents 767e466f bfb9af45
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -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: [
+0 −1
Original line number Diff line number Diff line
@@ -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">
+1 −0
Original line number Diff line number Diff line
sdk=NEWEST_SDK
graphicsMode=NATIVE