| 1213 | ValidatorMessages(nullptr, "invalid", "parsingerror", "validationdataerror"); |
| 1214 | |
| 1215 | void checkResponse(Context *c, const ValidatorResult &r) |
| 1216 | { |
| 1217 | if (r) { |
| 1218 | c->response()->setBody("valid"_ba); |
| 1219 | } else { |
| 1220 | c->response()->setBody(r.errorStrings().constFirst()); |
| 1221 | } |
| 1222 | } |
| 1223 | }; |
| 1224 | |
| 1225 | void TestValidator::initTestCase() |
nothing calls this directly
no test coverage detected