| 5199 | }; |
| 5200 | |
| 5201 | struct BySectionInfo { |
| 5202 | BySectionInfo( SectionInfo const& other ) : m_other( other ) {} |
| 5203 | BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {} |
| 5204 | bool operator() (std::shared_ptr<SectionNode> const& node) const { |
| 5205 | return ((node->stats.sectionInfo.name == m_other.name) && |
| 5206 | (node->stats.sectionInfo.lineInfo == m_other.lineInfo)); |
| 5207 | } |
| 5208 | void operator=(BySectionInfo const&) = delete; |
| 5209 | |
| 5210 | private: |
| 5211 | SectionInfo const& m_other; |
| 5212 | }; |
| 5213 | |
| 5214 | using TestCaseNode = Node<TestCaseStats, SectionNode>; |
| 5215 | using TestGroupNode = Node<TestGroupStats, TestCaseNode>; |