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