Loading packages/CredentialManager/tests/robotests/Android.bp 0 → 100644 +58 −0 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_base_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_base_license"], } android_app { name: "CredentialManagerRobo", srcs: [], static_libs: [ "SystemUI-core", "CredentialManager-handheld", "ScreenshotComposeUtilsLib", "androidx.test.espresso.core", "androidx.compose.material3_material3", "platform-screenshot-diff-core", ], manifest: "robo-manifest.xml", dont_merge_manifests: true, platform_apis: true, system_ext_specific: true, certificate: "platform", privileged: true, kotlincflags: ["-Xjvm-default=all"], asset_dirs: ["customization/assets"], resource_dirs: ["screenshot/customization/res"], use_resource_processor: true, } // This is a RNG (Robolectric native graphics) test target. android_robolectric_test { name: "CredentialManagerScreenshotTest", srcs: [ ":CredentialManagerScreenshotTestFiles", ], // Do not add any libraries here, instead add them to the ScreenshotTestStub static_libs: [ "androidx.compose.runtime_runtime", "androidx.test.uiautomator_uiautomator", "androidx.test.ext.junit", "inline-mockito-robolectric-prebuilt", "platform-parametric-runner-lib", "uiautomator-helpers", ], libs: [ "android.test.runner", "android.test.base", "android.test.mock", "truth", ], upstream: true, java_resource_dirs: ["config"], instrumentation_for: "CredentialManagerRobo", } packages/CredentialManager/tests/robotests/config/robolectric.properties 0 → 100644 +16 −0 Original line number Diff line number Diff line # Copyright (C) 2024 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. # sdk=NEWEST_SDK graphicsMode=NATIVE packages/CredentialManager/tests/robotests/customization/assets/phone/dark_landscape_singleCredentialScreen.png 0 → 100644 +77.3 KiB Loading image diff... packages/CredentialManager/tests/robotests/customization/assets/phone/dark_portrait_singleCredentialScreen.png 0 → 100644 +79.9 KiB Loading image diff... packages/CredentialManager/tests/robotests/customization/assets/phone/light_landscape_singleCredentialScreen.png 0 → 100644 +76.4 KiB Loading image diff... Loading
packages/CredentialManager/tests/robotests/Android.bp 0 → 100644 +58 −0 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_base_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_base_license"], } android_app { name: "CredentialManagerRobo", srcs: [], static_libs: [ "SystemUI-core", "CredentialManager-handheld", "ScreenshotComposeUtilsLib", "androidx.test.espresso.core", "androidx.compose.material3_material3", "platform-screenshot-diff-core", ], manifest: "robo-manifest.xml", dont_merge_manifests: true, platform_apis: true, system_ext_specific: true, certificate: "platform", privileged: true, kotlincflags: ["-Xjvm-default=all"], asset_dirs: ["customization/assets"], resource_dirs: ["screenshot/customization/res"], use_resource_processor: true, } // This is a RNG (Robolectric native graphics) test target. android_robolectric_test { name: "CredentialManagerScreenshotTest", srcs: [ ":CredentialManagerScreenshotTestFiles", ], // Do not add any libraries here, instead add them to the ScreenshotTestStub static_libs: [ "androidx.compose.runtime_runtime", "androidx.test.uiautomator_uiautomator", "androidx.test.ext.junit", "inline-mockito-robolectric-prebuilt", "platform-parametric-runner-lib", "uiautomator-helpers", ], libs: [ "android.test.runner", "android.test.base", "android.test.mock", "truth", ], upstream: true, java_resource_dirs: ["config"], instrumentation_for: "CredentialManagerRobo", }
packages/CredentialManager/tests/robotests/config/robolectric.properties 0 → 100644 +16 −0 Original line number Diff line number Diff line # Copyright (C) 2024 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. # sdk=NEWEST_SDK graphicsMode=NATIVE
packages/CredentialManager/tests/robotests/customization/assets/phone/dark_landscape_singleCredentialScreen.png 0 → 100644 +77.3 KiB Loading image diff...
packages/CredentialManager/tests/robotests/customization/assets/phone/dark_portrait_singleCredentialScreen.png 0 → 100644 +79.9 KiB Loading image diff...
packages/CredentialManager/tests/robotests/customization/assets/phone/light_landscape_singleCredentialScreen.png 0 → 100644 +76.4 KiB Loading image diff...