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

Method afterInvalidValidationData2

tests/testvalidator.cpp:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 // ***** Endpoint for ValidatorAfter with invalid validation data 2 ******
286 C_ATTR(afterInvalidValidationData2, :Local :AutoArgs)
287 void afterInvalidValidationData2(Context *c)
288 {
289 Validator v({new ValidatorAfter(
290 u"after_field"_s, u"schiet"_s, QString{}, nullptr, m_validatorMessages)});
291 checkResponse(c, v.validate(c));
292 }
293
294 // ***** Endpoint for ValidatorAfter with time zone *****
295 C_ATTR(afterValidWithTimeZone, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected