| 1198 | // ******* Endpoint for async validator tests |
| 1199 | C_ATTR(asyncTest, :Local :AutoArgs) |
| 1200 | CoroContext asyncTest(Context *c) |
| 1201 | { |
| 1202 | Validator v({new ValidatorAfter( |
| 1203 | u"after_field"_s, QDate::currentDate(), {}, nullptr, m_validatorMessages), |
| 1204 | new ValidatorAccepted(u"accepted_field"_s, m_validatorMessages), |
| 1205 | new ValidatorDomain( |
| 1206 | u"domain_field"_s, ValidatorDomain::CheckARecord, m_validatorMessages)}); |
| 1207 | auto vr = co_await v.coValidate(c); |
| 1208 | checkResponse(c, vr); |
| 1209 | } |
| 1210 | |
| 1211 | private: |
| 1212 | ValidatorMessages m_validatorMessages = |
nothing calls this directly
no test coverage detected