MCPcopy Create free account
hub / github.com/cirquit/trdrop / sectionStarting

Method sectionStarting

ext/catch.hpp:9910–9919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9908 }
9909
9910 virtual void sectionStarting( SectionInfo const& sectionInfo ) CATCH_OVERRIDE {
9911 StreamingReporterBase::sectionStarting( sectionInfo );
9912 if( m_sectionDepth++ > 0 ) {
9913 m_xml.startElement( "Section" )
9914 .writeAttribute( "name", trim( sectionInfo.name ) )
9915 .writeAttribute( "description", sectionInfo.description );
9916 writeSourceInfo( sectionInfo.lineInfo );
9917 m_xml.ensureTagClosed();
9918 }
9919 }
9920
9921 virtual void assertionStarting( AssertionInfo const& ) CATCH_OVERRIDE { }
9922

Callers

nothing calls this directly

Calls 2

trimFunction · 0.85
ensureTagClosedMethod · 0.80

Tested by

no test coverage detected