MCPcopy Create free account
hub / github.com/catchorg/Catch2 / Section

Method Section

extras/catch_amalgamated.cpp:6789–6798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6787namespace Catch {
6788
6789 Section::Section( SectionInfo&& info ):
6790 m_info( CATCH_MOVE( info ) ),
6791 m_sectionIncluded(
6792 getResultCapture().sectionStarted( m_info.name, m_info.lineInfo, m_assertions ) ) {
6793 // Non-"included" sections will not use the timing information
6794 // anyway, so don't bother with the potential syscall.
6795 if (m_sectionIncluded) {
6796 m_timer.start();
6797 }
6798 }
6799
6800 Section::Section( SourceLineInfo const& _lineInfo,
6801 StringRef _name,

Callers

nothing calls this directly

Calls 2

sectionStartedMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected