aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android/instrumentation_test_check_test.py
Commit message (Collapse)AuthorAge
* Ensure that the target package in the <instrumentation> tag of the ↵Gravatar jingwen2017-12-19
instrumentation android_binary's AndroidManifest.xml references the correct package name of the instrumented android_binary. During an instrumentation test, ART will use the targetPackage specified in the instrumentation APK's AndroidManifest to determine the application to be instrumented. We can perform this check in Bazel at execution time, before the apps are loaded onto the device. See android_instrumentation_test_integration_test.sh for the e2e example. GITHUB: https://github.com/bazelbuild/bazel/issues/903 RELNOTES: None. PiperOrigin-RevId: 179564246