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

Method beforeTime

tests/testvalidator.cpp:381–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 // ***** Endpoint for ValidatorBefore with QTime ******
380 C_ATTR(beforeTime, :Local :AutoArgs)
381 void beforeTime(Context *c)
382 {
383 Validator v({new ValidatorBefore(
384 u"before_field"_s, QTime(12, 0), QString{}, nullptr, m_validatorMessages)});
385 checkResponse(c, v.validate(c));
386 }
387
388 // ***** Endpoint for ValidatorBefore with QDateTime ******
389 C_ATTR(beforeDateTime, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected