commit | 28e193d7cb6f094c986a2321b3c8366445297a4f | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Thu May 02 11:33:40 2019 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu May 02 11:34:20 2019 -0700 |
tree | 601df99d4fd625079d11348a72620539c0491d49 | |
parent | b15631f0729bdb48a0f9f494c2a4070728661bf4 [diff] |
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
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.