MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / afterInvalidValidationData

Method afterInvalidValidationData

tests/testvalidator.cpp:278–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 // ***** Endpoint for ValidatorAfter with invalid validation data ******
277 C_ATTR(afterInvalidValidationData, :Local :AutoArgs)
278 void afterInvalidValidationData(Context *c)
279 {
280 Validator v({new ValidatorAfter(
281 u"after_field"_s, QDate(), QString{}, nullptr, m_validatorMessages)});
282 checkResponse(c, v.validate(c));
283 }
284
285 // ***** Endpoint for ValidatorAfter with invalid validation data 2 ******
286 C_ATTR(afterInvalidValidationData2, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected