Integration test to verify all tests are run on the same thread under @RunWith.

Summary:
Updated `DelegateRunnerWithTimeout` so that it maintains the default behavior of
JUnit where all tests are run on the same thread. We observed some test cases in
the wild that relied on this behavior. Specifically, Robolectric tests rely on this
due to a check in `org.robolectric.shadows.ShadowLooper`.

Test Plan:
Add a test to the `RunWithDefaultTimeoutIntegrationTest` test case to exercise the fix.
Made `executor` an instance rather than a `DelegateRunnerWithTimeout` field and verified
that `RunWithDefaultTimeoutIntegrationTest#testAllTestsForRunWithAreRunOnTheSameThread()`
failed.
5 files changed
tree: 43416f2e7e8e3d6672783b42341bdd310690faab
  1. .buckconfig
  2. .classpath
  3. .gitignore
  4. .idea/
  5. .project
  6. .travis.yml
  7. DEFS
  8. LICENSE
  9. README.md
  10. bin/
  11. buck.iml
  12. build.xml
  13. config/
  14. docs/
  15. lib/
  16. plugin/
  17. pmd/
  18. scripts/
  19. src/
  20. test/
  21. testdata/
  22. 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/.

Build Status

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