MCPcopy Create free account
hub / github.com/Profactor/cv-plot / BySectionInfo

Class BySectionInfo

CvPlot/ext/catch2/inc/catch.hpp:5770–5781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5768 };
5769
5770 struct BySectionInfo {
5771 BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
5772 BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
5773 bool operator() (std::shared_ptr<SectionNode> const& node) const {
5774 return ((node->stats.sectionInfo.name == m_other.name) &&
5775 (node->stats.sectionInfo.lineInfo == m_other.lineInfo));
5776 }
5777 void operator=(BySectionInfo const&) = delete;
5778
5779 private:
5780 SectionInfo const& m_other;
5781 };
5782
5783 using TestCaseNode = Node<TestCaseStats, SectionNode>;
5784 using TestGroupNode = Node<TestGroupStats, TestCaseNode>;

Callers 1

sectionStartingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected