Add a test for CP delete files

Add the CP logic to #deleteFile and a test for it to make
it sure we don't break it.

Bug: 123529934
Test: unit tests
atest TradefedContentProviderHostTest
Bug: 123528776

Change-Id: I8cbf340b7ab7487cafe0674f01e48f45fb5db8d9
Merged-In: I8cbf340b7ab7487cafe0674f01e48f45fb5db8d9
4 files changed
tree: b02982242879e766b4d04348cbe2f453d06c918b
  1. .classpath
  2. .gitignore
  3. .project
  4. Android.bp
  5. Android.mk
  6. CleanSpec.mk
  7. MANIFEST.mf
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
  12. atest/
  13. atest_tradefed.sh
  14. error_prone_rules.mk
  15. prod-tests/
  16. proto/
  17. pylintrc
  18. python-lib/
  19. remote/
  20. res/
  21. run_tf_cmd.sh
  22. script_help.sh
  23. src/
  24. tests/
  25. tradefed.sh
  26. tradefed_win.bat
  27. util-apps/
  28. 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/