d7c89a8dbc
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 |
||
---|---|---|
.. | ||
com/google | ||
gerrit | ||
org | ||
BUILD | ||
Main.java |