| 5921 | m_sectionStack.pop_back(); |
| 5922 | } |
| 5923 | void testCaseEnded(TestCaseStats const& testCaseStats) override { |
| 5924 | auto node = std::make_shared<TestCaseNode>(testCaseStats); |
| 5925 | assert(m_sectionStack.size() == 0); |
| 5926 | node->children.push_back(m_rootSection); |
| 5927 | m_testCases.push_back(node); |
| 5928 | m_rootSection.reset(); |
| 5929 | |
| 5930 | assert(m_deepestSection); |
| 5931 | m_deepestSection->stdOut = testCaseStats.stdOut; |
| 5932 | m_deepestSection->stdErr = testCaseStats.stdErr; |
| 5933 | } |
| 5934 | void testGroupEnded(TestGroupStats const& testGroupStats) override { |
| 5935 | auto node = std::make_shared<TestGroupNode>(testGroupStats); |
| 5936 | node->children.swap(m_testCases); |