gerrit/javatests
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
org/eclipse/jgit Dissolve gerrit-patch-jgit top-level directory 2017-10-31 11:02:36 -04:00