Replace TestChecker with plain old Checker

In core Gerrit, we use test types like TestAccount because the
corresponding core types are, for historical reasons, mutable and
otherwise problematic. In the checker APIs, we've been using nice
AutoValue classes from the start. TestChecker contains exactly the same
set of fields as Checker, and we don't envision that changing, so just
get rid of the extra boilerplate. This reduces the work required to add
a new field to Checker.

Leave TestCheckerUpdate, since that contains methods tailored to what is
needed for tests, which is not the same as what's needed elsewhere.

Change-Id: I24b012c2dacbee8556be3a9597a1697bee494661
6 files changed
tree: ad6ae93d2c09f7d84f6d2d35b561d430a9555865
  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.