Use assertThrows instead of ExpectedException

This change is based on one generated by an automated refactoring tool.
See [1] for context.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/223155

Change-Id: I74b54af0d3d21fb0ea9bc679ba0bf3a5efa50aad
1 file changed
tree: 601df99d4fd625079d11348a72620539c0491d49
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. README.md
  5. gr-simple-submit-rules-label-config/
  6. gr-simple-submit-rules-repo-config/
  7. plugin.html
  8. src/
  9. tests.html
README.md

Simple Submit Rules plugin

Gerrit plugin to provide simple submit rules and a rest API to configure them.

By simple, we mean any rule that can be described in one sentence. Or fits in a tweet.

Having a set of simple rules makes composition easier, thus allowing harder rules to be defined ... in a simple way :)

Of course, this plugin can't contain all the simple rules one can think of, and will only contain rules that seem popular or interesting to have.