gerrit/javatests/com/google/gerrit/acceptance/api/change
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
..
AbandonIT.java Split off BatchAbandon from Abandon REST handler 2017-12-14 10:33:19 +01:00
BUILD Move TimeUtil into own package and let it have its own java_library 2018-09-19 14:18:35 +02:00
ChangeIT.java Reuse ReviewerAdder from ChangeInserter 2018-10-10 15:18:27 -07:00
ChangeIdIT.java Reformat all Java files with google-java-format 1.6 2018-06-06 10:26:51 +09:00
ChangeSubmitRequirementIT.java Expose the submit requirements in the Change API 2018-04-10 14:56:03 +00:00
DisablePrivateChangesIT.java Merge branch 'stable-2.15' 2018-05-08 17:03:23 +09:00
MergeListIT.java Dissolve gerrit-acceptance-tests top-level directory 2017-10-31 11:02:37 -04:00
StickyApprovalsIT.java AbstractDaemonTest: Make updating project config cleaner & safer 2018-04-18 16:03:58 +02:00
SubmitTypeRuleIT.java Make TestSubmitRule compliant with docs 2018-10-16 13:32:20 +02:00