| 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>; |