| 264 | // ***** Endpoint for ValidatorAfter with custom format ****** |
| 265 | C_ATTR(afterFormat, :Local :AutoArgs) |
| 266 | void afterFormat(Context *c) |
| 267 | { |
| 268 | Validator v({new ValidatorAfter(u"after_field"_s, |
| 269 | QDateTime::currentDateTime(), |
| 270 | QString{}, |
| 271 | "yyyy d MM HH:mm", |
| 272 | m_validatorMessages)}); |
| 273 | checkResponse(c, v.validate(c)); |
| 274 | } |
| 275 | |
| 276 | // ***** Endpoint for ValidatorAfter with invalid validation data ****** |
| 277 | C_ATTR(afterInvalidValidationData, :Local :AutoArgs) |