| 3938 | m_sectionStack.pop_back(); |
| 3939 | } |
| 3940 | void testCaseEnded(TestCaseStats const& testCaseStats) override { |
| 3941 | auto node = std::make_shared<TestCaseNode>(testCaseStats); |
| 3942 | assert(m_sectionStack.size() == 0); |
| 3943 | node->children.push_back(m_rootSection); |
| 3944 | m_testCases.push_back(node); |
| 3945 | m_rootSection.reset(); |
| 3946 | |
| 3947 | assert(m_deepestSection); |
| 3948 | m_deepestSection->stdOut = testCaseStats.stdOut; |
| 3949 | m_deepestSection->stdErr = testCaseStats.stdErr; |
| 3950 | } |
| 3951 | void testGroupEnded(TestGroupStats const& testGroupStats) override { |
| 3952 | auto node = std::make_shared<TestGroupNode>(testGroupStats); |
| 3953 | node->children.swap(m_testCases); |