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

Method notIn

tests/testvalidator.cpp:910–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908 // ***** Endpoint for ValidatorNotIn ******
909 C_ATTR(notIn, :Local :AutoArgs)
910 void notIn(Context *c)
911 {
912 Validator v({new ValidatorNotIn(u"field"_s,
913 QStringList({u"eins"_s, u"zwei"_s, u"drei"_s, u"vier"_s}),
914 Qt::CaseSensitive,
915 m_validatorMessages)});
916 checkResponse(c, v.validate(c));
917 }
918
919 // ***** Endpoint for ValidatorNumeric ******
920 C_ATTR(numeric, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected