commit | 0b0a71cdf3986048a8df487f6ff27066ab7a6555 | [log] [tgz] |
---|---|---|
author | Michael Bolin <mbolin@fb.com> | Wed Oct 30 16:38:41 2013 -0700 |
committer | Michael Bolin <mbolin@fb.com> | Wed Oct 30 16:46:53 2013 -0700 |
tree | b3012fd52ed6289e34ce7269e07bbed80f75709c | |
parent | 859f47600d0787bf250c69c847fc1d805f74ac9a [diff] |
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.
Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.
To build Buck, run the following:
git clone git@github.com:facebook/buck.git cd buck ant ./bin/buck --help
Apache License 2.0