| 8690 | m_sectionStack.pop_back(); |
| 8691 | } |
| 8692 | virtual void testCaseEnded( TestCaseStats const& testCaseStats ) CATCH_OVERRIDE { |
| 8693 | Ptr<TestCaseNode> node = new TestCaseNode( testCaseStats ); |
| 8694 | assert( m_sectionStack.size() == 0 ); |
| 8695 | node->children.push_back( m_rootSection ); |
| 8696 | m_testCases.push_back( node ); |
| 8697 | m_rootSection.reset(); |
| 8698 | |
| 8699 | assert( m_deepestSection ); |
| 8700 | m_deepestSection->stdOut = testCaseStats.stdOut; |
| 8701 | m_deepestSection->stdErr = testCaseStats.stdErr; |
| 8702 | } |
| 8703 | virtual void testGroupEnded( TestGroupStats const& testGroupStats ) CATCH_OVERRIDE { |
| 8704 | Ptr<TestGroupNode> node = new TestGroupNode( testGroupStats ); |
| 8705 | node->children.swap( m_testCases ); |