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

Method printOpenHeader

extras/catch_amalgamated.cpp:9999–10005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9997 m_stream << lineOfChars('.') << '\n';
9998}
9999void ConsoleReporter::printOpenHeader(std::string const& _name) {
10000 m_stream << lineOfChars('-') << '\n';
10001 {
10002 auto guard = m_colour->guardColour( Colour::Headers ).engage( m_stream );
10003 printHeaderString(_name);
10004 }
10005}
10006
10007void ConsoleReporter::printHeaderString(std::string const& _string, std::size_t indent) {
10008 // We want to get a bit fancy with line breaking here, so that subsequent

Callers

nothing calls this directly

Calls 4

lineOfCharsClass · 0.70
printHeaderStringFunction · 0.70
engageMethod · 0.45
guardColourMethod · 0.45

Tested by

no test coverage detected