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

Method in

tests/testvalidator.cpp:788–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786 // ***** Endpoint for ValidatorIn ******
787 C_ATTR(in, :Local :AutoArgs)
788 void in(Context *c)
789 {
790 Validator v({new ValidatorIn(u"field"_s,
791 QStringList({u"eins"_s, u"zwei"_s, u"drei"_s}),
792 Qt::CaseSensitive,
793 m_validatorMessages)});
794 checkResponse(c, v.validate(c));
795 }
796
797 // ***** Endpoint for ValidatorInteger ******
798 C_ATTR(integer, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected