Add a status checker for activity on top

Check that activity on top is the home launcher and not
some left over activity from previous tests.

Test: unit tests
Bug: 64713262
Change-Id: Iafd34881370a3f5104439598c89f466d22351bd1
6 files changed
tree: d4bace5f3a3de4295822f9ceb2877ae992d85d3d
  1. prod-tests/
  2. proto/
  3. remote/
  4. res/
  5. src/
  6. tests/
  7. util-apps/
  8. .classpath
  9. .gitignore
  10. .project
  11. Android.mk
  12. CleanSpec.mk
  13. error_prone_rules.mk
  14. MANIFEST.mf
  15. PREUPLOAD.cfg
  16. README.md
  17. run_tf_cmd.sh
  18. script_help.sh
  19. tradefed.sh
  20. tradefed_win.bat
  21. verify.sh
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

More information at: https://source.android.com/devices/tech/test_infra/tradefed/