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

Method beforeInvalidValidationData

tests/testvalidator.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 // ***** Endpoint for ValidatorBefore with invalid validation data ******
413 C_ATTR(beforeInvalidValidationData, :Local :AutoArgs)
414 void beforeInvalidValidationData(Context *c)
415 {
416 Validator v({new ValidatorBefore(
417 u"before_field"_s, QDate(), QString{}, nullptr, m_validatorMessages)});
418 checkResponse(c, v.validate(c));
419 }
420
421 // ***** Endpoint for ValidatorBefore with invalid validation data 2 ******
422 C_ATTR(beforeInvalidValidationData2, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected