commit | 95a3c4549c348953d89c443dbd771dfbb648ec5a | [log] [tgz] |
---|---|---|
author | Abhijeet Kaur <abkaur@google.com> | Tue Feb 04 15:38:59 2020 +0000 |
committer | Abhijeet Kaur <abkaur@google.com> | Tue Feb 04 18:42:41 2020 +0000 |
tree | a6a432d65122e05431dc24ade0ff05cc98fdcf23 | |
parent | 72af7f9517bde8e17bcd7a11d905164fc28d1dff [diff] |
Set File Manager App Op for apps targeting R or higher Setting File Manager app op is explicitly for testing cts test apps that target test_current. Adding the check so that it does not interfere with other tests that target specific sdk. Bug: 148586283 Test: atest CtsDownloadManagerLegacy Test: atest android.appsecurity.cts.ExternalStorageHostTest#testMultiUserStorageIsolated Test: atest android.os.cts.FileAccessPermissionTest#testExternalStorageAccess Test: tools/tradefederation/core/tests/run_tradefed_tests.sh --class com.android.tradefed.util.AaptParserTest Change-Id: I066a3204767fab3f6fe3c7a033ed357ffe52c966
TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.
Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.
Building TF:
More information at: https://source.android.com/devices/tech/test_infra/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/tradefed/architecture
If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.