Query pending checks: Make is:<STATE> operators consistent

Some operators require an underscore in the state name (e.g.
'NOT_STARTED', 'NOT_RELEVANT'), while others don't accept it
('INPROGRESS'). This is because the former are mapped to the CheckState
enum, and the latter isn't. From a users perspective this difference is
not obvious. This is why we now support both forms, with and without
underscore, in all cases. This means 'NOTSTARTED', 'NOTRELEVANT' and
'IN_PROGRESS' are working now too.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ic6352306cd196751af9d6a2728433d312eb5f361
4 files changed
tree: 10dfb06cefc856f2d3ee3c22d91659a4ecc41a7a
  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.