gerrit/java
Patrick Hiesel d7c89a8dbc Make TestSubmitRule compliant with docs
The docs of TestSubmitRule say: "Tests the submit_rule Prolog rule
in the project, or the one given.". However, we were calling the
SubmitRuleEvaluator which did not adhere to this specification.

Since this endpoint is only about Prolog rules, the desired behavior is:
Use the provided rule, if present. Use rules.pl otherwise. Use the
default rules (previously in Prolog, now in Java) as fallback.

This commits changes the behavior to adhere to this specification. The
previously added tests are adapted to assert the correct behavior.

Change-Id: I4dab0a6ce8d2300633471e8403c33e1e24d3c0ba
2018-10-16 13:32:20 +02:00
..
com/google Make TestSubmitRule compliant with docs 2018-10-16 13:32:20 +02:00
gerrit Add a method to query accounts only by their external ID's email 2018-06-29 14:35:36 +00:00
org Migrate all remaining classes to Flogger 2018-06-05 13:14:12 +02:00
BUILD Dissolve gerrit-launcher top-level directory 2017-10-31 11:02:37 -04:00
Main.java Add support for logging tags 2018-08-14 08:07:59 +02:00