Resets content provider before each invocation.

This has been copied from aosp/944144, but instead of cherrypicking the entire
change, copying just these few lines is less invasive.

Fixes: 131710003
Test: 1. cts-tradefed 2. run cts -m CtsWebkitTestCases -t android.webkit.cts.DateSorterTest 3. run cts -m CtsWebkitTestCases -t android.webkit.cts.DateSorterTest --> both 2 and 3 pass
Change-Id: Ie00d875f14213619eeda56f8bdd08310adb40714
Merged-in: Ic0790730ec2235545e1edd3dadada8db2762d7f9
1 file changed
tree: dca9fcff4326c080b45214d89f34badf1ddfac17
  1. atest/
  2. prod-tests/
  3. proto/
  4. python-lib/
  5. remote/
  6. res/
  7. src/
  8. tests/
  9. util-apps/
  10. .classpath
  11. .gitignore
  12. .project
  13. Android.bp
  14. Android.mk
  15. atest_tradefed.sh
  16. CleanSpec.mk
  17. error_prone_rules.mk
  18. MANIFEST.mf
  19. OWNERS
  20. PREUPLOAD.cfg
  21. pylintrc
  22. README.md
  23. run_tf_cmd.sh
  24. script_help.sh
  25. TEST_MAPPING
  26. tradefed.sh
  27. tradefed_win.bat
  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/