commit | c2a0c7bead4d91a539ca5e8b3d6c38a2ecf3fde9 | [log] [tgz] |
---|---|---|
author | bkchoi <bkchoi@google.com> | Wed Jun 05 00:56:04 2024 +0000 |
committer | BK Choi <bkchoi@google.com> | Wed Jun 05 03:17:26 2024 +0000 |
tree | 4027060c766df494ef594b9ee9c1efafb68054d6 | |
parent | b2f7cd141333799476be5989f9c5a098fad6b45b [diff] |
Revert unintentional behavior change of NativeDevice#pushFile When skipContentProvider is false, pushFile used to call ContentProviderHandler#pushFile. After the recent change, it is no longer the case when the current userId is 0. This change reverts the unintended behavior change to fix unexpected failures in mainline CTS. Bug: 344653352 Test: m -j tradefed-all Test: tools/tradefederation/core/javatests/run_tradefed_tests.sh \ --class com.android.tradefed.device.TestDeviceTest Test: tools/tradefederation/core/javatests/run_tradefed_tests.sh \ --class com.android.tradefed.device.NativeDeviceTest Test: atest android.media.player.cts.MediaPlayerSurfaceTest Test: atest --user-type secondary_user \ android.media.player.cts.MediaPlayerSurfaceTest Test: atest CtsMediaStressTestCases Change-Id: I29dbcbc4bf2c941adedf3e3a442a38c44ee39d9a
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.
1. Create your change in Gerrit 2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com) 3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews 4. GWSQ should add a couple of people from the team to review your code and give feedback.
More information at: https://source.android.com/docs/core/tests/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/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.