WhisperSystems/TextSecure — pull request #1622 by mcginty (2014-06-21 21:42:25+00:00)
Title: robolectric testing

So this was a major pain in the ass because of Android's tools team not wanting to make life easy for testers. Unfortunately the robolectric plugin doesn't appear to support specifying test directories outside of the default android locations, so I moved our source folders to match what Android recommends project layouts look like.

This PR is up for commentary on if this is a good idea or not, it may be too painful to justify but this seems to really be the only way to have tests that are TravisCI-friendly and don't require us to have a device plugged in.

The other option is I can submit a PR to the robolectric plugin and we can wait for that to get pulled upstream (and roll our own for the time being if we want this in quickly).