Loading libs/WindowManager/Shell/tests/flicker/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ android_test { android_test { name: "WMShellFlickerServiceTests", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestSplitScreen.xml"], additional_manifests: ["manifests/AndroidManifestService.xml"], package_name: "com.android.wm.shell.flicker.service", instrumentation_target_package: "com.android.wm.shell.flicker.service", srcs: [ Loading libs/WindowManager/Shell/tests/flicker/manifests/AndroidManifestService.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2023 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.wm.shell.flicker.service"> <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.wm.shell.flicker.service" android:label="WindowManager Flicker Service Tests"> </instrumentation> </manifest> tests/FlickerTests/Android.bp +20 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ filegroup { srcs: ["src/**/rotation/*.kt"], } filegroup { name: "FlickerServiceTests-src", srcs: [ "src/com/android/server/wm/flicker/service/**/*.kt", ], } java_defaults { name: "FlickerTestsDefault", manifest: "manifests/AndroidManifest.xml", Loading Loading @@ -109,6 +116,7 @@ android_test { ":FlickerTestsQuickswitch-src", ":FlickerTestsRotation-src", ":FlickerTestsNotification-src", ":FlickerServiceTests-src", ], } Loading Loading @@ -190,6 +198,18 @@ android_test { ], } android_test { name: "FlickerServiceTests", defaults: ["FlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestService.xml"], package_name: "com.android.server.wm.flicker.service", instrumentation_target_package: "com.android.server.wm.flicker.service", srcs: [ ":FlickerTestsBase-src", ":FlickerServiceTests-src", ], } java_library { name: "wm-flicker-common-assertions", platform_apis: true, Loading tests/FlickerTests/manifests/AndroidManifestService.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2023 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.server.wm.flicker.service"> <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.server.wm.flicker.service" android:label="WindowManager Flicker Service Tests"> </instrumentation> </manifest> Loading
libs/WindowManager/Shell/tests/flicker/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ android_test { android_test { name: "WMShellFlickerServiceTests", defaults: ["WMShellFlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestSplitScreen.xml"], additional_manifests: ["manifests/AndroidManifestService.xml"], package_name: "com.android.wm.shell.flicker.service", instrumentation_target_package: "com.android.wm.shell.flicker.service", srcs: [ Loading
libs/WindowManager/Shell/tests/flicker/manifests/AndroidManifestService.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2023 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.wm.shell.flicker.service"> <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.wm.shell.flicker.service" android:label="WindowManager Flicker Service Tests"> </instrumentation> </manifest>
tests/FlickerTests/Android.bp +20 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ filegroup { srcs: ["src/**/rotation/*.kt"], } filegroup { name: "FlickerServiceTests-src", srcs: [ "src/com/android/server/wm/flicker/service/**/*.kt", ], } java_defaults { name: "FlickerTestsDefault", manifest: "manifests/AndroidManifest.xml", Loading Loading @@ -109,6 +116,7 @@ android_test { ":FlickerTestsQuickswitch-src", ":FlickerTestsRotation-src", ":FlickerTestsNotification-src", ":FlickerServiceTests-src", ], } Loading Loading @@ -190,6 +198,18 @@ android_test { ], } android_test { name: "FlickerServiceTests", defaults: ["FlickerTestsDefault"], additional_manifests: ["manifests/AndroidManifestService.xml"], package_name: "com.android.server.wm.flicker.service", instrumentation_target_package: "com.android.server.wm.flicker.service", srcs: [ ":FlickerTestsBase-src", ":FlickerServiceTests-src", ], } java_library { name: "wm-flicker-common-assertions", platform_apis: true, Loading
tests/FlickerTests/manifests/AndroidManifestService.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2023 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.server.wm.flicker.service"> <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.server.wm.flicker.service" android:label="WindowManager Flicker Service Tests"> </instrumentation> </manifest>