Reuse the ExecutorService in DelegateRunnerWithTimeout so all tests are run on the same thread.

Summary:
It appears that all tests that use `ShadowLooper` in Robolectric need to be started from
the same thread so that its `resetThreadLoopers()` method works as expected.

Test Plan:
Sandcastle builds.
I promise to write an integration test in a follow-up diff.
1 file changed
tree: b3012fd52ed6289e34ce7269e07bbed80f75709c
  1. .buckconfig
  2. .classpath
  3. .gitignore
  4. .idea/
  5. .project
  6. DEFS
  7. LICENSE
  8. README.md
  9. bin/
  10. buck.iml
  11. build.xml
  12. config/
  13. docs/
  14. lib/
  15. plugin/
  16. pmd/
  17. scripts/
  18. src/
  19. test/
  20. testdata/
  21. third-party/
README.md

Buck

Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.

Installation

To build Buck, run the following:

git clone git@github.com:facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0