Handle nulls gracefully in the JavaTestRule when reporting errors. Summary: It's possible for the rule to be null when trying to figure out whether the source under test is a java library rule. Handle this without causing buck to blow up. Test Plan: Visual inspection of the code.
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