MCPcopy Create free account
hub / github.com/apache/trafficserver / match

Method match

lib/catch2/catch.hpp:3289–3295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3287 template<typename ArgT>
3288 struct MatchAllOf : MatcherBase<ArgT> {
3289 bool match( ArgT const& arg ) const override {
3290 for( auto matcher : m_matchers ) {
3291 if (!matcher->match(arg))
3292 return false;
3293 }
3294 return true;
3295 }
3296 std::string describe() const override {
3297 std::string description;
3298 description.reserve( 4 + m_matchers.size()*32 );

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected