MCPcopy Create free account
hub / github.com/apache/thrift / testCaseStarting

Method testCaseStarting

compiler/cpp/tests/catch/catch.hpp:10095–10107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10093 }
10094
10095 virtual void testCaseStarting( TestCaseInfo const& testInfo ) CATCH_OVERRIDE {
10096 StreamingReporterBase::testCaseStarting(testInfo);
10097 m_xml.startElement( "TestCase" )
10098 .writeAttribute( "name", trim( testInfo.name ) )
10099 .writeAttribute( "description", testInfo.description )
10100 .writeAttribute( "tags", testInfo.tagsAsString );
10101
10102 writeSourceInfo( testInfo.lineInfo );
10103
10104 if ( m_config->showDurations() == ShowDurations::Always )
10105 m_testCaseTimer.start();
10106 m_xml.ensureTagClosed();
10107 }
10108
10109 virtual void sectionStarting( SectionInfo const& sectionInfo ) CATCH_OVERRIDE {
10110 StreamingReporterBase::sectionStarting( sectionInfo );

Callers

nothing calls this directly

Calls 4

trimFunction · 0.85
showDurationsMethod · 0.80
ensureTagClosedMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected