MCPcopy Create free account
hub / github.com/apache/trafficserver / testCaseEnded

Method testCaseEnded

lib/catch2/catch.hpp:5923–5933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected