Add test for CheckOperationsImpl

Explicitly throw an IllegalStateException when trying to retrieve a
non-existing check through the test API. This gives a better error
message and is consistent with the exception that is thrown when trying
to retrieve a non-existing checker through the test API.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Iedf30774c679080d1b7735cdadae117c0760b4da
3 files changed
tree: cf874ef1ad3b92f2f11548c9f2ec804104d268f6
  1. gr-checks/
  2. java/
  3. javatests/
  4. src/
  5. BUILD
  6. LICENSE
  7. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.