Tests for /compile route.

These test:
* That bad requests are rejected.
* Successful test runs are cached.
* Failed test runs are not cached.

I had to mock out the Dispatcher, so some changes were made in jobqueue
to make Dispatcher an interface, and expose some of the types.

Change-Id: I43da94862e8917c5cb55707d80613a391e7fb5a6
5 files changed
tree: 6f0eb1b1278f8d1cc71a5b5b6f44eddc231086f4
  1. client/
  2. go/
  3. pgbundle/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTORS
  7. LICENSE
  8. PATENTS
  9. VERSION