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

Method beforeInvalidValidationData2

tests/testvalidator.cpp:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421 // ***** Endpoint for ValidatorBefore with invalid validation data 2 ******
422 C_ATTR(beforeInvalidValidationData2, :Local :AutoArgs)
423 void beforeInvalidValidationData2(Context *c)
424 {
425 Validator v({new ValidatorBefore(
426 u"before_field"_s, u"schiet"_s, QString{}, nullptr, m_validatorMessages)});
427 checkResponse(c, v.validate(c));
428 }
429
430 // ***** Endpoint for ValidatorBefore with time zone *****
431 C_ATTR(beforeValidWithTimeZone, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected