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