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

Class BySectionInfo

lib/catch2/catch.hpp:5838–5849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5836 };
5837
5838 struct BySectionInfo {
5839 BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
5840 BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
5841 bool operator() (std::shared_ptr<SectionNode> const& node) const {
5842 return ((node->stats.sectionInfo.name == m_other.name) &&
5843 (node->stats.sectionInfo.lineInfo == m_other.lineInfo));
5844 }
5845 void operator=(BySectionInfo const&) = delete;
5846
5847 private:
5848 SectionInfo const& m_other;
5849 };
5850
5851 using TestCaseNode = Node<TestCaseStats, SectionNode>;
5852 using TestGroupNode = Node<TestGroupStats, TestCaseNode>;

Callers 1

sectionStartingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected