MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / BySectionInfo

Class BySectionInfo

unittests/catch.hpp:3855–3866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3853 };
3854
3855 struct BySectionInfo {
3856 BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
3857 BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
3858 bool operator() (std::shared_ptr<SectionNode> const& node) const {
3859 return ((node->stats.sectionInfo.name == m_other.name) &&
3860 (node->stats.sectionInfo.lineInfo == m_other.lineInfo));
3861 }
3862 void operator=(BySectionInfo const&) = delete;
3863
3864 private:
3865 SectionInfo const& m_other;
3866 };
3867
3868 using TestCaseNode = Node<TestCaseStats, SectionNode>;
3869 using TestGroupNode = Node<TestGroupStats, TestCaseNode>;

Callers 1

sectionStartingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected