Add test coverage for NoteDbCheckers#checkersOf

It turns out this method is not yet called from non-test code.
CheckerOperationsImpl intentionally has its own implementation of
checkersOf, so that the tests in e.g. UpdateCheckerIT are depending only
on the test impl, not on the implementation of some core API code
outside of UpdateChecker.

The rest of NoteDbCheckers already has test coverage, because its other
methods are called from REST API handlers. checkersOf fell through the
cracks because we aren't exposing it directly as an API; we might expose
it via some other downstream API, but those aren't implemented yet.

Change-Id: Id547e6367726396ae33e6850580a81a4b7735b65
3 files changed
tree: 704d5811ca636fa29270c6eb2e66e9150b83871c
  1. java/
  2. javatests/
  3. src/
  4. BUILD
  5. LICENSE
  6. 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.