[go: nahoru, domu]

Support lease/release devices using oxygen client(java version)

To use oxygen client(java version) to lease/release an device, it needs
1. speicfy -use_omnilab if it's using OmniLab's infra.
2. compile `java -jar ${JAR_FILE}` to lease/release an device.

Bug:360967609
Bug:328328646

Test: presubmit/unittests
Change-Id: Ia378d556aa16d49e11e50bf1b440a87b12100647
7 files changed
tree: d45ce6b1e612e70cd921d333a6bda5f5fe9ea706
  1. aoa_helper/
  2. atest_proto/
  3. avd_util/
  4. clearcut_client/
  5. common_util/
  6. device_build_interfaces/
  7. external_dependencies/
  8. global_configuration/
  9. invocation_interfaces/
  10. isolation/
  11. javatests/
  12. lite/
  13. proto/
  14. reference_tests/
  15. remote/
  16. res/
  17. src/
  18. test_framework/
  19. test_observatory/
  20. test_result_interfaces/
  21. tools/
  22. util_apps/
  23. .classpath
  24. .gitignore
  25. .project
  26. Android.bp
  27. Android.mk
  28. aosp_sha.sh
  29. atest_tradefed.sh
  30. CleanSpec.mk
  31. error_prone_rules.mk
  32. MANIFEST.mf
  33. MULTIUSER_OWNERS
  34. OWNERS
  35. PREUPLOAD.cfg
  36. pylintrc
  37. README.md
  38. run_tf_cmd.sh
  39. script_help.sh
  40. TEST_MAPPING
  41. tradefed.sh
  42. tradefed_win.bat
README.md

Trade Federation (TF / Tradefed)

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:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

Getting Code Reviewed

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

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.