commit | ced3fdcc4c962b7d04b39a70b5f884743efb5813 | [log] [tgz] |
---|---|---|
author | Yabin Huang <yabinh@google.com> | Wed Feb 14 17:05:44 2024 -0800 |
committer | Yabin Huang <yabinh@google.com> | Tue Apr 30 22:49:43 2024 +0000 |
tree | 3768dcc3138be8e233cda41a36d63620447a9ea6 | |
parent | 6c20cdcda9ae81b776b15c988789261ce9d6e8c9 [diff] |
Extend RunOnSecondaryUserTargetPreparer to allow concurrent secondary users This CL introduced a parameter into RunOnSecondaryUserTargetPreparer to allow to start a secondary user on a secondary display, and run concurrently with the current user. Bug:327704045 Test: m && make tradefed-tests && m -j tradefed && tools/tradefederation/core/tradefed.sh run singleCommand host -n --class com.android.tradefed.targetprep.RunOnSecondaryUserTargetPreparerTest Change-Id: Ie8653733a5b00ad9a48f5d3b7a510b81eda9edce
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.