MCPcopy Create free account
hub / github.com/FidoProject/Fido / testCaseEnded

Method testCaseEnded

tests/catch.h:8692–8702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected