If the user-specified message to an assertion is non-null, still include the generated message.

Summary:
Previously, ProjectWorkspace.ProcessResult.assertExitCode(message, exitCode) would
not tell the user what the observed exit code was if message were non-null.
In the style of org.junit.Assert.assertEquals(message, expected, observed), if
message is non-null, it is prepended to JUnit's built-in messaging about the
inequality between expected and observed.

Test Plan: Sandcastle builds.
1 file changed
tree: c103eca521805798dc57583bed5abee184e0e12d
  1. .idea/
  2. bin/
  3. config/
  4. docs/
  5. lib/
  6. pmd/
  7. scripts/
  8. src/
  9. test/
  10. testdata/
  11. third-party/
  12. .buckconfig
  13. .classpath
  14. .gitignore
  15. .project
  16. buck.iml
  17. build.xml
  18. DEFS
  19. LICENSE
  20. README.md
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