-
Mateusz Czapliński authored
* go: add bool arg to Validate (#47) In generated messages, modify the Validate func to take bool argument. In a later commit, this will be used to distinguish "fail on first error" mode from "extensively find as many as possible errors". Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * go: enable multi-error validation (#47) Modify the templates to allow retrieving multiple errors from a Validate func, not just stopping on the first one. Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * tests: prepare harness for multi-errors (#47) In test harness executor, add support for languages which can find multiple validation errors at once. Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * go: test multi-error validation (#47) Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * go tests: check if multi-error was returned (#47) Ensure that a non-nil response from Validate(true) always fulfills the "multi-error" interface (has AllErrors() method). Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * go tests: compare 1st msg of multi-error (#47) Compare the first message returned by Validate(true) to the one returned by Validate(false). Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * go tests: repeated TestResult.Reasons field (#74) Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com> * tests: fix TestResult.Reasons in non-Go tests (#74) After modifying the harness.proto in an earlier commit, non-Go harnesses broke and need to be adjusted. Signed-off-by: Mateusz Czapliński <mateusz.czaplinski@wpengine.com>
6ca6c537