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

Method sectionStarting

compiler/cpp/tests/catch/catch.hpp:10109–10118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10107 }
10108
10109 virtual void sectionStarting( SectionInfo const& sectionInfo ) CATCH_OVERRIDE {
10110 StreamingReporterBase::sectionStarting( sectionInfo );
10111 if( m_sectionDepth++ > 0 ) {
10112 m_xml.startElement( "Section" )
10113 .writeAttribute( "name", trim( sectionInfo.name ) )
10114 .writeAttribute( "description", sectionInfo.description );
10115 writeSourceInfo( sectionInfo.lineInfo );
10116 m_xml.ensureTagClosed();
10117 }
10118 }
10119
10120 virtual void assertionStarting( AssertionInfo const& ) CATCH_OVERRIDE { }
10121

Callers

nothing calls this directly

Calls 2

trimFunction · 0.85
ensureTagClosedMethod · 0.80

Tested by

no test coverage detected